:root {
    /* Colors */
    --primary-color: #0d4a3e; /* Deep Green */
    --secondary-color: #1a237e; /* Dark Blue */
    --accent-color: #34d399; /* Emerald Green for accents */
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 6rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: #083a30;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 74, 62, 0.2);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Announcement Bar */
.announcement-bar {
    background-color: var(--primary-color);
    color: white;
    padding: 0.6rem 0;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
}

.announcement-bar a {
    color: var(--accent-color);
    text-decoration: underline;
    margin-left: 0.5rem;
}

/* Navbar */
.navbar {
    position: absolute;
    top: 2.5rem; /* Below announcement bar */
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    height: 80px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link i {
    font-size: 0.75rem;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Dropdowns */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    min-width: 250px;
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.has-dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown li a {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
    transition: var(--transition);
}

.dropdown li a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding-left: 1.25rem;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 12rem;
    padding-bottom: 8rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 74, 62, 0.85) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}



.hero .btn-outline {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid white;
    color: white;
}

.hero .btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Cards */
.card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow);
    border-color: var(--accent-color);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

/* Framework Cards */
.framework-card {
    position: relative;
    padding-top: 4rem;
    height: 100%;
}

.framework-step {
    position: absolute;
    top: 1.5rem;
    left: 2rem;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: var(--font-heading);
}

.icon-list {
    list-style: none;
    padding: 0;
}

.icon-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

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

/* Generic Section Header */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: #0a0a0a;
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: block;
}

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

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

.footer-links a {
    color: #9ca3af;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #1f2937;
    padding-top: 2rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

/* Animations */
.reveal {
    /* States handled by GSAP */
}

/* Responsive */
@media (max-width: 991px) {
    .hero-grid {
        flex-direction: column;
        text-align: center;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr !important;
    }
}
/* Powered By E-Technology & Popup Styles */
.powered-by-e-technology {
    position: relative;
    display: inline-block;
}

.e-tech-link {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.e-tech-link:hover {
    color: white;
}

.e-tech-popup {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    bottom: calc(100% + 15px);
    right: 0;
    width: 280px;
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    z-index: 2000;
    border: 1px solid var(--border-color);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transform: translateY(10px);
    pointer-events: none; /* Prevent accidental triggers */
}

.powered-by-e-technology:hover .e-tech-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s;
}

/* Delay the hiding when mouse leaves */
.powered-by-e-technology .e-tech-popup {
    transition-delay: 0.2s; /* Give 200ms of grace time */
}

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

.popup-logo {
    width: 70px; /* Slightly larger for better visibility */
    height: 70px;
    margin: 0 auto 1rem;
    background: var(--bg-light);
    border-radius: 0.75rem; /* Change to rounded square to avoid circles cutting off square logos */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 5px; /* Add some padding so the logo doesn't touch the edges */
    border: 1px solid var(--border-color);
}

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

.fallback-logo {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.popup-content h3 {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

.popup-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.popup-contact-info {
    text-align: left;
    margin-bottom: 1.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.popup-contact-info p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.popup-contact-info i {
    color: var(--primary-color);
    margin-right: 0.75rem;
}

.popup-contact-btn {
    width: 100%;
    padding: 0.75rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.popup-contact-btn:hover {
    background: #083a30;
    transform: translateY(-2px);
}
