/* 
    Dreams Come True (DCT) - Modern Design System
    Focus: Professional, Educational, Global, and Trustworthy
*/

:root {
    /* Color Palette */
    --primary: #003366; /* Deep Navy */
    --primary-light: #004d99;
    --secondary: #D4AF37; /* Gold */
    --accent: #FFD700; /* Bright Gold */
    --text-dark: #212529;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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);
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    padding: 16px 0;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 20px rgba(0, 51, 102, 0.08);
    border-bottom: 2px solid var(--secondary);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 51, 102, 0.12);
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

.logo span {
    color: var(--secondary);
}

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

.nav-links a {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition-smooth);
}

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

.btn-cta {
    background: var(--primary);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.2);
}

.btn-cta:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 51, 102, 0.3);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.7)), url('../images/hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero .btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.btn-secondary {
    background: var(--secondary);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
}

.btn-outline {
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
}

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

/* Section Common */
.section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Services / Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    border: 1px solid #eee;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    opacity: 0.9;
}

/* Service Highlights */
.service-highlight {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.service-highlight:nth-child(even) {
    flex-direction: row-reverse;
}

.service-img {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-content {
    flex: 1;
}

.service-content h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-content p {
    margin-bottom: 30px;
}

/* Process Section */
.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #eee;
    z-index: 1;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 100px;
    height: 100px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 20px;
    border: 5px solid white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.step h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 80px 0 20px;
}

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

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 1.2rem;
    color: var(--secondary);
}

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

.footer-links a {
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 14px;
    margin-top: 5px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-links a:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-3px);
}

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

/* =====================
   Hamburger Menu
   ===================== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition-smooth);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* =====================
   Tablet (992px)
   ===================== */
@media (max-width: 992px) {
    /* Nav */
    .hamburger { display: flex; }
    .btn-cta { display: none; }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--primary);
        padding: 100px 30px 40px;
        z-index: 1050;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0,0,0,0.2);
    }

    .nav-links.open { right: 0; }

    .nav-links a {
        color: white;
        font-size: 1.1rem;
        padding: 16px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        width: 100%;
        text-align: center;
    }

    .nav-links a::after { background: var(--secondary); }

    /* Mobile overlay */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1040;
        opacity: 0;
        transition: opacity 0.3s;
    }
    .nav-overlay.open {
        display: block;
        opacity: 1;
    }

    /* Hero */
    .hero h1 { font-size: 2.6rem; }
    .hero p { font-size: 1rem; }

    /* Services */
    .service-highlight {
        flex-direction: column !important;
        gap: 30px;
    }
    .service-content h3 { font-size: 1.6rem; }

    /* Process */
    .process-steps {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    .process-steps::before { display: none; }
    .step { max-width: 400px; width: 100%; }
}

/* =====================
   Mobile (768px)
   ===================== */
@media (max-width: 768px) {
    :root { --section-padding: 60px 0; }

    .container { padding: 0 16px; }

    /* Hero */
    .hero {
        height: auto;
        min-height: 100svh;
        padding: 120px 16px 60px;
    }
    .hero h1 {
        font-size: 2rem;
        line-height: 1.25;
    }
    .hero p { font-size: 0.95rem; }
    .hero .btn-group {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .btn-secondary,
    .btn-outline {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }

    /* Section titles */
    .section-title h2 { font-size: 1.8rem; }
    .section-title p { font-size: 0.95rem; }

    /* Feature cards */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .feature-card { padding: 28px 20px; }
    .feature-icon { font-size: 2.2rem; }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .stat-number { font-size: 2.2rem; }
    .stat-label { font-size: 0.75rem; }

    /* Service highlights */
    .service-highlight { margin-bottom: 50px; }
    .service-content h3 { font-size: 1.4rem; }
    .service-img img { border-radius: 12px; }

    /* Process steps */
    .step-number {
        width: 72px;
        height: 72px;
        font-size: 1.4rem;
    }

    /* Footer */
    footer { padding: 50px 0 20px; }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-logo img { height: 45px; }
}

/* =====================
   Small Mobile (480px)
   ===================== */
@media (max-width: 480px) {
    .hero h1 { font-size: 1.75rem; }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .stat-number { font-size: 1.9rem; }

    .section-title h2 { font-size: 1.5rem; }
}
