* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    font-weight: 400;
    font-feature-settings: 'kern' 1, 'liga' 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Helpdesk Login Button */
.helpdesk-button {
    background: linear-gradient(135deg, #0ea5e9 0%, #8b5cf6 100%);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    flex-shrink: 0;
    height: 34px;
    box-sizing: border-box;
}

.helpdesk-button:hover {
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.5);
    color: white;
    filter: brightness(1.15);
}

.helpdesk-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* BlueTrak Sales Login Button */
.crm-button {
    background: linear-gradient(135deg, #0ea5e9 0%, #8b5cf6 100%);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    flex-shrink: 0;
    border: none;
    cursor: pointer;
    height: 34px;
    box-sizing: border-box;
}

.crm-button:hover {
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.5);
    color: white;
    filter: brightness(1.15);
}

.crm-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Contact Bar */
.contact-bar {
    background: transparent;
    color: white;
    padding: 0.6rem 0 0.5rem 0;
    font-size: 0.85rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1002;
    transition: transform 0.3s ease;
    transform: translateY(0);
    overflow: visible;
}

.contact-bar.hidden {
    transform: translateY(-100%);
}


.contact-bar-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    padding: 0 1rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.contact-bar-container::-webkit-scrollbar {
    display: none;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.contact-item:hover {
    color: white;
}

.contact-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

/* Facebook Button */
.facebook-button {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #0ea5e9 0%, #8b5cf6 100%);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    height: 34px;
    box-sizing: border-box;
}

.facebook-button:hover {
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.5);
    color: white;
    filter: brightness(1.15);
}

.facebook-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Network Status Button */
.network-status-button {
    background: #6b7280;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    transition: filter 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    flex-shrink: 0;
    border: none;
    cursor: pointer;
    height: 34px;
    box-sizing: border-box;
}

.network-status-button:hover {
    filter: brightness(1.15);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.5);
    transform: none;
}

.network-status-button .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
    animation: pulse-dot 2s infinite;
}

.network-status-button.status-operational { background: #28a745; }
.network-status-button.status-degraded,
.network-status-button.status-partial,
.network-status-button.status-maintenance { background: #fd7e14; }
.network-status-button.status-major { background: #dc3545; }

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.network-status-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Navigation - Bubble Style */
#navbar {
    position: fixed;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    backdrop-filter: blur(15px);
    z-index: 1001;
    padding: 0.8rem 2rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid #1e3c72;
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: calc(100vw - 2rem);
    width: auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: #1e3c72;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    transform: translateY(-1px);
}

.nav-logo .logo-img {
    height: 60px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    transition: all 0.3s ease;
    display: block;
}

.nav-logo:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #1e3c72;
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
}

#navbar.contact-bar-hidden {
    top: 15px;
}

#navbar.hidden {
    transform: translateX(-50%) translateY(-200%);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links li a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.7rem 1.2rem;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 6px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1e3c72;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-links li a:hover {
    color: #1e3c72;
}

.nav-links li a:hover::after {
    width: 100%;
}

/* Active menu item */
.nav-links li a.active::after {
    width: 100%;
}


/* Dropdown Menu */
.dropdown {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-radius: 8px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    border: 2px solid #1e3c72;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(10px);
    transition: all 0.4s ease;
    z-index: 1000;
    overflow: hidden;
}

.nav-links li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content {
    padding: 1rem 0;
}

.dropdown-content a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-radius: 0;
    position: relative;
    border-left: 3px solid transparent;
    letter-spacing: -0.005em;
}

.dropdown-content a::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #1e3c72;
    transition: width 0.3s ease;
}

.dropdown-content a::after {
    display: none;
}

.dropdown-content a:hover {
    background: rgba(30, 60, 114, 0.08);
    color: #1e3c72;
    transform: translateX(8px);
    border-left: 3px solid transparent;
    padding-left: 2.5rem;
}

.dropdown-content a:hover::before {
    width: 20px;
}

/* Hero Slideshow */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    padding-top: 140px;
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #1e3c72;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1e3c72;
    animation: slowZoom 12s ease-in-out infinite;
}

.slide.active {
    opacity: 1;
}

/* Hero slideshow backgrounds with actual images */
.slide:nth-child(1) {
    background-image: linear-gradient(rgba(30, 60, 114, 0.6), rgba(42, 82, 152, 0.6)),
                      url('../images/hero/banner1.webp');
}

.slide:nth-child(2) {
    background-image: linear-gradient(rgba(30, 60, 114, 0.6), rgba(42, 82, 152, 0.6)),
                      url('../images/hero/banner2.webp');
}

.slide:nth-child(3) {
    background-image: linear-gradient(rgba(30, 60, 114, 0.6), rgba(42, 82, 152, 0.6)),
                      url('../images/hero/banner3.webp');
}

.slide:nth-child(4) {
    background-image: linear-gradient(rgba(30, 60, 114, 0.6), rgba(42, 82, 152, 0.6)),
                      url('../images/hero/banner4.webp');
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Slideshow Navigation Dots */
.slideshow-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.nav-dot.active {
    background: white;
    transform: scale(1.1);
}

.hero-content {
    z-index: 2;
    max-width: 1200px;
    padding: 0 2rem;
    position: relative;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 1.2s ease-out 0.3s forwards;
    letter-spacing: -0.02em;
    line-height: 1.1;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUpText 1.2s ease-out 0.6s forwards;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.01em;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

/* HERO BUTTON - CUSTOM STYLING */
#explore-products-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: transparent;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid white;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    opacity: 0;
    animation: slideInFromRight 1.2s ease-out 0.9s forwards;
    transition: all 0.3s ease, opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
    letter-spacing: -0.01em;
}

#explore-products-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: white;
    transition: transform 0.4s ease;
    z-index: -1;
    transform: scaleY(0);
    transform-origin: top;
}

#explore-products-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: white;
    transition: transform 0.4s ease;
    z-index: -1;
    transform: scaleY(0);
    transform-origin: bottom;
}

#explore-products-btn:hover {
    color: #1e3c72;
    border-color: white;
    transform: translateY(-2px);
}

#explore-products-btn:hover::before {
    transform: scaleY(1);
}

#explore-products-btn:hover::after {
    transform: scaleY(1);
}

/* Services Grid */
.services {
    padding: 6rem 2rem;
    background: #f8fafc;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
    position: relative;
}

.section-title-text {
    position: relative;
    display: inline-block;
    z-index: 2;
}

.section-title-highlight {
    background: linear-gradient(135deg, #0d2137 0%, #1e3c72 50%, #2a5298 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    position: relative;
}

.section-title-text::before,
.section-title-text::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 200px;
    height: 2px;
    transform: translateY(-50%);
}

