/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
    overflow-x: hidden;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.navbar {
    padding: 0 24px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 18px;
    color: #ffffff;
}

.logo-text {
    color: #1e293b;
}

.logo-text .highlight {
    color: #58a6ff;
}

.logo-icon {
    display: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

/* remove underline from nav links */
.nav-menu a,
.nav-actions a {
    text-decoration: none;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: color 0.2s ease;
}

.nav-item:hover {
    color: #0F8C72;
    /* Teal hover */
}

.dropdown svg {
    width: 12px;
    height: 8px;
    opacity: 0.6;
}

/* Mega dropdown menu */
.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateX(0);
    background: #ffffff;
    color: #1e293b;
    padding: 24px 32px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    min-width: 400px;
    display: none;
    z-index: 2000;
}

.dropdown-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 8px 16px;
}

.dropdown-item {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.item-icon {
    font-size: 18px;
    color: #0F8C72;
    margin-top: 2px;
}

.dropdown-item .item-title {
    display: block;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 2px;
}

.dropdown-item .item-desc {
    font-size: 13px;
    color: #64748b;
}

/* Mobile: simplify mega dropdown */
@media (max-width: 768px) {
    .dropdown-menu {
        min-width: 260px;
        left: 50%;
        transform: translateX(-50%);
        padding: 16px 20px;
    }

    .dropdown-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .dropdown-item {
        gap: 10px;
    }

    .dropdown-item .item-desc {
        display: none;
    }

    .dropdown-item .item-title {
        font-size: 14px;
    }
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-demo {
    padding: 8px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: transparent;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-demo:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #1e293b;
}

.btn-contact {
    text-decoration: none;
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    background: #0F8C72;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-contact:hover {
    background: #0B6654;
    transform: translateY(-1px);
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    transition: all 0.2s ease;
}

.language-selector:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: #1e293b;
    border-radius: 1px;
    transition: all 0.3s ease;
}

/* Main Content */
.main {
    margin-top: 5px;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #ffffff;
    position: relative;
    overflow: hidden;
    padding-top: 60px;
}

.hero::before {
    display: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 100%;
}

.hero-title {
    font-size: clamp(40px, 6vw, 90px);
    font-weight: 800;
    line-height: 1.1;
    color: #111111;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    opacity: 0;
    animation: slideDownFade 1s ease-out forwards;
}

.highlight {
    color: #0F8C72;
    /* Teal highlight */
    display: inline-block;
    /* Helps to keep it together */
}

.hero-description {
    font-size: 20px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 40px;
    font-weight: 500;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: slideDownFade 1s ease-out 0.3s forwards;
}

@keyframes slideDownFade {
    0% {
        opacity: 0;
        transform: translateY(-40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 42px;
    }

    .hero-description {
        font-size: 16px;
    }
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #0F8C72;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(15, 140, 114, 0.4);
    opacity: 0;
    animation: slideDownFade 1s ease-out 0.6s forwards;
    text-decoration: none;
}

.cta-button:hover {
    background: #0B6654;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(15, 140, 114, 0.4);
}

.cta-button svg {
    transition: transform 0.2s ease;
}

.cta-button:hover svg {
    transform: translateX(4px);
}


/* Feature & Events */
.feature-section {
    padding: 1px 0;
    background: #f8fafc;
}

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

.feature-image {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Feature video */
.feature-video {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    background: transparent;
    opacity: 0;
    transform: translateY(70px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.feature-video.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.feature-video img {
    width: 100%;
    height: auto;
    display: block;
}

/* 
.feature-video .feature-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
} 
*/

.events-section {
    padding: 40px 0;
    background: #ffffff;
}

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

.events-title {
    font-size: 18px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 24px;
}

.events-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.event-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 160px;
    padding: 0 12px;
}

.event-date {
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
}

.event-name {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

@media (max-width: 768px) {
    .events-list {
        gap: 16px;
    }
}

/* Solutions Section */
.solutions-section {
    padding: 60px 0;
    background: #ffffff;
}

.solutions-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: flex-start;
    gap: 60px;
    position: relative;
}

/* Sticky Left Column */
.solutions-left {
    width: 40%;
    position: sticky;
    top: 120px;
    padding-right: 20px;
    opacity: 0;
    transform: translateY(70px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.solutions-left.animate-in {
    opacity: 1;
    transform: none;
}

.solutions-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.1;
    color: #1e293b;
    text-align: left;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.solutions-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: #64748b;
    text-align: left;
    margin: 0;
}

/* Scrolling Right Column */
.solutions-right {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Unified Solution Card Style */
.solution-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    display: flex;
    flex-direction: row;
    /* Text Left, Image Right */
    align-items: center;
    gap: 40px;
    padding: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.solution-card .card-content {
    flex: 1;
    min-width: 0;
}

.solution-card .card-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.solution-card .card-text {
    font-size: 16px;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 24px;
}

.solution-card .card-image-wrapper {
    flex: 0 0 240px;
    /* Fixed width for image container */
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-card .card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Styles for Solutions */
@media (max-width: 1024px) {
    .solutions-container {
        flex-direction: column;
        gap: 40px;
        padding: 0 24px;
    }

    .solutions-left {
        width: 100%;
        position: static;
        padding-right: 0;
        text-align: center;
    }

    .solutions-title,
    .solutions-subtitle {
        text-align: center;
    }

    .solutions-right {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .solution-card {
        flex-direction: column-reverse;
        /* Image top (visually) or bottom, likely top is better on mobile, but let's stick to text then image or stack */
        /* Let's stack: Image Top, Text Bottom? Or Text Top, Image Bottom. Usually image top is standard mobile card. */
        /* But user code had text then image wrapper. `column-reverse` would put image wrapper (2nd child) on top. */
        align-items: stretch;
        gap: 24px;
        padding: 24px;
    }

    .solution-card .card-image-wrapper {
        flex: none;
        width: 100%;
        height: 200px;
    }
}

/* Why Choose Section */
/* Why Choose Section */
.why-section {
    position: relative;
    padding: 40px 0;
    /* Reduced from 100px */
    background: #000000;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

/* Background Ray Effect */
.why-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
    filter: blur(60px);
}

.why-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    z-index: 1;
}

.why-title {
    font-size: 28px;
    /* Slightly reduced */
    font-weight: 700;
    margin-bottom: 24px;
    /* Reduced from 60px */
    background: linear-gradient(to right, #ffffff, #94a3b8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.why-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    margin: 0 auto 20px;
    /* Reduced from 60px */
    max-width: 900px;
    /* Limit width to keep it compact */
}

/* Central Overlay Logo */
.grid-center-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    /* Let clicks pass through if needed */
}

/* Animated Lighting Lines */
.lighting-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.8), transparent);
    z-index: -1;
    opacity: 0.6;
}

.lighting-line.horizontal {
    width: 800px;
    /* Span across the grid */
    height: 1px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(90deg,
            transparent 0%,
            transparent 30%,
            rgba(96, 165, 250, 0.8) 50%,
            transparent 70%,
            transparent 100%);
    background-size: 200% 100%;
    animation: lightFlowHorizontal 3s linear infinite;
}

.lighting-line.vertical {
    width: 1px;
    height: 600px;
    /* Span vertically */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(180deg,
            transparent 0%,
            transparent 30%,
            rgba(96, 165, 250, 0.8) 50%,
            transparent 70%,
            transparent 100%);
    background-size: 100% 200%;
    animation: lightFlowVertical 3s linear infinite;
}

@keyframes lightFlowHorizontal {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@keyframes lightFlowVertical {
    0% {
        background-position: 0 200%;
    }

    100% {
        background-position: 0 -200%;
    }
}

/* Ripple Rings Effect */
.ripple-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(13, 148, 136, 0.4);
    background: rgba(13, 148, 136, 0.05);
    /* Subtle fill */
    z-index: 1;
    /* Behind the center box (z-index 2) */
    opacity: 0;
}

.ring-1 {
    animation: ripple 3s ease-out infinite;
    animation-delay: 0s;
}

.ring-2 {
    animation: ripple 3s ease-out infinite;
    animation-delay: 1s;
}

.ring-3 {
    animation: ripple 3s ease-out infinite;
    animation-delay: 2s;
}

@keyframes ripple {
    0% {
        width: 50px;
        height: 50px;
        opacity: 0.8;
        border-width: 1px;
    }

    100% {
        width: 220px;
        height: 220px;
        opacity: 0;
        border-width: 0px;
    }
}

.center-box {
    width: 44px;
    /* Reduced from 50px */
    height: 44px;
    /* Reduced from 50px */
    background: linear-gradient(135deg, #0d9488, #0F8C72);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(13, 148, 136, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Removed the breathe animation from the box itself to focus on rings */
    position: relative;
    z-index: 2;
}

/* 
@keyframes breathe { ... } removed
*/

.center-initial {
    font-size: 20px;
    /* Reduced from 22px */
    font-weight: 700;
    color: #ffffff;
}

/* Grid Items */
.why-item {
    padding: 20px 16px;
    /* Reduced from 60px 40px */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: background 0.3s ease;
}

/* Borders for Grid Lines - Make them lighter to let the animation shine */
.why-item.item-tl {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: radial-gradient(circle at 100% 100%, rgba(13, 148, 136, 0.03) 0%, transparent 50%);
}

.why-item.item-tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: radial-gradient(circle at 0% 100%, rgba(13, 148, 136, 0.03) 0%, transparent 50%);
}

.why-item.item-bl {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    background: radial-gradient(circle at 100% 0%, rgba(13, 148, 136, 0.03) 0%, transparent 50%);
}

.why-item.item-br {
    /* No borders */
    background: radial-gradient(circle at 0% 0%, rgba(13, 148, 136, 0.03) 0%, transparent 50%);
}

/* Icon Wrapper */
.why-icon-wrapper {
    width: 42px;
    /* Slightly smaller */
    height: 42px;
    margin-bottom: 16px;
    border-radius: 10px;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-item:hover .why-icon-wrapper {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(13, 148, 136, 0.3);
}

.why-icon {
    width: 20px;
    height: 20px;
    color: #94a3b8;
    transition: color 0.3s ease;
}

.why-item:hover .why-icon {
    color: #2dd4bf;
}

.why-subtitle {
    font-size: 16px;
    /* Slightly reduced */
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 8px;
}

.why-text {
    font-size: 14px;
    line-height: 1.5;
    color: #94a3b8;
    max-width: 280px;
}

.why-cta {
    display: inline-block;
    background: #ffffff;
    color: #000000;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.why-cta:hover {
    transform: translateY(-2px);
    background: #f1f5f9;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .why-section {
        padding: 40px 0;
    }

    .why-title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 30px;
    }

    .grid-center-overlay {
        display: none;
    }

    .why-item {
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        padding: 24px 20px;
        background: rgba(255, 255, 255, 0.02);
    }

    .why-item.item-tl,
    .why-item.item-tr,
    .why-item.item-bl,
    .why-item.item-br {
        border: 1px solid rgba(255, 255, 255, 0.08);
        /* Reset specific borders */
    }
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #111827 0%, #0d9488 100%);
    /* Green theme for footer */
    color: #f1f5f9;
    padding: 60px 0;
    font-size: 15px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.footer-desc {
    margin-bottom: 20px;
    line-height: 1.6;
}

.social-icons {
    display: flex;
    gap: 26px;
    font-size: 26px;
}

.social-icons a {
    text-decoration: none;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.social-icons a:hover {
    color: #0F8C72;
    /* Teal hover */
}

.social-icons a.telegram {
    color: #26A5E4;
}

.social-icons a.facebook {
    color: #1877F2;
}

.social-icons a.whatsapp {
    color: #25D366;
}

.social-icons a.instagram {
    color: #E1306C;
}

.footer-heading {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: #cbd5e1;
    transition: color 0.2s ease;
    font-size: 14px;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 38px;
    }

    .hero-description {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    /* Hide header action buttons; drawer still shows them */
    .header .nav-actions {
        display: none;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-container {
        padding: 0 16px;
        max-width: 90%;
    }

    .hero {
        min-height: 60vh;
    }
}

/* ------------------
   Mobile Drawer
-------------------*/
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: #1a1a1a;
    padding: 24px;
    /* box-shadow moved to .open state to prevent bleed */
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-drawer.open {
    transform: translateX(0);
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.6);
}

.mobile-drawer .drawer-close {
    align-self: flex-end;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
}

.mobile-drawer .language-selector {
    display: none;
}

.mobile-drawer .nav-menu,
.mobile-drawer .nav-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Overlay behind drawer */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1100;
}

.drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 14px;
    }

    .hero-description {
        font-size: 13px;
        margin-bottom: 24px;
    }
}