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

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Improved Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.3;
    font-weight: 600;
    /* color: #2D5755; */
}

p {
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

/* Focus States for Accessibility */
a:focus,
button:focus {
    outline: 3px solid rgba(45, 87, 85, 0.5);
    outline-offset: 3px;
}

/* Skip to Content Link for Accessibility */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 10px;
    background: #2d5755;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-to-content:focus {
    top: 10px;
}

/* Header Styles */
header {
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    padding: 1rem 5%;
    box-shadow: 0 2px 20px rgba(45, 87, 85, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(45, 87, 85, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d5755;
    filter: drop-shadow(0 2px 4px rgba(45, 87, 85, 0.1));
}

.logo i {
    background: linear-gradient(135deg, #2d5755 0%, #3d6763 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    margin-right: 10px;
    box-shadow: 0 4px 15px rgba(45, 87, 85, 0.3);
}

.responsive-logo {
    height: auto;
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #2d5755;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s;
}

.mobile-menu-toggle:hover {
    color: #3d6763;
    transform: scale(1.1);
}

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

.nav-links.mobile-active {
    display: flex;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2d5755, #7d9983);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: #2d5755;
}

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

.dropdown {
    position: relative;
}

.dropdown::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: 5px;
    font-size: 0.8em;
}

.cta-button {
    background: linear-gradient(135deg, #2d5755 0%, #3d6763 100%);
    color: white !important;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(45, 87, 85, 0.3);
    position: relative;
    overflow: hidden;
}

/*
.cta-button {
    background: linear-gradient(135deg, #2D5755 0%, #3d6763 100%);
    color: white !important;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(45, 87, 85, 0.3);
    position: relative;
    overflow: hidden;
}


.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}
*/
.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    box-shadow: 0 6px 25px rgba(45, 87, 85, 0.4);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    color: white;
    text-align: center;
    padding: 150px 5% 120px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #2a2a2a; /* Fallback color */
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(45, 87, 85, 0.6) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    color: #2d5755;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid white;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.5),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    box-shadow: 0 10px 35px rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid white;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #2d5755;
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Core Services Section */

.services {
    padding: 60px 5%;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafa 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(
        circle at 80% 50%,
        rgba(125, 153, 131, 0.03) 0%,
        transparent 60%
    );
    pointer-events: none;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 60px;
    color: #2d5755;
    position: relative;
    display: inline-block;
    width: 100%;
    text-shadow: 0 2px 4px rgba(45, 87, 85, 0.1);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    border: 0.5px solid #d3d3d3;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(45, 87, 85, 0.08);
    cursor: pointer;
    z-index: 1;
}

.service-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(125, 153, 131, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.6s;
    opacity: 0;
}

.service-card:hover::before {
    left: 100%;
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 15px 40px rgba(45, 87, 85, 0.15),
        0 0 30px rgba(125, 153, 131, 0.1);
    border-color: #2d5755;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    z-index: 2;
}

.service-icon {
    background: linear-gradient(135deg, #2d5755 0%, #3d6763 100%);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(45, 87, 85, 0.3);
    transition: all 0.3s;
    position: relative;
}

.service-icon::after {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #7d9983, #2d5755);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotateY(180deg);
    box-shadow:
        0 10px 35px rgba(45, 87, 85, 0.4),
        0 0 20px rgba(125, 153, 131, 0.3);
}

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

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: #2d5755;
    font-weight: 600;
    line-height: 1.4;
}

.service-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 0;
}

/* Product Spotlight Section */
.product-spotlight {
    padding: 60px 10% 60px 10%;
    background: #f0e9d6;
    position: relative;
    overflow: hidden;
}

.product-spotlight::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 20% 50%,
        rgba(125, 153, 131, 0.05) 0%,
        transparent 50%
    );
    pointer-events: none;
}

.spotlight-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 50% 1fr; /* image column set to 50% of section */
    gap: 4rem;
    align-items: center;
}

.product-devices {
    position: relative;
    width: 100%;
}

.product-devices img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 16px; /* rounded corners */
    object-fit: cover;
}

.device-mockup {
    width: 100%;
    max-width: 500px;
}

.product-info h2 {
    font-size: 2.2rem;
    color: #2d5755;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    font-weight: 700;
}

