/* ===================================
   CSS Variables & Reset
   =================================== */

:root {
    /* Colors */
    --ocean-blue: #0077be;
    --deep-blue: #003d5c;
    --aqua: #00b8a9;
    --light-aqua: #e8f6f5;
    --sand: #f4e8d8;
    --dark-text: #1a2332;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    
    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Transitions */
    --transition-speed: 0.3s;
    
    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.2);
}

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

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-primary);
    line-height: var(--line-height-base);
    color: var(--dark-text);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ===================================
   Utility Classes
   =================================== */

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

.section-padding {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--deep-blue);
    text-align: center;
}

/* ===================================
   Navigation
   =================================== */

#navbar {
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-speed) ease;
}

#navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo a {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--ocean-blue);
    transition: color var(--transition-speed);
}

.logo a:hover {
    color: var(--aqua);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    transition: color var(--transition-speed);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--ocean-blue);
    transition: width var(--transition-speed);
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-text);
    transition: all var(--transition-speed);
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--ocean-blue) 0%, var(--aqua) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: wave 20s linear infinite;
}

@keyframes wave {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

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

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
}

/* Animations */
.fade-in {
    animation: fadeInUp 1s ease;
}

.fade-in-delay-1 {
    animation: fadeInUp 1s ease 0.2s both;
}

.fade-in-delay-2 {
    animation: fadeInUp 1s ease 0.4s both;
}

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

/* Button */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--white);
    color: var(--ocean-blue);
    border-radius: 50px;
    font-weight: bold;
    transition: all var(--transition-speed);
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ===================================
   About Section
   =================================== */

.about {
    background: var(--light-aqua);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-image {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--aqua);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

/* ===================================
   Mission Section
   =================================== */

.mission {
    background: var(--white);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: var(--spacing-lg);
}

.mission-card {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-speed);
    text-align: center;
}

.mission-card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.mission-card h3 {
    color: var(--ocean-blue);
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
}

.mission-card p {
    line-height: 1.8;
}

/* ===================================
   Project Section
   =================================== */

.project {
    background: var(--gray-light);
}

.project-intro {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--deep-blue);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.project-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.project-item {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 10px;
    border-left: 4px solid var(--aqua);
}

.project-item h3 {
    color: var(--ocean-blue);
    margin-bottom: var(--spacing-sm);
}

.project-item p {
    line-height: 1.8;
}

/* ===================================
   Contact Section
   =================================== */

.contact {
    background: var(--deep-blue);
    color: var(--white);
    text-align: center;
}

.contact .section-title {
    color: var(--white);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-intro {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
}

.contact-details {
    margin: var(--spacing-md) 0;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: var(--spacing-sm) 0;
    font-size: 1.1rem;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-item a {
    color: var(--aqua);
    transition: color var(--transition-speed);
}

.contact-item a:hover {
    color: var(--white);
}

.contact-social {
    margin-top: var(--spacing-md);
    font-style: italic;
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: var(--dark-text);
    color: var(--white);
    text-align: center;
    padding: var(--spacing-md) 0;
}

.footer-links {
    margin-top: var(--spacing-sm);
}

.footer-links a {
    margin: 0 var(--spacing-xs);
    transition: color var(--transition-speed);
}

.footer-links a:hover {
    color: var(--aqua);
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: left var(--transition-speed);
        box-shadow: var(--shadow-md);
        padding: var(--spacing-md) 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

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

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

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

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

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

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

    /* Sections */
    .section-padding {
        padding: var(--spacing-lg) 0;
    }

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

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

    .btn {
        padding: 0.8rem 2rem;
    }
}