.section-title-text::before {
    left: -220px;
    background: linear-gradient(90deg, transparent 0%, #1e3c72 100%);
}

.section-title-text::after {
    right: -220px;
    background: linear-gradient(90deg, #1e3c72 0%, transparent 100%);
}

.section-title-text {
    position: relative;
    display: inline-block;
    z-index: 2;
}

.section-title-highlight {
    background: linear-gradient(135deg, #0d2137 0%, #1e3c72 50%, #2a5298 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    position: relative;
}

.section-title-text::before,
.section-title-text::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 200px;
    height: 2px;
    transform: translateY(-50%);
}

.section-title-text::before {
    left: -205px;
    background: linear-gradient(90deg, transparent 0%, #1e3c72 100%);
}

.section-title-text::after {
    right: -205px;
    background: linear-gradient(90deg, #1e3c72 0%, transparent 100%);
}

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

.service-card {
    background: #1e3c72;
    border-radius: 15px;
    padding: 2rem;
    min-height: 320px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.3);
    z-index: 2;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle 200px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 3;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-card:hover .service-card-image img {
    transform: none;
}

@keyframes cardBounce {
    0% { transform: translateY(0); }
    20% { transform: translateY(-8px); }
    40% { transform: translateY(-4px); }
    60% { transform: translateY(-6px); }
    80% { transform: translateY(-2px); }
    100% { transform: none; }
}

.service-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.service-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, #1e3c72 0%, rgba(30, 60, 114, 0.8) 40%, transparent 100%);
    pointer-events: none;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: transparent !important;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 auto 1.5rem auto;
    color: white !important;
    font-size: 1.5rem;
}

.service-card h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 1.3rem;
    font-weight: 600;
    padding: 1rem;
    margin: 0;
    color: white !important;
    letter-spacing: -0.01em;
    line-height: 1.3;
    background: transparent;
    text-align: center;
    z-index: 1;
}

.service-card p {
    display: none;
}

/* About Section with ANIMATED STATS */
.about {
    padding: 6rem 2rem;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    font-weight: 400;
    line-height: 1.6;
}

/* ANIMATED BOUNCING STATS BLOCKS */
.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    justify-items: center;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.bounce-stat-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    width: 100%;
    padding: 2.5rem 2rem;
    padding-top: 3rem;
    min-height: 220px;
    min-width: 0;
    background: linear-gradient(145deg, #2a5298 0%, #1e3c72 100%);
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(30, 60, 114, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.1);
    /* Initial state - hidden and positioned to the right */
    opacity: 0;
    transform: translateX(100px);
}

.bounce-stat-block.fade-in-right:nth-child(1) {
    animation: fadeInFromRight 1.4s cubic-bezier(0.23, 1, 0.32, 1) forwards, floatOnWater1 3s ease-in-out infinite 1.5s;
}
.bounce-stat-block.fade-in-right:nth-child(2) {
    animation: fadeInFromRight 1.4s cubic-bezier(0.23, 1, 0.32, 1) forwards, floatOnWater2 3.5s ease-in-out infinite 1.7s;
    min-width: 280px;
    padding: 2.5rem 2.5rem;
}
.bounce-stat-block.fade-in-right:nth-child(3) {
    animation: fadeInFromRight 1.4s cubic-bezier(0.23, 1, 0.32, 1) forwards, floatOnWater3 2.8s ease-in-out infinite 1.6s;
}
.bounce-stat-block.fade-in-right:nth-child(4) {
    animation: fadeInFromRight 1.4s cubic-bezier(0.23, 1, 0.32, 1) forwards, floatOnWater4 3.2s ease-in-out infinite 1.8s;
}

/* Certification Logos Section */
.certification-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.cert-logo {
    width: 113px;
    height: 113px;
    background: transparent;
    border-radius: 12px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.cert-logo:hover {
    transform: none;
    box-shadow: none;
}

.cert-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cert-logo-cidb {
    width: 125px;
    height: 125px;
    background: white;
    border-radius: 12px;
    padding: 10px;
}

.bounce-stat-block:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(30, 60, 114, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation-play-state: paused;
    background: linear-gradient(145deg, #3462ad 0%, #2447a0 100%);
}


.count-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 140px;
    min-height: 80px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1;
    background: rgba(255, 255, 255, 0.15);
    padding: 1rem 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    white-space: nowrap;
}

.count-prefix,
.count-suffix {
    font-size: 1.8rem;
    font-weight: 700;
}

.count-value {
    font-size: 2.5rem;
    font-weight: inherit;
}

.count-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

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

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

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

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

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

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

@keyframes numberReveal {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Animation states and keyframes for fade in from right */
/* Individual card animations are defined in nth-child rules above */

@keyframes fadeInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.count-number.animating {
    animation: numberReveal 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.about-image {
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    border-radius: 20px;
    height: 400px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
}

.about-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    filter: brightness(0.8);
    transition: all 0.4s ease;
    transform: translateY(0);
}

.about-image:hover .about-main-image {
    filter: brightness(1);
    transform: none;
}

.about-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(30, 60, 114, 0.3);
}

/* Contact Form Section */
.contact-form-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    position: relative;
    overflow: hidden;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contact-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="0.5" fill="rgba(30,60,114,0.05)"/><circle cx="75" cy="75" r="0.8" fill="rgba(30,60,114,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23contact-grain)"/></svg>');
    opacity: 0.5;
}

.contact-form-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-form-header {
    text-align: center;
    margin-bottom: 4rem;
}

.header-blue-bar {
    background: linear-gradient(135deg, #0d2137 0%, #1e3c72 50%, #2a5298 100%);
    padding: 2rem 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    position: relative;
    text-align: center;
}

.header-blue-bar h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white !important;
    margin-bottom: 0;
    letter-spacing: -0.02em;
}

.contact-form-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.contact-form-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    background: linear-gradient(180deg, #1e3c72 0%, #4a7cc9 100%);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(30, 60, 114, 0.5), 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(30, 60, 114, 0.1);
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateX(5px);
}

.contact-info-icon {
    width: 45px;
    height: 45px;
    background: transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #1e3c72;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-weight: 600;
    color: white;
    margin-bottom: 0.3rem;
}

.contact-info-text p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.contact-form {
    background: linear-gradient(180deg, #1e3c72 0%, #4a7cc9 100%);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(30, 60, 114, 0.5), 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(30, 60, 114, 0.1);
}

.contact-form h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
    margin-bottom: 2rem;
    text-align: center;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: white;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    transition: all 0.3s ease;
    background: #fafbfc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e3c72;
    background: white;
    box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 1.2rem 2rem;
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: white;
    transition: transform 0.4s ease;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
}

.submit-btn::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: white;
    transition: transform 0.4s ease;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
}

.submit-btn:hover {
    color: #1e3c72;
    border-color: white;
    transform: translateY(-2px);
}

.submit-btn:hover::before {
    transform: scaleX(1);
}

.submit-btn:hover::after {
    transform: scaleX(1);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Honeypot Field - Hidden from humans, visible to bots */
.honeypot-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* Math CAPTCHA Styling */
.captcha-group {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.2rem;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.captcha-question {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    background: rgba(30, 60, 114, 0.6);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    min-width: 100px;
    text-align: center;
}

.captcha-equals {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.captcha-input {
    width: 80px !important;
    padding: 0.75rem 1rem !important;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    text-align: center !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 8px !important;
    background: white !important;
}

.captcha-input:focus {
    border-color: #1e3c72 !important;
    box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.2) !important;
}

/* Remove number input spinners for CAPTCHA */
.captcha-input::-webkit-outer-spin-button,
.captcha-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.captcha-input[type=number] {
    -moz-appearance: textfield;
}

/* Footer */
footer {
    background: #1e3c72;
    color: white;
    padding: 3rem 2rem 1rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    background: white;
    padding: 12px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    line-height: 1.8;
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s ease, font-weight 0.3s ease;
}

.footer-section a:hover {
    color: #4a7cc9 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #2a5298;
    color: #ccc;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUpText {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Placeholder - animations moved to end of file */

/* Responsive Design */

/* Hide button text when viewport gets tight */
@media (max-width: 1280px) {
    .helpdesk-button .btn-text,
    .crm-button .btn-text,
    .facebook-button .btn-text,
    .network-status-button .btn-text {
        display: none;
    }

    .helpdesk-button,
    .crm-button,
    .facebook-button,
    .network-status-button {
        padding: 0.4rem 0.6rem;
    }
}

@media (max-width: 1024px) {
    .contact-bar {
        padding: 0.5rem 0;
    }

    .contact-bar-container {
        gap: 1rem;
        padding: 0 0.75rem;
    }

    #navbar {
        padding: 0.7rem 1.5rem;
        top: 55px;
        gap: 1rem;
    }

    .nav-logo .logo-img {
        height: 40px;
        max-width: 180px;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links li a {
        font-size: 0.9rem;
        padding: 0.5rem 0.8rem;
    }
}

@media (max-width: 1200px) {
    .stats-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
    .bounce-stat-block {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 1024px) {
    .stats-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-bar {
        padding: 0.4rem 0;
    }

    .contact-bar-container {
        gap: 0.5rem;
        padding: 0 1rem;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    /* Reorder elements: buttons first, then address */
    .contact-bar-container .helpdesk-button {
        order: 1;
    }
    .contact-bar-container .crm-button {
        order: 2;
    }
    .contact-bar-container .facebook-button {
        order: 3;
    }
    .contact-bar-container .network-status-button {
        order: 4;
    }
    .contact-bar-container div.contact-item {
        order: 5;
    }
    .contact-bar-container a.contact-item {
        order: 10;
    }

    /* Uniform button sizing on mobile */
    .contact-bar-container .helpdesk-button,
    .contact-bar-container .crm-button,
    .contact-bar-container .facebook-button,
    .contact-bar-container .network-status-button {
        padding: 0.35rem 0.6rem;
        font-size: 0.75rem;
        flex-shrink: 0;
    }

    .contact-bar-container .helpdesk-button .btn-text,
    .contact-bar-container .crm-button .btn-text,
    .contact-bar-container .facebook-button .btn-text,
    .contact-bar-container .network-status-button .btn-text {
        display: none;
    }

    .contact-bar-container .helpdesk-icon,
    .contact-bar-container .crm-icon,
    .contact-bar-container .facebook-icon,
    .contact-bar-container .network-status-icon {
        width: 16px;
        height: 16px;
    }

    /* Hide all contact items on mobile - just show buttons */
    .contact-bar-container .contact-item {
        display: none !important;
    }

    #navbar {
        top: 55px;
        left: 0.5rem;
        right: 0.5rem;
        transform: none;
        width: calc(100% - 1rem);
        padding: 0.6rem 1rem;
        border-radius: 15px;
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .nav-logo {
        order: 1;
        flex: 0 0 auto;
    }
    
    .nav-logo .logo-img {
        height: 35px;
        max-width: 150px;
    }
    
    .logo-text {
        font-size: 0.9rem;
    }

    #navbar.hidden {
        transform: translateY(-200%);
    }

    .nav-links {
        order: 2;
        gap: 0.3rem;
        flex-wrap: wrap;
        justify-content: flex-start;
        width: 100%;
    }

    .nav-links li a {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
        border-radius: 8px;
    }

    .dropdown {
        position: static;
        transform: none;
        margin-top: 0.5rem;
        min-width: 200px;
        border-radius: 15px;
    }

    .nav-links li:hover .dropdown {
        transform: none;
    }

    .dropdown-content {
        padding: 0.5rem 0;
    }

    .dropdown-content a {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .dropdown-content a:hover {
        transform: translateX(5px);
        padding-left: 1.3rem;
    }

    .hero {
        padding-top: 180px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        margin-top: 2rem;
    }

    .bounce-stat-block {
        padding: 2.5rem 1.5rem;
    }

    .count-number {
        font-size: 3rem;
    }

    .count-label {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-title-text::before,
    .section-title-text::after {
        width: 120px;
    }

    .section-title-text::before {
        left: -125px;
    }

    .section-title-text::after {
        right: -125px;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .slideshow-nav {
        bottom: 20px;
        gap: 10px;
    }

    .nav-dot {
        width: 10px;
        height: 10px;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-section {
        padding: 4rem 1rem;
    }

    .contact-form-container {
        max-width: 100%;
    }

    .contact-form,
    .contact-info {
        padding: 2rem 1.5rem;
        max-width: 100%;
        overflow: hidden;
    }

    .contact-form-header h2 {
        font-size: 2rem;
    }

    .contact-form-header p {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-info-item {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    /* Contact form section mobile fixes */
    .contact-form-section {
        padding: 3rem 0.5rem;
    }

    .contact-form,
    .contact-info {
        padding: 1.5rem 1rem;
        border-radius: 14px;
    }

    .contact-form h3,
    .contact-info h3 {
        font-size: 1.4rem;
    }

    .contact-form-header {
        margin-bottom: 2rem;
    }

    .contact-form-header h2 {
        font-size: 1.6rem;
    }

    .contact-form-header p {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .contact-info-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .contact-info-icon {
        width: 36px;
        height: 36px;
    }

    .contact-bar {
        padding: 0.3rem 0;
    }

    .contact-bar-container {
        gap: 0.4rem;
        padding: 0 0.75rem;
        font-size: 0.75rem;
        flex-direction: row;
        flex-wrap: nowrap;
    }

    /* Keep buttons as icons only on small screens */
    .contact-bar-container .helpdesk-button,
    .contact-bar-container .crm-button,
    .contact-bar-container .facebook-button,
    .contact-bar-container .network-status-button {
        padding: 0.3rem 0.5rem;
    }

    .contact-bar-container .helpdesk-icon,
    .contact-bar-container .crm-icon,
    .contact-bar-container .facebook-icon,
    .contact-bar-container .network-status-icon {
        width: 14px;
        height: 14px;
    }

    /* Hide contact items on small screens */
    .contact-bar-container .contact-item {
        display: none !important;
    }
    
    #navbar {
        top: 45px;
        left: 0.25rem;
        right: 0.25rem;
        width: calc(100% - 0.5rem);
        padding: 0.5rem 0.75rem;
        border-radius: 12px;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-logo .logo-img {
        height: 30px;
        max-width: 120px;
    }
    
    .logo-text {
        font-size: 0.85rem;
    }
    
    .nav-links {
        gap: 0.25rem;
        justify-content: flex-start;
    }
    
    .nav-links li a {
        font-size: 0.75rem;
        padding: 0.3rem 0.5rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bounce-stat-block {
        padding: 2.5rem 1.5rem;
    }

    .count-number {
        font-size: 3.5rem;
    }
}

/* Supplier Carousel */
.supplier-carousel-section {
    padding: 4rem 2rem 2rem;
    background: transparent;
    overflow: hidden;
}

.carousel-header,
.contact-header {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.8rem;
    font-weight: 600;
    color: #1f2937;
    position: relative;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.carousel-header-text,
.contact-header-text {
    position: relative;
    display: inline-block;
    z-index: 2;
}

.carousel-title-highlight,
.contact-title-highlight {
    background: linear-gradient(135deg, #0d2137 0%, #1e3c72 50%, #2a5298 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    position: relative;
}

.carousel-header-text::before,
.carousel-header-text::after,
.contact-header-text::before,
.contact-header-text::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 200px;
    height: 2px;
    transform: translateY(-50%);
}

.carousel-header-text::before,
.contact-header-text::before {
    left: -205px;
    background: linear-gradient(90deg, transparent 0%, #1e3c72 100%);
}

.carousel-header-text::after,
.contact-header-text::after {
    right: -205px;
    background: linear-gradient(90deg, #1e3c72 0%, transparent 100%);
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
    -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.carousel-track {
    display: flex;
    gap: 3rem;
    animation: scroll 120s linear infinite reverse;
    width: max-content;
}

.supplier-logo {
    flex-shrink: 0;
    width: 200px;
    height: 120px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: all 0.3s ease;
    position: relative;
    padding: 20px;
}

.logo-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: 120px;
    object-fit: contain;
    filter: grayscale(0.2);
    transition: all 0.3s ease;
    background: transparent;
    display: block;
}

.supplier-logo:hover .logo-img {
    filter: grayscale(0);
    transform: scale(1.05);
}

/* Special handling for different image formats */
.logo-img[src$='.webp'],
.logo-img[src$='.jpg'],
.logo-img[src$='.jpeg'],
.logo-img[src$='.png'] {
    background: transparent;
}

/* SVG specific styling */
.logo-img[src$='.svg'] {
    background: transparent;
    fill: currentColor;
}

/* Ensure all logos maintain aspect ratio */
.supplier-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 140px;
    padding: 10px;
}

/* Company Organogram Styles */
.organogram-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem;
    background: transparent;
}

.circuit-board {
    width: 100%;
    height: auto;
    min-height: 3200px;
    background: transparent;
}

.circuit-path {
    stroke-dasharray: 5, 5;
    stroke-linecap: round;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.circuit-path:hover {
    opacity: 1;
    stroke-width: 4;
}

.data-orb {
    opacity: 0.9;
    transform-origin: center;
}

.org-card {
    position: absolute;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
}

.org-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: #0066cc;
}

.org-card.director {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 3px solid #4f46e5;
}

.org-card.director:hover {
    border-color: #3b82f6;
    box-shadow: 0 25px 50px rgba(79, 70, 229, 0.3);
}

.org-card.manager {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    border: 3px solid #059669;
}

.org-card.manager:hover {
    border-color: #10b981;
    box-shadow: 0 25px 50px rgba(5, 150, 105, 0.3);
}

.org-card.staff {
    background: linear-gradient(135deg, #2196f3 0%, #21cbf3 100%);
    color: white;
    border: 3px solid #0ea5e9;
}

.org-card.staff:hover {
    border-color: #38bdf8;
    box-shadow: 0 25px 50px rgba(14, 165, 233, 0.3);
}

.org-card.department {
    background: linear-gradient(135deg, #0d2137 0%, #1e3c72 50%, #2a5298 100%);
    color: white;
    border: 3px solid #1e3c72;
    min-width: 250px;
}

.org-card.department:hover {
    border-color: #4a90d9;
    box-shadow: 0 25px 50px rgba(30, 60, 114, 0.3);
}

.card-avatar {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 1rem;
}

.avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.card-content {
    text-align: center;
}

.card-content h3 {
    color: white !important;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
}

.card-content .position {
    margin: 0 0 0.3rem 0;
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

.card-content .department {
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 400;
}

/* Circuit Board Animation Enhancements */
@keyframes pulse-glow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.data-orb {
    animation: pulse-glow 2s ease-in-out infinite;
}

.orb-1 { animation-delay: 0s; }
.orb-2 { animation-delay: 0.7s; }
.orb-3 { animation-delay: 1.4s; }

/* Responsive Design */
@media (max-width: 1024px) {
    .organogram-wrapper {
        padding: 1.5rem;
        margin: 2rem auto;
    }
    
    .org-card {
        min-width: 160px;
        padding: 1.2rem;
    }
    
    .card-content h3 {
    color: white !important;
        font-size: 1rem;
    }
    
    .avatar-placeholder {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .organogram-wrapper {
        padding: 1rem;
        margin: 1.5rem auto;
    }
    
    .circuit-board {
        min-height: 500px;
    }
    
    .org-card {
        min-width: 140px;
        padding: 1rem;
        position: static !important;
        margin: 1rem;
        display: inline-block;
    }
    
    .card-content h3 {
    color: white !important;
        font-size: 0.9rem;
    }
    
    .card-content .position,
    .card-content .department {
        font-size: 0.8rem;
    }
    
    .avatar-placeholder {
        width: 45px;
        height: 45px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .organogram-wrapper {
        padding: 0.8rem;
    }
    
    .circuit-board {
        display: none; /* Hide complex SVG on very small screens */
    }
    
    .org-card {
        width: 100%;
        margin: 0.5rem 0;
    }
}

.supplier-logo:hover {
    transform: none;
}

.logo-placeholder {
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.02em;
    font-family: 'Arial', sans-serif;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}



/* Pause animation on hover */
.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 36 - 3rem * 36));
    }
}

/* Responsive Design for Supplier Carousel */
@media (max-width: 768px) {
    .supplier-carousel-section {
        padding: 3rem 1rem 1.5rem;
    }

    .carousel-header,
    .contact-header {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .carousel-header-text::before,
    .carousel-header-text::after,
    .contact-header-text::before,
    .contact-header-text::after {
        width: 120px;
    }

    .carousel-header-text::before,
    .contact-header-text::before {
        left: -125px;
    }

    .carousel-header-text::after,
    .contact-header-text::after {
        right: -125px;
    }

    .carousel-track {
        gap: 2rem;
    }

    .supplier-logo {
        width: 150px;
        height: 90px;
    }
    
    .logo-placeholder {
        font-size: 1rem;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-150px * 36 - 2rem * 36));
        }
    }
}

@media (max-width: 480px) {
    .carousel-header,
    .contact-header {
        font-size: 1.15rem;
        margin-bottom: 1.5rem;
    }

    .carousel-header-text::before,
    .carousel-header-text::after,
    .contact-header-text::before,
    .contact-header-text::after {
        display: none;
    }

    .supplier-carousel-section {
        padding: 2rem 0.5rem 1rem;
    }
}

/* Cookies Policy Styles */
.cookies-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #1e3c72;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
    box-shadow: 0 4px 20px rgba(30, 60, 114, 0.3);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.cookies-button:hover {
    transform: none;
    box-shadow: 0 8px 30px rgba(30, 60, 114, 0.4);
    background: #2a5298;
}

.cookies-icon {
    width: 28px;
    height: 28px;
    fill: white;
}

.cookies-tooltip {
    position: absolute;
    left: 70px;
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1001;
}

.cookies-tooltip::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-right-color: #333;
}

.cookies-button:hover .cookies-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.cookies-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookies-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cookies-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: white;
    border-radius: 15px;
    padding: 0;
    max-width: 550px;
    width: calc(100vw - 40px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    z-index: 10002;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 60, 114, 0.1);
}

.cookies-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.cookies-popup-content {
    padding: 2rem;
    position: relative;
}

.cookies-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.cookies-close-btn:hover {
    background: #f3f4f6;
    color: #374151;
    transform: scale(1.1);
}

.cookies-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cookies-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.cookies-popup h3 {
    margin: 0;
    color: #1e3c72;
    font-size: 1.3rem;
    font-weight: 600;
}

.cookies-popup p {
    margin: 0 0 1.5rem 0;
    color: #4a5568;
    line-height: 1.6;
    font-size: 0.95rem;
}

.cookies-buttons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.cookies-btn {
    padding: 0.7rem 1.2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 80px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookies-btn.accept,
.cookies-btn.deny,
.cookies-btn.preferences {
    background: transparent;
    color: #1e3c72;
    border: 2px solid #1e3c72;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-radius: 50px;
}

.cookies-btn.accept::before,
.cookies-btn.deny::before,
.cookies-btn.preferences::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 55%;
    background: #1e3c72;
    transition: transform 0.4s ease;
    z-index: -1;
    transform: scaleY(0);
    transform-origin: top;
}

.cookies-btn.accept::after,
.cookies-btn.deny::after,
.cookies-btn.preferences::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 55%;
    background: #1e3c72;
    transition: transform 0.4s ease;
    z-index: -1;
    transform: scaleY(0);
    transform-origin: bottom;
}

.cookies-btn.accept:hover,
.cookies-btn.deny:hover,
.cookies-btn.preferences:hover {
    color: white;
    border-color: #1e3c72;
    transform: translateY(-2px);
}

.cookies-btn.accept:hover::before,
.cookies-btn.deny:hover::before,
.cookies-btn.preferences:hover::before {
    transform: scaleY(1);
}

.cookies-btn.accept:hover::after,
.cookies-btn.deny:hover::after,
.cookies-btn.preferences:hover::after {
    transform: scaleY(1);
}

@media (max-width: 768px) {
    .cookies-button {
        width: 50px;
        height: 50px;
        bottom: 15px;
        left: 15px;
    }
    
    .cookies-icon {
        width: 24px;
        height: 24px;
    }
    
    .cookies-tooltip {
        left: 60px;
        font-size: 0.75rem;
        padding: 6px 10px;
    }
    
    .cookies-popup {
        bottom: 15px;
        left: 15px;
        width: calc(100vw - 30px);
        max-width: none;
    }
    
    .cookies-popup-content {
        padding: 1.5rem;
    }
    
    .cookies-popup h3 {
        font-size: 1.2rem;
    }
    
    .cookies-popup p {
        font-size: 0.9rem;
    }
    
    .cookies-buttons {
        flex-direction: column;
        gap: 0.6rem;
    }
    
    .cookies-btn {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }
}

/* Scroll to Top Button with Progress Circle */
.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #1e3c72;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(30, 60, 114, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
}



.scroll-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top-btn:hover {
    background: #2a5298;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 25px rgba(30, 60, 114, 0.4);
}

.scroll-to-top-btn:active {
    transform: translateY(-1px);
}

.scroll-to-top-btn svg {
    transition: transform 0.2s ease;
}

.scroll-to-top-btn:hover .arrow-icon {
    transform: translateY(-2px);
}

/* Mobile responsive for scroll button */
@media (max-width: 768px) {
    .scroll-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .scroll-to-top-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* Mobile Navigation Styles */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 1010;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1e3c72;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger span:nth-child(1) {
    margin-bottom: 6px;
}

.hamburger span:nth-child(3) {
    margin-top: 6px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Social Buttons Container */
.mobile-social-buttons {
    display: none;
    position: fixed;
    top: 12px;
    right: 60px;
    z-index: 1003;
    gap: 8px;
    align-items: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-social-buttons.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.mobile-social-buttons .facebook-button,
.mobile-social-buttons .network-status-button {
    padding: 0.4rem 0.6rem;
    font-size: 0;
}

.mobile-social-buttons .facebook-button .btn-text,
.mobile-social-buttons .network-status-button .btn-text {
    display: none;
}

.mobile-social-buttons .facebook-icon,
.mobile-social-buttons .network-status-icon {
    width: 18px;
    height: 18px;
}

@media (max-width: 968px) {
    .hamburger {
        display: flex;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }

    nav#navbar {
        padding: 12px 20px;
    }

    nav#navbar .nav-links {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 0 !important;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1005;
        padding: 80px 20px 40px;
        width: 100% !important;
        height: 100vh;
        overflow-y: auto;
        flex-wrap: nowrap !important;
    }

    nav#navbar .nav-links.active {
        opacity: 1;
        visibility: visible;
    }

    nav#navbar .nav-links li {
        width: 100% !important;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: block !important;
    }

    nav#navbar .nav-links.active li {
        opacity: 1 !important;
        transform: translateY(0);
    }

    nav#navbar .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    nav#navbar .nav-links.active li:nth-child(2) { transition-delay: 0.15s; }
    nav#navbar .nav-links.active li:nth-child(3) { transition-delay: 0.2s; }
    nav#navbar .nav-links.active li:nth-child(4) { transition-delay: 0.25s; }
    nav#navbar .nav-links.active li:nth-child(5) { transition-delay: 0.3s; }
    nav#navbar .nav-links.active li:nth-child(6) { transition-delay: 0.35s; }
    nav#navbar .nav-links.active li:nth-child(7) { transition-delay: 0.4s; }

    nav#navbar .nav-links li a {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
        font-weight: 600;
        color: #1e3c72;
        border-bottom: 1px solid rgba(30, 60, 114, 0.1);
    }

    nav#navbar .nav-links li:last-child a {
        border-bottom: none;
    }

    nav#navbar .nav-links li a:hover,
    nav#navbar .nav-links li a.active {
        background: rgba(30, 60, 114, 0.05);
        color: #1e3c72;
    }

    /* Dropdown in mobile */
    nav#navbar .nav-links .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(30, 60, 114, 0.03);
        border-radius: 0;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    nav#navbar .nav-links li:hover .dropdown,
    nav#navbar .nav-links li.dropdown-open .dropdown {
        max-height: 300px;
    }

    nav#navbar .nav-links .dropdown-content {
        padding: 10px 0;
    }

    nav#navbar .nav-links .dropdown-content a {
        padding: 12px 30px;
        font-size: 0.95rem;
        font-weight: 500;
        border-bottom: none;
    }

    /* Contact bar mobile adjustments - keep all buttons visible in contact bar */
    .mobile-social-buttons {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .mobile-social-buttons {
        display: none !important;
    }

    nav#navbar {
        left: 10px;
        right: 10px;
        padding: 10px 15px;
    }

    .nav-logo .logo-img {
        height: 32px;
    }
}

/* Team Styles */
.team-hero {
    height: 75vh;
    min-height: 500px;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.8) 0%, rgba(42, 82, 152, 0.8) 100%),
                url('/static/website/images/team.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding-top: 140px;
}