.product-info p {
    color: #555;
    /* margin-bottom: 2rem; */
    line-height: 1.8;
    font-size: 1.1rem;
}

.product-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.product-features li {
    padding: 0.8rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: #444;
    font-size: 1.05rem;
    line-height: 1.6;
}

.product-features li::before {
    content: "•";
    color: #2d5755;
    font-size: 1.8rem;
    position: absolute;
    left: 0;
    line-height: 1;
}

.btn-demo {
    background: linear-gradient(135deg, #2d5755 0%, #3d6763 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(45, 87, 85, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-demo::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s;
}

.btn-demo:hover::before {
    left: 100%;
}

.btn-demo:hover {
    background: linear-gradient(135deg, #1f3d3b 0%, #2d5755 100%);
    box-shadow:
        0 8px 30px rgba(45, 87, 85, 0.4),
        0 0 25px rgba(125, 153, 131, 0.2);
    transform: translateY(-3px);
}

/* AI-Driven Intelligence Section */
.ai-intelligence {
    padding: 40px 10% 20px 10%;
    background: linear-gradient(135deg, #2d5755 0%, #3d6763 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.ai-intelligence::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(125, 153, 131, 0.1);
    border-radius: 50%;
}

.ai-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.ai-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.8rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.ai-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    /* margin-bottom: 2.5rem; */
    opacity: 0.95;
    max-width: 600px;
}

.ai-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.ai-features li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    transition: all 0.3s;
    position: relative;
}
/*
.ai-features li::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, #F0E9D6, #7D9983);
    transition: height 0.3s;
    box-shadow: 0 0 10px rgba(240, 233, 214, 0.5);
}

.ai-features li:hover::before {
    height: 100%;
}

.ai-features li:hover {
    padding-left: 15px;
    border-bottom-color: rgba(240, 233, 214, 0.4);
    text-shadow: 0 0 10px rgba(240, 233, 214, 0.3);
}
*/
.ai-features li i {
    color: #f0e9d6;
    margin-right: 1rem;
    font-size: 0.9rem;
    filter: drop-shadow(0 0 5px rgba(240, 233, 214, 0.5));
    transition: all 0.3s;
}
/*
.ai-features li:hover i {
    transform: translateX(5px);
    filter: drop-shadow(0 0 10px rgba(240, 233, 214, 0.8));
}
*/
.btn-discover {
    background: linear-gradient(135deg, #f0e9d6 0%, #ffffff 100%);
    color: #2d5755;
    padding: 14px 40px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow:
        0 6px 25px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(240, 233, 214, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-discover::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.6s;
}

.btn-discover:hover::before {
    left: 100%;
}

.btn-discover:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f0e9d6 100%);
    transform: translateY(-3px);
    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(240, 233, 214, 0.5);
}

.ai-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brain-container {
    width: 100%;
    /* max-width: 400px; */
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.03) 100%
    );
    border-radius: 20px;
    /* padding: 3rem; */
    backdrop-filter: blur(10px);
    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(125, 153, 131, 0.2),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.brain-container-image {
    margin: -6px !important;
}

.brain-container::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(125, 153, 131, 0.15),
        transparent
    );
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%,
    100% {
        transform: rotate(45deg) translateY(-50%);
    }
    50% {
        transform: rotate(45deg) translateY(50%);
    }
}

.brain-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 25px rgba(125, 153, 131, 0.4));
    position: relative;
    z-index: 1;
}

/* Brain animation */
@keyframes pulse {
    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.05);
    }
}

@keyframes nodeGlow {
    0%,
    100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 8px rgba(125, 153, 131, 0.8));
    }
}

@keyframes particleMove {
    0% {
        transform: translate(0, 0);
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(10px, -10px);
        opacity: 0.3;
    }
}

.brain-pulse {
    animation: pulse 3s ease-in-out infinite;
}

.node {
    animation: nodeGlow 2s ease-in-out infinite;
}

.node-1 {
    animation-delay: 0s;
}
.node-2 {
    animation-delay: 0.2s;
}
.node-3 {
    animation-delay: 0.4s;
}
.node-4 {
    animation-delay: 0.6s;
}
.node-5 {
    animation-delay: 0.8s;
}
.node-6 {
    animation-delay: 1s;
}
.node-7 {
    animation-delay: 1.2s;
}
.node-8 {
    animation-delay: 1.4s;
}

