/* ========== CSS Variables ========== */
:root {
    --primary-blue: #003366;
    --primary-blue-dark: #001f3f;
    --accent-green: #009973;
    --accent-green-light: #00b386;
    --text-dark: #333333;
    --text-light: #F5F7FA;
    --bg-light: #F5F7FA;
    --bg-white: #ffffff;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    --transition: all 0.3s ease-in-out;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 51, 102, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 51, 102, 0.15);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
}

/* ========== Reset & Global ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

ul {
    list-style: none;
}

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

section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* ========== Typography Utilities ========== */
.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 4px;
    background-color: var(--accent-green);
    border-radius: 2px;
}

.section-title.center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* ========== Buttons ========== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-green);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(0, 153, 115, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-green-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 153, 115, 0.4);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--primary-blue);
    border: 2px solid var(--bg-white);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--bg-white);
    border-color: var(--bg-white);
}

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

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

/* ========== Navbar ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: contain;
    background-color: var(--bg-white);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-blue);
    letter-spacing: 1px;
}

.navbar:not(.scrolled) .logo-text,
.navbar:not(.scrolled) .nav-links a:not(.btn) {
    color: var(--bg-white);
}

.navbar:not(.scrolled) .btn-outline {
    color: var(--bg-white);
    border-color: var(--bg-white);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-green);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    margin: 5px;
    transition: var(--transition);
}

.navbar:not(.scrolled) .hamburger .line {
    background-color: var(--bg-white);
}

/* ========== Hero Section ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 100%);
    color: var(--bg-white);
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background-color: var(--accent-green);
    top: -200px;
    right: -100px;
    animation: float 10s infinite alternate ease-in-out;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background-color: #004d99;
    bottom: -100px;
    left: -100px;
    animation: float-reverse 12s infinite alternate ease-in-out;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-30px, 30px); }
}

@keyframes float-reverse {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, -30px); }
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

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

.hero-title {
    font-size: 3.5rem;
    color: var(--bg-white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--accent-green);
}

.hero-description {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 500px;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.hero-image {
    width: 100%;
    border-radius: var(--radius-lg);
    z-index: 2;
    position: relative;
    box-shadow: var(--shadow-lg);
    background-color: var(--bg-light); /* in case image is transparent */
}

.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-blue);
    font-weight: 600;
    box-shadow: var(--shadow-md);
    z-index: 3;
    animation: float 6s infinite alternate ease-in-out;
}

.floating-badge i {
    color: var(--accent-green);
    font-size: 1.5rem;
}

.badge-1 {
    top: 20px;
    left: -30px;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 30px;
    right: -30px;
    animation-delay: 2s;
}

/* ========== About Section ========== */
.about-container {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.about-headline {
    font-size: 1.8rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.about-text {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: #555;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 2rem;
}

.tag {
    background-color: var(--bg-light);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tag i {
    color: var(--accent-green);
}

/* ========== Triad Section ========== */
.triad-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.triad-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid transparent;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.highlight-card {
    border-top-color: var(--primary-blue);
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.card-icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 153, 115, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.card-icon {
    font-size: 2rem;
    color: var(--accent-green);
}

.highlight-card .card-icon-wrapper {
    background-color: rgba(0, 51, 102, 0.1);
}

.highlight-card .card-icon {
    color: var(--primary-blue);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.card-subtitle {
    font-size: 1rem;
    color: var(--accent-green);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-text {
    color: #666;
}

/* ========== Footer ========== */
.footer {
    background-color: var(--primary-blue-dark);
    color: var(--bg-white);
    padding: 60px 0 20px;
}

.footer-container {
    display: flex;
    flex-direction: column;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

.footer-logo {
    color: var(--bg-white);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.footer-tagline {
    opacity: 0.8;
    margin-bottom: 20px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--bg-white);
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--accent-green);
    transform: translateY(-3px);
}

.footer-links h3, .footer-contact h3 {
    color: var(--bg-white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links ul li a:hover {
    color: var(--accent-green);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.footer-btn {
    border-color: var(--bg-white);
    color: var(--bg-white);
}

.footer-btn:hover {
    background-color: var(--accent-green);
    border-color: var(--accent-green);
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ========== Responsive Design ========== */
@media (max-width: 992px) {
    .hero-container, .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-tags {
        justify-content: center;
    }
    
    .hero {
        padding-top: 120px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 20px 0;
        gap: 20px;
        box-shadow: var(--shadow-md);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }
    
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .navbar:not(.scrolled) .nav-links a:not(.btn) {
        color: var(--primary-blue);
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active .line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .line:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }

    .triad-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* ========== Animations ========== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.visible {
    opacity: 1;
    transform: translate(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