.team-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/static/website/images/team.webp');
    background-size: cover;
    background-position: center;
    animation: slow-zoom 10s ease-in-out infinite;
    z-index: -1;
}

@keyframes slow-zoom {
    0%, 100% { 
        transform: scale(1);
    }
    50% { 
        transform: scale(1.3);
    }
}

.team-hero .hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.team-hero .hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Team Responsive */
@media (max-width: 768px) {
    .team-hero {
        height: auto;
        min-height: 50vh;
        padding-top: 140px;
        padding-bottom: 3rem;
    }

    .team-hero .hero-content {
        padding: 0 1.5rem;
    }

    .team-hero .hero-content h1 {
        font-size: 2rem;
    }

    .team-hero .hero-content p {
        font-size: 1rem;
        max-width: 100%;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .team-hero {
        min-height: 40vh;
        padding-top: 110px;
        padding-bottom: 2rem;
    }

    .team-hero .hero-content {
        padding: 0 1rem;
    }

    .team-hero .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .team-hero .hero-content p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

/* About Hero Styles */
.about-hero {
    height: 75vh;
    min-height: 500px;
    background: linear-gradient(135deg, #0d2137 0%, #1e3c72 50%, #2a5298 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 140px;
    overflow: hidden;
}

.about-hero .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.about-hero .hero-video.loaded {
    opacity: 1;
}

.about-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(30, 60, 114, 0.6), rgba(42, 82, 152, 0.6));
    z-index: 2;
}

.about-hero .hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    padding: 0 2rem;
}