.particle {
    animation: particleMove 3s ease-in-out infinite;
}

.particle-1 {
    animation-delay: 0s;
}
.particle-2 {
    animation-delay: 1s;
}
.particle-3 {
    animation-delay: 2s;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 60px 10% 40px 10%;
    background: white;
    border-top: 4px solid #2d5755;
    position: relative;
}

/* About Us Section */
.about-section {
    padding: 5px 10% 40px 10%;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfb 100%);
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
}

.about-text h3 {
    color: #2d5755;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.about-text p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
}

.about-image img {
    width: auto;
    height: 100%;
    max-width: 100%;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(45, 87, 85, 0.08);
}

/* On narrow viewports keep the image full-width and natural height */
@media (max-width: 768px) {
    .about-image img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }
}

.why-choose-us::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2d5755 0%, #7d9983 50%, #2d5755 100%);
}

.section-label {
    text-align: center;
    color: #7d9983;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(125, 153, 131, 0.3);
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin: -40px auto 60px;
    max-width: 800px;
    line-height: 1.6;
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(45, 87, 85, 0.08);
    border: 1px solid rgba(45, 87, 85, 0.05);
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(125, 153, 131, 0.1),
        transparent
    );
    transition: left 0.6s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 50px rgba(45, 87, 85, 0.15),
        0 0 40px rgba(125, 153, 131, 0.08);
    background: white;
    border-color: rgba(45, 87, 85, 0.1);
}

.feature-icon {
    background: linear-gradient(135deg, #f0f4f3 0%, #e8f0ef 100%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: #2d5755;
    box-shadow: 0 4px 15px rgba(45, 87, 85, 0.1);
    transition: all 0.3s;
    position: relative;
}

.feature-icon::after {
    content: "";
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, #7d9983, #2d5755);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(360deg);
    box-shadow:
        0 8px 25px rgba(45, 87, 85, 0.2),
        0 0 20px rgba(125, 153, 131, 0.2);
}

.feature-card:hover .feature-icon::after {
    opacity: 1;
}

.feature-card h3 {
    font-size: 1.4rem;
    color: #2d5755;
    margin-bottom: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
}

.feature-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 0;
}

/* Footer */
footer {
    background: #3d6763;
    color: white;
    padding: 80px 10% 30px 10%;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 40px;
}

.footer-column h3.footer-brand {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    max-height: 48px;
    height: auto;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.social-media-icons {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid #f0e9d6;
    width: fit-content;
}

.social-media-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-media-icons a:hover {
    background-color: #f0e9d6;
    color: #2d5755;
    transform: translateY(-3px);
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: white;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.95rem;
    position: relative;
    display: inline-block;
}

.footer-links a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #f0e9d6, #7d9983);
    transition: width 0.3s;
    box-shadow: 0 0 8px rgba(240, 233, 214, 0.5);
}

.footer-links a:hover {
    color: white;
    text-shadow: 0 0 10px rgba(240, 233, 214, 0.5);
    transform: translateX(5px);
}

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

.footer-divider {
    max-width: 1400px;
    margin: 0 auto;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    max-width: 1400px;
    margin: 30px auto 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

.footer-bottom a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #f0e9d6;
    transition: width 0.3s;
    box-shadow: 0 0 8px rgba(240, 233, 214, 0.5);
}

.footer-bottom a:hover {
    color: white;
    text-shadow: 0 0 8px rgba(240, 233, 214, 0.4);
}

