/* Odoo TMS Landing Page Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

:root {
    --noomina-green-dark: #0f3d2e;
    --noomina-green-main: #1f7a5a;
    --noomina-green-accent: #2fbf71;
    --noomina-green-soft: #f1faf5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar Styles */
.navbar {
    background: var(--noomina-green-dark);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.nav-brand .logo {
    font-size: 2rem;
}

.nav-brand h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.8;
}

.btn-demo {
    background: white;
    color: var(--noomina-green-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--noomina-green-dark), var(--noomina-green-main));
    color: white;
    padding: 150px 0 100px;
    margin-top: 70px;
}

.header .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.header-content {
    flex: 1;
}

.header-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.header-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.header-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: var(--noomina-green-accent);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.header-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

#tmsCarousel {
    max-width: 600px;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#tmsCarousel .carousel-item img {
    height: 400px;
    object-fit: cover;
}

#tmsCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
}

#tmsCarousel .carousel-indicators button.active {
    background-color: var(--noomina-green-accent);
}

#tmsCarousel .carousel-control-prev-icon,
#tmsCarousel .carousel-control-next-icon {
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #2d3748;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #718096;
    margin-bottom: 3rem;
}

/* Features Section */
.features {
    background: var(--noomina-green-soft);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.feature-description {
    color: #718096;
    line-height: 1.7;
}

/* Process Diagram Section */
.process-diagram {
    background: white;
    padding: 80px 0;
}

.diagram-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.diagram-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.diagram-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

/* Team Section */
.team {
    background: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: #f7fafc;
    transition: transform 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-photo {
    margin-bottom: 1.5rem;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--noomina-green-accent);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    font-weight: 700;
}

.team-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.team-role {
    color: var(--noomina-green-main);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-description {
    color: #718096;
}

/* Videos Section */
.videos {
    background: var(--noomina-green-soft);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    padding-bottom:  0px;
    background: var(--noomina-green-dark);
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-icon {
    font-size: 4rem;
    color: white;
    opacity: 0.9;
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
}

.video-info {
    padding: 1.5rem;
}

.video-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.video-link {
    color: var(--noomina-green-main);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;
}

.video-link:hover {
    opacity: 0.8;
}

/* Demo Section */
.demo {
    background: linear-gradient(135deg, var(--noomina-green-dark), var(--noomina-green-main));
    color: white;
}

.demo-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.demo-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.demo-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.demo-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--noomina-green-accent);
}

.btn-large {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
}

/* Footer */
.footer {
    background: #123b2f;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand .logo {
    font-size: 2rem;
}

.footer-brand h3 {
    margin: 1rem 0 0.5rem;
}

.footer-brand p {
    opacity: 0.8;
}

.footer-links h4,
.footer-contact h4,
.footer-posts h4 {
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer .footer-posts ul,
.footer .footer-posts li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.footer .footer-posts li {
    margin-bottom: 0.5rem !important;
}

.footer .footer-posts li::marker,
.footer .footer-posts li::before {
    content: none !important;
    display: none !important;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer .footer-posts a,
.footer .footer-posts a:link,
.footer .footer-posts a:visited,
.footer .footer-posts a:hover,
.footer .footer-posts a:focus,
.footer .footer-posts a:active {
    color: #ffffff !important;
    text-decoration: none !important;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer .footer-posts a:hover {
    opacity: 1;
}

.footer-contact p {
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Blog Page */
.blog-hero {
    margin-top: 70px;
    padding: 90px 0 70px;
    background: linear-gradient(rgba(15, 61, 46, 0.55), rgba(15, 61, 46, 0.55)),
        radial-gradient(circle at 20% 30%, rgba(47, 191, 113, 0.35), transparent 55%),
        linear-gradient(135deg, var(--noomina-green-dark), var(--noomina-green-main));
    color: white;
}

.blog-hero-inner {
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}

.blog-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.blog-hero p {
    font-size: 1.15rem;
    opacity: 0.95;
}

.blog-page {
    background: #f7fafc;
    padding: 36px 0 80px;
}

.blog-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.blog-chip {
    text-decoration: none;
    color: #4a5568;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.blog-chip:hover,
.blog-chip.active {
    background: var(--noomina-green-accent);
    color: white;
    border-color: var(--noomina-green-accent);
}

.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 28px;
}

.blog-layout.no-sidebar {
    grid-template-columns: 1fr;
}

.blog-main-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.blog-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(15, 61, 46, 0.08);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.blog-card-image {
    height: 210px;
    background: linear-gradient(135deg, #d0e8dd, #9fd3bc);
    position: relative;
}

.blog-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-card-image-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 25%, rgba(255, 255, 255, 0.5), transparent 45%);
}

.blog-card-body {
    padding: 18px 20px 12px;
}

.blog-meta {
    font-size: 0.82rem;
    color: #718096;
    margin-bottom: 8px;
}

.blog-card-title {
    font-size: 1.5rem;
    line-height: 1.2;
    color: #1a202c;
    margin-bottom: 10px;
}

.blog-card-desc {
    color: #4a5568;
    font-size: 0.97rem;
    margin: 0;
}

.blog-card-footer {
    padding: 12px 20px 18px;
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.blog-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--noomina-green-main);
    font-weight: 700;
}

.blog-keywords {
    color: #718096;
    font-size: 0.78rem;
    text-align: right;
    margin-left: 8px;
}

.blog-read-more {
    text-decoration: none;
    background: var(--noomina-green-main);
    color: white;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 20px;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.blog-read-more:hover {
    color: white;
    background: var(--noomina-green-dark);
}

.blog-sidebar {
    background: white;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(15, 61, 46, 0.08);
    padding: 20px;
    height: fit-content;
}

.blog-sidebar h3 {
    margin-bottom: 16px;
    font-size: 1.2rem;
    color: #1a202c;
}

.blog-detail-card {
    background: white;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(15, 61, 46, 0.08);
    overflow: hidden;
}

.blog-detail-image {
    height: 320px;
}

.blog-detail-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-detail-body {
    padding: 34px 24px 24px;
}

.blog-back-link {
    text-decoration: none;
    color: var(--noomina-green-main);
    font-weight: 600;
    display: inline-block;
    margin-top: 18px;
    margin-bottom: 8px;
}

.blog-detail-title {
    font-size: 2rem;
    line-height: 1.2;
    margin: 14px 0 10px;
    color: #1a202c;
}

.blog-detail-content {
    color: #2d3748;
    line-height: 1.8;
    margin-top: 16px;
}

.blog-detail-keywords {
    margin-top: 16px;
    color: #4a5568;
}

.latest-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
}

.latest-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 12px;
}

.latest-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.latest-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--noomina-green-accent);
    margin-top: 5px;
    flex-shrink: 0;
}

.latest-thumb {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    margin-top: 2px;
}

.latest-category {
    color: #718096;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin: 0 0 4px;
}

.latest-title {
    color: #1a202c;
    font-weight: 600;
    font-size: 0.94rem;
    line-height: 1.3;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .header-title {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    #tmsCarousel .carousel-item img {
        height: 300px;
    }
    
    .diagram-image {
        border-radius: 10px;
    }
    
    .features-grid,
    .team-grid,
    .videos-grid {
        grid-template-columns: 1fr;
    }

    .blog-hero {
        padding: 70px 0 50px;
    }

    .blog-hero h1 {
        font-size: 2.2rem;
    }

    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-detail-image {
        height: 220px;
    }
}