.about-hero .hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out 0.3s forwards;
}

.about-hero .hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUpText 1.2s ease-out 0.6s forwards;
}

/* About Responsive */
@media (max-width: 768px) {
    .about-hero {
        height: auto;
        min-height: 50vh;
        padding-top: 140px;
        padding-bottom: 3rem;
    }

    .about-hero .hero-content {
        padding: 0 1.5rem;
    }

    .about-hero .hero-content h1 {
        font-size: 2rem;
    }

    .about-hero .hero-content p {
        font-size: 1rem;
        max-width: 100%;
        line-height: 1.5;
    }

    .about-hero .hero-video {
        min-height: 50vh;
    }
}

@media (max-width: 480px) {
    .about-hero {
        min-height: 40vh;
        padding-top: 110px;
        padding-bottom: 2rem;
    }

    .about-hero .hero-content {
        padding: 0 1rem;
    }

    .about-hero .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .about-hero .hero-content p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

/* Gallery Styles */
.gallery-hero {
    height: 75vh;
    min-height: 500px;
    background: linear-gradient(135deg, #0d2137 0%, #1e3c72 50%, #2a5298 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 140px;
    position: relative;
    overflow: hidden;
}

.gallery-hero .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.gallery-hero .hero-video.loaded {
    opacity: 1;
}

.gallery-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(30, 60, 114, 0.6), rgba(42, 82, 152, 0.6));
    z-index: 2;
}