.footer-bottom a:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .spotlight-container {
        grid-template-columns: 1fr;
    }

    .ai-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .ai-content h2 {
        font-size: 2rem;
    }

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

    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-top: 2px solid rgba(45, 87, 85, 0.1);
    }

    .nav-links.mobile-active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .cta-button {
        width: 100%;
        text-align: center;
        padding: 14px 25px;
    }

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

    .service-card {
        padding: 2rem 1.5rem;
    }

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

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

    .footer-spacer {
        display: none;
    }

    .footer-column h4 {
        margin-bottom: 0.8rem;
    }

    .ai-container {
        grid-template-columns: 1fr;
    }

    .ai-content h2 {
        font-size: 1.8rem;
    }

    .ai-content p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .ai-features {
        margin-bottom: 0.5rem;
    }

    .ai-features li {
        padding: 0.5rem 0;
    }

    .brain-container {
        /* padding: 2rem; */
        margin-top: 0;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero {
        padding: 120px 5% 80px;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        padding: 14px 30px;
        justify-content: center;
    }

    .hero-video {
        display: block;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .product-info h2,
    .ai-content h2 {
        font-size: 1.8rem;
    }

    /* Better touch targets */
    button,
    a,
    .service-card,
    .feature-card {
        min-height: 44px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #2d5755, #7d9983);
    z-index: 10000;
    transition: width 0.1s;
    box-shadow: 0 0 10px rgba(45, 87, 85, 0.5);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2d5755 0%, #3d6763 100%);
    color: white;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(45, 87, 85, 0.3);
    transition: all 0.3s;
    z-index: 1000;
    font-size: 1.2rem;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(45, 87, 85, 0.4);
}

.scroll-to-top.visible {
    display: flex;
}

/* Loading State */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading {
    pointer-events: none;
    opacity: 0.7;
}

.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease-in;
    overflow-y: auto;
    padding: 20px 0;
}

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

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    min-height: auto;
    max-height: 90vh;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease-out;
    position: relative;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

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

.close {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    background: none;
    border: none;
    padding: 0;
}

.close:hover,
.close:focus {
    color: #000;
}

.modal-content h2 {
    color: #2d5755;
    margin-bottom: 25px;
    font-size: 1.8rem;
    padding-right: 30px;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    transition:
        border-color 0.3s,
        box-shadow 0.3s;
    width: 100%;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2d5755;
    box-shadow: 0 0 5px rgba(45, 87, 85, 0.2);
}

.modal-content button[type="submit"] {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background: linear-gradient(135deg, #2d5755 0%, #3d6763 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-sizing: border-box;
}

.modal-content button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(45, 87, 85, 0.3);
}

.modal-content button[type="submit"]:active {
    transform: translateY(0);
}

#formMessage {
    margin-top: 15px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    display: none;
    font-weight: 500;
    font-size: 0.95rem;
    word-wrap: break-word;
    width: 100%;
    box-sizing: border-box;
    animation: slideDown 0.3s ease-out;
}

#formMessage.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

#formMessage.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

/* Tablet Responsiveness */
@media (max-width: 768px) {
    .modal {
        padding: 10px 0;
    }

    .modal-content {
        width: 90%;
        margin: 15% auto;
        padding: 30px 25px;
        max-height: 85vh;
    }

    .close {
        top: 12px;
        right: 15px;
        font-size: 24px;
    }

    .modal-content h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
        padding-right: 25px;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on mobile */
        padding: 11px;
    }

    .modal-content button[type="submit"] {
        padding: 11px;
        font-size: 0.95rem;
    }

    #formMessage {
        margin-top: 12px;
        padding: 12px;
        font-size: 0.9rem;
    }
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .modal {
        padding: 5px 0;
    }

    .modal-content {
        width: 95%;
        margin: 20% auto;
        padding: 25px 20px;
        max-height: 80vh;
        border-radius: 8px;
    }

    .close {
        top: 10px;
        right: 10px;
        font-size: 22px;
    }

    .modal-content h2 {
        font-size: 1.3rem;
        margin-bottom: 18px;
        padding-right: 20px;
        word-break: break-word;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px;
        padding: 10px;
    }

    .form-group textarea {
        min-height: 80px;
    }

    .modal-content button[type="submit"] {
        padding: 10px;
        font-size: 0.9rem;
        margin-top: 8px;
    }

    #formMessage {
        margin-top: 10px;
        padding: 10px;
        font-size: 0.8rem;
        border-width: 1.5px;
    }
}

/* Small phones */
@media (max-width: 360px) {
    .modal-content {
        width: 96%;
        padding: 20px 15px;
    }

    .modal-content h2 {
        font-size: 1.2rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px;
        padding: 9px;
    }

    #formMessage {
        padding: 8px;
        font-size: 0.75rem;
    }
}