.gallery-hero .hero-content {
    position: relative;
    z-index: 3;
}

.gallery-hero-workers {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    pointer-events: none;
    padding: 0;
    z-index: 3;
}

.hero-worker {
    opacity: 0;
    animation: workerFadeIn 1s ease-out forwards;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
    margin-right: -10px;
}

.hero-worker-left {
    height: min(450px, 55vh);
    animation-delay: 0.8s;
    margin-bottom: -10px;
}

.hero-worker-center {
    height: min(650px, 75vh);
    animation-delay: 1s;
    margin-bottom: -5px;
}

.hero-worker-right {
    height: min(400px, 45vh);
    animation-delay: 1.2s;
}

@keyframes workerFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}

.gallery-hero .hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out 0.3s forwards;
}

.gallery-hero .hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUpText 1.2s ease-out 0.6s forwards;
}

/* Gallery Layout: Sidebar + Grid */
.gallery-section {
    padding: 4rem 2rem;
    background: white;
}

.gallery-section > .container {
    max-width: none;
    margin: 0;
}

.gallery-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Sidebar */
.gallery-sidebar {
    position: sticky;
    top: 120px;
}

.filter-heading {
    font-size: 0.8rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.filter-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.filter-btn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.65rem 1rem;
    background: none;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
}

.filter-btn:hover {
    background: #f1f5f9;
    color: #0d2137;
}

.filter-btn.active {
    background: #1e3c72;
    color: white;
}

.filter-clear {
    display: block;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    background: none;
    border-left: none;
    border-right: none;
    border-bottom: none;
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: color 0.3s ease;
}

.filter-clear:hover {
    color: #1e3c72;
}

/* Cards Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Project Cards */
.project-card {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/10;
    text-decoration: none;
    color: white;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.project-card-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-card-image img {
    transform: scale(1.08);
}

.project-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.15) 50%, transparent 100%);
    z-index: 1;
}

.project-card-flag {
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    vertical-align: -8px;
    margin-right: 6px;
    flex-shrink: 0;
}

.project-card-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 2;
}

.project-card-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.project-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.project-card-meta {
    font-size: 0.85rem;
    opacity: 0.85;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.project-card-dot {
    margin: 0 0.5rem;
}

.project-card {
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

/* ==========================================
   Project Detail Page Styles
   ========================================== */

/* Project Hero */
.project-hero {
    position: relative;
    height: 70vh;
    min-height: 450px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.project-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.1) 100%);
}

.project-hero-content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    padding-top: 140px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.project-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.project-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-breadcrumb a:hover {
    color: white;
}

.project-breadcrumb span {
    color: white;
}

.project-hero-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
    margin-bottom: 1rem;
}

.project-hero-content h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin: 0;
}

/* Project Info Section */
.project-info-section {
    padding: 4rem 2rem;
}

.project-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.project-description h2,
.project-specs h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0d2137;
    margin-bottom: 1.5rem;
}

.project-description p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.project-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #1e3c72;
    font-weight: 500;
}

/* Specs Grid */
.project-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.spec-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spec-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.spec-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
}

.spec-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0d2137;
}

/* Project Lead */
.project-lead-section {
    padding: 3rem 2rem;
}

.project-lead-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.project-lead-card {
    max-width: 500px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.project-lead-photo {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #1e3c72;
}

.project-lead-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-lead-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
}

.project-lead-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0d2137;
    margin: 0.25rem 0;
}

.project-lead-info p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

/* Project Gallery Grid */
.project-gallery-section {
    padding: 4rem 2rem;
}

.project-gallery-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0d2137;
    margin-bottom: 2rem;
    text-align: center;
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.project-gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.project-gallery-item img,
.project-gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-gallery-item:hover img,
.project-gallery-item:hover video {
    transform: scale(1.05);
}

.project-gallery-video {
    position: relative;
}

.project-video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.project-gallery-video:hover .project-video-play {
    background: rgba(0, 0, 0, 0.5);
}

/* Back to Gallery */
.project-back-section {
    padding: 3rem 2rem;
    text-align: center;
}

.project-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #1e3c72;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease, gap 0.3s ease;
}

.project-back-link:hover {
    color: #2a5298;
    gap: 0.75rem;
}

/* Project Lightbox */
.project-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.97);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.project-lightbox.active {
    display: flex;
}

.project-lightbox-close {
    position: fixed;
    top: 20px;
    right: 30px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 100000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: scale(1.1);
}

.project-lightbox-click-zone {
    position: absolute;
    top: 0;
    height: 100%;
    width: 20%;
    cursor: pointer;
    z-index: 99998;
}

.project-lightbox-click-zone.click-left {
    left: 0;
    cursor: w-resize;
}

.project-lightbox-click-zone.click-right {
    right: 0;
    cursor: e-resize;
}

.project-lightbox-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    width: 90%;
    justify-content: center;
}

.project-lightbox-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 80vh;
}

.project-lightbox-nav {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 100001;
    flex-shrink: 0;
}

.project-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.project-lightbox-counter {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 500;
    z-index: 100000;
}

/* Hide navbar when lightbox is open */
body.carousel-open header,
body.carousel-open #navbar,
body.carousel-open .circuit-divider,
body.carousel-open .contact-bar,
body.carousel-open .scroll-to-top-btn {
    display: none !important;
}

/* Responsive Gallery & Project Detail */
@media (max-width: 768px) {
    .gallery-hero {
        height: auto;
        min-height: 50vh;
        padding-top: 140px;
        padding-bottom: 3rem;
    }

    .gallery-hero .hero-content {
        padding: 0 1.5rem;
    }

    .gallery-hero .hero-content h1 {
        font-size: 2rem;
    }

    .gallery-hero .hero-content p {
        font-size: 1rem;
        max-width: 100%;
        line-height: 1.5;
    }

    .gallery-hero .hero-video {
        min-height: 50vh;
    }

    .hero-worker-left {
        height: 30vh;
    }

    .hero-worker-center {
        height: 40vh;
    }

    .hero-worker-right {
        height: 25vh;
    }

    .hero-worker {
        margin-right: -5px;
    }

    .gallery-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .gallery-sidebar {
        position: static;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.5rem;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid #e2e8f0;
        margin-bottom: 1.5rem;
    }

    .filter-heading {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
        margin-right: 0.5rem;
    }

    .filter-list {
        flex-direction: row;
        gap: 0.4rem;
    }

    .filter-btn {
        width: auto;
        padding: 0.45rem 1rem;
        font-size: 0.8rem;
        border-radius: 20px;
        border: 1.5px solid #e2e8f0;
    }

    .filter-btn.active {
        border-color: #1e3c72;
    }

    .filter-clear {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
        margin-left: auto;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .project-card-title {
        font-size: 1.2rem;
    }

    .project-card-info {
        padding: 1.5rem;
    }

    /* Project Detail Responsive */
    .project-hero {
        height: 50vh;
        min-height: 350px;
    }

    .project-hero-content {
        padding: 2rem 1.5rem;
    }

    .project-hero-content h1 {
        font-size: 1.8rem;
    }

    .project-info-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .project-specs-grid {
        grid-template-columns: 1fr 1fr;
    }

    .project-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 0.75rem;
    }

    .project-lightbox-nav {
        padding: 0.8rem 1rem;
        font-size: 1.5rem;
    }

    .project-lightbox-close {
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .gallery-hero {
        min-height: 40vh;
        padding-top: 110px;
        padding-bottom: 2rem;
    }

    .hero-worker-left {
        height: 20vh;
    }

    .hero-worker-center {
        height: 28vh;
    }

    .hero-worker-right {
        height: 18vh;
    }

    .gallery-hero .hero-content {
        padding: 0 1rem;
    }

    .gallery-hero .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .gallery-hero .hero-content p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .filter-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    .project-specs-grid {
        grid-template-columns: 1fr;
    }

    .project-gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .project-lightbox-container {
        width: 95%;
        gap: 0.5rem;
    }
}

/* News Page Styles */
.news-hero {
    height: 75vh;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 140px;
    overflow: hidden;
    /* Fallback background in case video doesn't load */
    background: linear-gradient(135deg, #0d2137 0%, #1e3c72 50%, #2a5298 100%);
}

.news-hero .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.news-hero .hero-video.loaded {
    opacity: 1;
}

.news-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(30, 60, 114, 0.6), rgba(42, 82, 152, 0.6));
    z-index: 2;
}

.news-hero .hero-content {
    position: relative;
    z-index: 3;
}

.news-hero .hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out 0.3s forwards;
}

.news-hero .hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUpText 1.2s ease-out 0.6s forwards;
}

/* News Filters */
.news-filters-section {
    padding: 2rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.news-filters {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.news-filter-btn {
    padding: 0.8rem 1.5rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.news-filter-btn:hover,
.news-filter-btn.active {
    background: #1e3c72;
    color: white;
    border-color: #1e3c72;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.2);
}

/* Universal White Section Animation */
.white-section-animated {
    position: relative;
    overflow: hidden;
}

.white-section-animated::before {
    content: '';
    position: absolute;
    top: -15%;
    left: -15%;
    width: 130%;
    height: 130%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 800'%3E%3Cpath d='M-200,250 Q100,130 400,250 Q700,370 1000,250 Q1300,130 1600,250 L1600,430 Q1300,310 1000,430 Q700,550 400,430 Q100,310 -200,430 Z' fill='%231e3c72' fill-opacity='0.18'/%3E%3Cpath d='M-200,400 Q200,280 600,400 Q1000,520 1400,300 Q1500,250 1600,350 L1600,450 Q1500,350 1400,400 Q1000,620 600,500 Q200,380 -200,500 Z' fill='%232a5298' fill-opacity='0.22'/%3E%3Cpath d='M-300,150 Q0,100 300,200 Q600,300 900,150 Q1200,100 1500,250 Q1700,300 1900,200' stroke='%232a5298' stroke-width='3' fill='none' stroke-opacity='0.25'/%3E%3C/svg%3E") center/cover no-repeat;
    animation: flowingCurves 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.white-section-animated::after {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1800 900'%3E%3Cpath d='M-400,500 Q-100,400 200,500 Q500,600 800,450 Q1100,350 1400,500 Q1700,650 2000,400' stroke='%231e3c72' stroke-width='4' fill='none' stroke-opacity='0.2'/%3E%3Ccircle cx='150' cy='200' r='6' fill='%232a5298' fill-opacity='0.35'/%3E%3Ccircle cx='650' cy='600' r='8' fill='%231e3c72' fill-opacity='0.28'/%3E%3Ccircle cx='1200' cy='300' r='5' fill='%232a5298' fill-opacity='0.4'/%3E%3Ccircle cx='1500' cy='700' r='7' fill='%231e3c72' fill-opacity='0.32'/%3E%3C/svg%3E") center/cover no-repeat;
    animation: floatingElements 25s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: 1;
}

.white-section-animated > * {
    position: relative;
    z-index: 2;
}

/* News Section */
.news-section {
    padding: 4rem 2rem;
    background: white;
}

/* Animated background curves */
.news-section::before {
    content: '';
    position: absolute;
    top: -15%;
    left: -15%;
    width: 130%;
    height: 130%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 800'%3E%3Cpath d='M-200,250 Q100,130 400,250 Q700,370 1000,250 Q1300,130 1600,250 L1600,430 Q1300,310 1000,430 Q700,550 400,430 Q100,310 -200,430 Z' fill='%231e3c72' fill-opacity='0.18'/%3E%3Cpath d='M-200,400 Q200,280 600,400 Q1000,520 1400,300 Q1500,250 1600,350 L1600,450 Q1500,350 1400,400 Q1000,620 600,500 Q200,380 -200,500 Z' fill='%232a5298' fill-opacity='0.22'/%3E%3Cpath d='M-300,150 Q0,100 300,200 Q600,300 900,150 Q1200,100 1500,250 Q1700,300 1900,200' stroke='%232a5298' stroke-width='3' fill='none' stroke-opacity='0.25'/%3E%3C/svg%3E") center/cover no-repeat;
    animation: flowingCurves 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

/* Additional floating curve animation */
.news-section::after {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1800 900'%3E%3Cpath d='M-400,500 Q-100,400 200,500 Q500,600 800,450 Q1100,350 1400,500 Q1700,650 2000,400' stroke='%231e3c72' stroke-width='4' fill='none' stroke-opacity='0.2'/%3E%3Ccircle cx='150' cy='200' r='6' fill='%232a5298' fill-opacity='0.35'/%3E%3Ccircle cx='650' cy='600' r='8' fill='%231e3c72' fill-opacity='0.28'/%3E%3Ccircle cx='1200' cy='300' r='5' fill='%232a5298' fill-opacity='0.4'/%3E%3Ccircle cx='1500' cy='700' r='7' fill='%231e3c72' fill-opacity='0.32'/%3E%3C/svg%3E") center/cover no-repeat;
    animation: floatingElements 25s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: 1;
}

.news-section .container {
    position: relative;
    z-index: 2;
}

@keyframes flowingCurves {
    0% {
        transform: translateX(-8%) rotate(0deg) scale(1);
    }
    25% {
        transform: translateX(3%) rotate(2deg) scale(1.05);
    }
    50% {
        transform: translateX(8%) rotate(0deg) scale(1);
    }
    75% {
        transform: translateX(-3%) rotate(-2deg) scale(0.95);
    }
    100% {
        transform: translateX(-8%) rotate(0deg) scale(1);
    }
}

@keyframes floatingElements {
    0% {
        transform: translateX(-10%) translateY(-5%) rotate(-1deg);
    }
    30% {
        transform: translateX(5%) translateY(3%) rotate(1deg);
    }
    60% {
        transform: translateX(10%) translateY(-2%) rotate(0deg);
    }
    100% {
        transform: translateX(-10%) translateY(-5%) rotate(-1deg);
    }
}

/* Circuit Board Section Divider */
.circuit-divider {
    width: 100%;
    height: 2px;
    position: relative;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: -1px 0;
    padding: 0;
    z-index: 10;
}

.circuit-line {
    position: relative;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #06B6D4 20%, 
        #2a5298 50%, 
        #06B6D4 80%, 
        transparent 100%);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
}

.circuit-line::before,
.circuit-line::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #06B6D4;
    border-radius: 50%;
    top: -3px;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.6);
}

.circuit-line::before {
    left: 20%;
    animation: circuitPulse 2s ease-in-out infinite;
}

.circuit-line::after {
    right: 20%;
    animation: circuitPulse 2s ease-in-out infinite 1s;
}

.circuit-moving-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, #06B6D4 0%, #2a5298 100%);
    border-radius: 50%;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    box-shadow: 
        0 0 20px rgba(6, 182, 212, 0.8),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
    transition: left 0.3s ease-out;
}

.circuit-nodes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.circuit-node {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #2a5298;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 8px rgba(42, 82, 152, 0.4);
}

.circuit-node:nth-child(1) { left: 15%; animation: circuitNodePulse 3s ease-in-out infinite; }
.circuit-node:nth-child(2) { left: 35%; animation: circuitNodePulse 3s ease-in-out infinite 0.5s; }
.circuit-node:nth-child(3) { left: 55%; animation: circuitNodePulse 3s ease-in-out infinite 1s; }
.circuit-node:nth-child(4) { left: 75%; animation: circuitNodePulse 3s ease-in-out infinite 1.5s; }

@keyframes circuitPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
        box-shadow: 0 0 25px rgba(6, 182, 212, 0.8);
    }
}

@keyframes circuitNodePulse {
    0%, 100% {
        opacity: 0.7;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateY(-50%) scale(1.3);
        box-shadow: 0 0 15px rgba(42, 82, 152, 0.6);
    }
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    width: 100%;
    margin: 0 auto;
}

/* Facebook Posts Feed - Styled like news items */
.facebook-posts-feed {
    /* Inherits from .news-feed */
}

.facebook-post-card {
    /* Inherits from .news-item */
}

/* Facebook-specific accent color */
.facebook-post-card .news-source {
    background: linear-gradient(135deg, #1877f2 0%, #0c63d4 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.facebook-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.15);
}

/* News Columns */
.news-column {
    background: #f8fafc;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 25px 50px rgba(30, 60, 114, 0.25),
        0 10px 20px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(30, 60, 114, 0.1);
    border: 2px solid rgba(30, 60, 114, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.news-column:hover {
    transform: translateY(-5px);
    box-shadow:
        0 30px 60px rgba(30, 60, 114, 0.3),
        0 15px 30px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(30, 60, 114, 0.15);
}

.news-column-header {
    background: linear-gradient(135deg, #0d2137 0%, #1e3c72 50%, #2a5298 100%);
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.news-source-logo {
    margin-bottom: 1rem;
    display: flex;
    justify-content: flex-start;
}

.news-source-logo svg {
    transition: transform 0.6s ease-in-out;
}

.news-column:hover .news-source-logo svg {
    transform: rotate(360deg);
}

.news-column-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.news-column-header p {
    opacity: 0.9;
    font-size: 0.9rem;
}

/* News Feed */
.news-feed {
    max-height: 600px;
    overflow-y: auto;
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.news-feed::-webkit-scrollbar {
    width: 6px;
}

.news-feed::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.news-feed::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.news-feed::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* News Items */
.news-item {
    flex: 1;
    min-width: 300px;
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(30, 60, 114, 0.3), 0 6px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(30, 60, 114, 0.4), 0 12px 30px rgba(0, 0, 0, 0.2);
    border-color: #1e3c72;
}

.news-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.news-source {
    font-weight: 600;
    color: #1e3c72;
}

.news-date {
    color: #64748b;
}

.news-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.news-content p {
    color: #4a5568;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.news-image {
    margin: 1rem 0;
    border-radius: 10px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

/* News Actions */
.news-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.news-action-btn {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 1rem;
    background: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: #64748b;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-action-btn:hover {
    background: #1e3c72;
    color: white;
    border-color: #1e3c72;
    transform: translateY(-1px);
}

.news-action-btn svg {
    width: 16px;
    height: 16px;
}

/* Loading States */
.news-loading {
    text-align: center;
    padding: 4rem 2rem;
    color: #64748b;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e2e8f0;
    border-top: 3px solid #1e3c72;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

/* News Responsive */
@media (max-width: 768px) {
    .news-hero {
        height: auto;
        min-height: 50vh;
        padding-top: 140px;
        padding-bottom: 3rem;
    }

    .news-hero .hero-content {
        padding: 0 1.5rem;
    }

    .news-hero .hero-content h1 {
        font-size: 2rem;
    }

    .news-hero .hero-content p {
        font-size: 1rem;
        max-width: 100%;
        line-height: 1.5;
    }

    .news-hero .hero-video {
        min-height: 50vh;
    }
    
    .news-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .news-filters {
        gap: 0.5rem;
    }
    
    .news-filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .news-column-header {
        padding: 1.5rem 1rem;
    }
    
    .news-column-header h2 {
        font-size: 1.3rem;
    }
    
    .news-item {
        min-width: 250px;
        padding: 1rem;
    }
    
    .news-feed {
        padding: 1rem;
        flex-direction: column;
    }
    
    .news-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
    
    .news-actions {
        justify-content: flex-start;
    }
    
    .news-feed {
        max-height: 500px;
    }
}

@media (max-width: 480px) {
    .news-hero {
        min-height: 40vh;
        padding-top: 110px;
        padding-bottom: 2rem;
    }

    .news-hero .hero-content {
        padding: 0 1rem;
    }

    .news-hero .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .news-hero .hero-content p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .news-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .news-filter-btn {
        min-width: 150px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 2rem;
    }
    
    .news-feed {
        flex-direction: column;
        padding: 1rem;
    }
    
    .news-item {
        min-width: 100%;
    }
}

/* Cookie Preferences Inline Styles */
.cookie-preferences-section {
    margin-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
    padding-top: 1.5rem;
}

.cookie-category {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.cookie-category-header {
    padding: 1.2rem;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
}

.cookie-category-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-grow: 1;
}

.cookie-category-info h3,
.cookie-category-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #1e3c72;
    font-weight: 600;
}

.expand-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.3rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    color: #666;
}

.expand-btn:hover {
    background: #e8e8e8;
    color: #1e3c72;
}

.expand-btn svg {
    transition: transform 0.3s ease;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cookie-toggle input:checked + .toggle-slider {
    background-color: #1e3c72;
}

.cookie-toggle input:focus + .toggle-slider {
    box-shadow: 0 0 1px #1e3c72;
}

.cookie-toggle input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

.cookie-toggle input:disabled + .toggle-slider {
    background-color: #28a745;
    cursor: not-allowed;
    opacity: 0.8;
}

.cookie-toggle input:disabled + .toggle-slider:before {
    background-color: white;
}

.cookie-category-description {
    padding: 1.2rem;
    background: white;
    border-top: 1px solid #e0e0e0;
}

.cookie-category-description p {
    margin: 0;
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 1.5rem;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #1e3c72;
}

.modal-body {
    padding: 0;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
    margin-top: 1.5rem;
}

.btn-primary, .btn-secondary {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #1e3c72;
    color: white;
}

.btn-primary:hover {
    background: #2a5298;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background: #e8e8e8;
    border-color: #ccc;
}

.cookie-preferences-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.cookies-btn.secondary {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.cookies-btn.secondary:hover {
    background: #e8e8e8;
    border-color: #ccc;
}

/* Cookie Preferences Responsive */
@media (max-width: 768px) {
    .cookie-category-header {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .cookie-category-info {
        width: 100%;
        justify-content: space-between;
    }
    
    .cookie-preferences-buttons {
        flex-direction: column;
    }
    
    .cookies-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-category-header {
        padding: 0.8rem;
    }
    
    .cookie-category-description {
        padding: 0.8rem;
    }
    
    .cookie-category-info h3,
    .cookie-category-info h4 {
        font-size: 1rem;
    }
}

/* Loading Animation Styles */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loading-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.loading-logo {
    width: 300px;
    height: auto;
    animation: logo-pulse 2s ease-in-out infinite;
}

.loading-dots {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.loading-dot {
    width: 12px;
    height: 12px;
    background: #1e3c72;
    border-radius: 50%;
    animation: dot-grow 2s infinite;
}

.loading-dot:nth-child(1) { animation-delay: 0s; }
.loading-dot:nth-child(2) { animation-delay: 0.5s; }
.loading-dot:nth-child(3) { animation-delay: 1s; }
.loading-dot:nth-child(4) { animation-delay: 1.5s; }

@keyframes logo-pulse {
    0%, 100% { 
        transform: scale(1);
    }
    50% { 
        transform: scale(1.05);
    }
}

@keyframes dot-grow {
    0%, 80%, 100% {
        transform: scale(0);
        background: #1e3c72;
    }
    40% {
        transform: scale(1.2);
        background: #2a5298;
    }
}

/* Loading animation for mobile */
@media (max-width: 768px) {
    .loading-logo {
        width: 220px;
    }
    
    .loading-dots {
        gap: 0.5rem;
    }
    
    .loading-dot {
        width: 10px;
        height: 10px;
    }
}

/* Footer Contact Items Styles */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.footer-icon {
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.footer-contact-item span {
    line-height: 1.5;
    color: #e5e7eb;
}

.footer-contact-item span a {
    color: #e5e7eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-item span a:hover {
    color: white;
}

/* CRM Login Modal */
.crm-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    animation: fadeIn 0.3s ease-out;
}

.crm-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.crm-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.crm-modal-content {
    position: relative;
    background: linear-gradient(135deg, #0d2137 0%, #1e3c72 50%, #2a5298 100%);
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 400px;
    max-height: 90vh;
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
}

.crm-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: #64748b;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.crm-modal-close:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    color: #ef4444;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.crm-modal-header {
    text-align: center;
    padding: 2rem 2rem 1rem 2rem;
}

.crm-modal-logo {
    height: 120px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    background: white;
    padding: 1.5rem;
    border-radius: 60px;
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.crm-modal-body {
    padding: 2rem;
    background: white;
    border-radius: 0 0 15px 15px;
}

.crm-login-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.crm-form-group {
    display: flex;
    flex-direction: column;
}

.crm-form-group input {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.crm-form-group input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.crm-form-group input::placeholder {
    color: #94a3b8;
}

.crm-form-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

.crm-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
}

.crm-btn-cancel {
    background: #e2e8f0;
    color: #64748b;
}

.crm-btn-cancel:hover {
    background: #cbd5e1;
    transform: translateY(-1px);
}

.crm-btn-login {
    background: linear-gradient(45deg, #0066cc, #0052a3);
    color: white;
}

.crm-btn-login:hover {
    background: linear-gradient(45deg, #0052a3, #004080);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* CRM Modal Responsive */
@media (max-width: 480px) {
    .crm-modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .crm-modal-header {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
    }
    
    .crm-modal-logo {
        height: 90px;
        padding: 1.2rem;
        border-radius: 50px;
    }
    
    .crm-modal-close {
        width: 35px;
        height: 35px;
        top: 0.75rem;
        right: 0.75rem;
    }
    
    .crm-modal-body {
        padding: 1.5rem;
    }
    
    .crm-form-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .crm-btn {
        width: 100%;
    }
}



/* About Page Styles */
.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-section {
    margin-bottom: 3rem;
    text-align: center;
}

.about-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 1.5rem;
    position: relative;
}

.about-section h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #0d2137 0%, #1e3c72 50%, #2a5298 100%);
    margin: 1rem auto;
    border-radius: 2px;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

/* Services Grid for About Page */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    display: none;
}

.service-card:hover {
    transform: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    color: #1e3c72;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    color: #4a90d9;
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Why Choose Us Section */
.why-choose-us {
    margin-top: 4rem;
    text-align: center;
}

.why-choose-us h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 2rem;
}

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

.benefit-item {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-item:hover {
    transform: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    color: #1e3c72;
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    color: #4a90d9;
    transform: scale(1.1);
}

.benefit-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: #666;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* About Page Responsive */
@media (max-width: 768px) {
    .about-section h2 {
        font-size: 2rem;
    }

    .why-choose-us h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-content {
        padding: 0 1rem;
    }

    .service-card,
    .benefit-item {
        padding: 1.5rem;
    }
}

/* ============================================
   ABOUT PAGE SPECIFIC STYLES
   ============================================ */

/* About Page Section */
.about-page-section {
    padding: 4rem 0;
}

.about-page-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* About Intro Section */
.about-intro-section {
    text-align: center;
    margin-bottom: 4rem;
    margin-top: 5rem;
    padding: 0 2rem;
}

.about-intro-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.about-intro-section-OLD h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #0d2137 0%, #1e3c72 50%, #2a5298 100%);
    border-radius: 2px;
}

.about-intro-section p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.8;
    color: #555;
    max-width: 900px;
    margin: 2rem auto 0;
}

/* About Story Grid */
.about-story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 0 2rem;
}

.about-story-item {
    background: linear-gradient(180deg, #1e3c72 0%, #4a7cc9 100%) !important;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(30, 60, 114, 0.5), 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-story-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 70px rgba(30, 60, 114, 0.6), 0 12px 30px rgba(0, 0, 0, 0.4);
}

.story-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1.5rem;
    color: #1e3c72;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.story-icon svg {
    width: 100%;
    height: 100%;
}

.about-story-item h3 {
    color: white !important;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 1rem;
    text-align: center;
}

.about-story-item p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #666;
    text-align: center;
}

/* Services Grid on About Page */
.about-page-content .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
    padding: 0 2rem;
}

.about-page-content .service-card .service-icon {
    font-size: 2.5rem;
    width: auto;
    height: auto;
}

.about-page-content .service-card .service-icon svg {
    width: 40px;
    height: 40px;
}

/* Why Choose Us Section */
.about-page-content .why-choose-us {
    margin-top: 5rem;
    padding: 0 2rem;
}

.about-page-content .why-choose-us h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #1e3c72;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.about-page-content-OLD .why-choose-us h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #0d2137 0%, #1e3c72 50%, #2a5298 100%);
    margin: 1rem auto 3rem;
    border-radius: 2px;
}

/* Benefits Grid */
.about-page-content .benefits-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.about-page-content .benefit-item {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 1.5rem 1rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-page-content .benefit-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 70px rgba(30, 60, 114, 0.6), 0 12px 30px rgba(0, 0, 0, 0.4);
}

.about-page-content .benefit-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1.5rem;
    color: #1e3c72;
    transition: all 0.3s ease;
}

.about-page-content .benefit-icon svg {
    width: 100%;
    height: 100%;
}

.about-page-content .benefit-item:hover .benefit-icon {
    color: #4a90d9;
    transform: scale(1.15) rotate(5deg);
}

.about-page-content .benefit-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 0.75rem;
}

.about-page-content .benefit-item p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Responsive Design for About Page */
@media (max-width: 1024px) {
    .about-story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .about-page-section {
        padding: 3rem 0;
    }

    .about-intro-section {
        margin-bottom: 3rem;
        padding: 0 1rem;
    }

    .about-story-grid {
        gap: 2rem;
        padding: 0 1rem;
        grid-template-columns: 1fr;
    }

    .about-story-item {
    background: linear-gradient(180deg, #1e3c72 0%, #4a7cc9 100%) !important;
        padding: 2rem 1.5rem;
    }

    .about-page-content .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
        margin: 3rem 0;
    }

    .about-page-content .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .about-page-content .why-choose-us {
        margin-top: 3rem;
        padding: 0 1rem;
    }
}

@media (max-width: 600px) {
    .about-page-content .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .story-icon {
        width: 40px;
        height: 40px;
    }

    .about-story-item h3 {
    color: white !important;
        font-size: 1.3rem;
    }

    .about-story-item p {
    color: rgba(255, 255, 255, 0.85) !important;
        font-size: 1rem;
    }
}


/* ============================================
   ANIMATED COMPANY TIMELINE SECTION
   ============================================ */

.company-timeline-section {
    margin: 5rem 0;
    padding: 0 2rem;
    overflow: hidden;
}

.company-timeline-section h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #1e3c72;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.company-timeline-section-OLD h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #0d2137 0%, #1e3c72 50%, #2a5298 100%);
    margin: 1rem auto 4rem;
    border-radius: 2px;
}

.timeline-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

/* Animated Progress Track */
.timeline-progress-track {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: none;
    transform: translateX(-50%);
    border-radius: 4px;
    overflow: visible;
}

.timeline-progress-fill {
    display: none;
}

.timeline-items {
    position: relative;
    z-index: 2;
}

/* Timeline Item - Animated */
.timeline-item-animated {
    display: flex;
    align-items: flex-start;
    margin-bottom: 4rem;
    position: relative;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item-animated:last-child {
    margin-bottom: 0;
}

/* Left side items */
.timeline-item-animated[data-side="left"] {
    flex-direction: row;
    padding-right: calc(50% + 40px);
    transform: translateX(-60px);
}

.timeline-item-animated[data-side="left"] .timeline-card {
    margin-right: 0;
}

/* Right side items */
.timeline-item-animated[data-side="right"] {
    flex-direction: row-reverse;
    padding-left: calc(50% + 40px);
    transform: translateX(60px);
}

.timeline-item-animated[data-side="right"] .timeline-card {
    margin-left: 0;
}

/* Visible state */
.timeline-item-animated.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Timeline Marker */
.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
}

.marker-dot {
    width: 24px;
    height: 24px;

    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 0 4px rgba(30, 60, 114, 0.2), 0 4px 15px rgba(30, 60, 114, 0.3);
    transition: all 0.4s ease;
}

.marker-dot::before {
    content: "";
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
}

.marker-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.4);
    animation: markerPulse 2s ease-out infinite;
    opacity: 0;
}

.timeline-item-animated.visible .marker-pulse {
    animation: markerPulse 2s ease-out infinite;
}

@keyframes markerPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.timeline-item-animated:hover .marker-dot {
    transform: scale(1.2);
    box-shadow: 0 0 0 6px rgba(6, 182, 212, 0.3), 0 6px 25px rgba(30, 60, 114, 0.4);
    background: linear-gradient(135deg, #2a5298 0%, #06B6D4 100%);
}

.marker-year {
    margin-top: 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e3c72;
    background: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

/* Timeline Card */
.timeline-card {
    flex: 1;
    background: linear-gradient(180deg, #1e3c72 0%, #4a7cc9 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    box-shadow:
        0 4px 15px rgba(30, 60, 114, 0.15),
        0 10px 40px rgba(30, 60, 114, 0.25),
        0 20px 70px rgba(30, 60, 114, 0.2),
        0 30px 90px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(30, 60, 114, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}



.timeline-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 6px 20px rgba(30, 60, 114, 0.2),
        0 15px 50px rgba(30, 60, 114, 0.3),
        0 25px 80px rgba(30, 60, 114, 0.25),
        0 40px 100px rgba(0, 0, 0, 0.2);
    border-color: rgba(6, 182, 212, 0.3);
}

.card-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.card-icon svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.timeline-card:hover .card-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(-5deg) scale(1.05);
}

.card-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.timeline-card:hover .card-content h3 {
    color: rgba(255, 255, 255, 0.9);
}

.card-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}


/* Responsive Timeline */
@media (max-width: 900px) {
    .timeline-progress-track {
        left: 30px;
    }

    .timeline-marker {
        left: 30px;
    }

    .timeline-item-animated[data-side="left"],
    .timeline-item-animated[data-side="right"] {
        flex-direction: row;
        padding-left: 80px;
        padding-right: 0;
        transform: translateX(-40px);
    }

    .timeline-item-animated[data-side="right"] .timeline-card {
        margin-left: 0;
    }

    .timeline-item-animated.visible {
        transform: translateX(0);
    }

    .marker-year {
        position: absolute;
        left: 50px;
        top: 50%;
        transform: translateY(-50%);
        margin-top: 0;
    }
}

@media (max-width: 600px) {
    .company-timeline-section {
        padding: 0 1rem;
        margin: 3rem 0;
    }

    .timeline-progress-track {
        left: 20px;
    }

    .timeline-marker {
        left: 20px;
    }

    .timeline-item-animated[data-side="left"],
    .timeline-item-animated[data-side="right"] {
        padding-left: 60px;
        margin-bottom: 3rem;
    }

    .marker-dot {
        width: 18px;
        height: 18px;
    }

    .marker-dot::before {
        width: 8px;
        height: 8px;
    }

    .marker-year {
        left: 40px;
        font-size: 0.95rem;
        padding: 0.2rem 0.5rem;
    }

    .timeline-card {
        padding: 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }

    .card-icon {
    background: rgba(255, 255, 255, 0.15) !important;
        width: 48px;
        height: 48px;
        min-width: 48px;
        border-radius: 10px;
    }

    .card-icon svg {
        width: 24px;
        height: 24px;
    }

    .card-content h3 {
    color: white !important;
        font-size: 1.1rem;
    }

    .card-content p {
        font-size: 0.95rem;
    }
}

@media (max-width: 400px) {
    .timeline-item-animated[data-side="left"],
    .timeline-item-animated[data-side="right"] {
        padding-left: 50px;
    }

    .marker-year {
        left: 35px;
        font-size: 0.85rem;
    }

    .timeline-card {
        padding: 1.25rem;
    }

    .card-content h3 {
    color: white !important;
        font-size: 1rem;
    }

    .card-content p {
        font-size: 0.9rem;
    }
}

/* Service Card Scroll Animations - MUST be at end to override earlier .service-card rules */
.service-card.fade-in-left {
    opacity: 0 !important;
    transform: translateX(-80px) !important;
    transition: all 0.8s ease !important;
}

.service-card.fade-in-left.visible {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.service-card.fade-in-left.visible:hover {
    transform: translateX(0) !important;
}

.service-card.fade-in-right {
    opacity: 0 !important;
    transform: translateX(80px) !important;
    transition: all 0.8s ease !important;
}

.service-card.fade-in-right.visible {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.service-card.fade-in-right.visible:hover {
    transform: translateX(0) !important;
}

.service-card.fade-in {
    opacity: 0 !important;
    transform: translateY(30px) !important;
    transition: all 0.8s ease !important;
}

.service-card.fade-in.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.service-card.fade-in.visible:hover {
    transform: translateY(0) !important;
}

.crm-modal-title {
    color: #ffffff !important;
    
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
