/* ============================================
   Wide Creation Hope — Main Stylesheet
   Design System: Deep Navy, Tech Blue, Cyan
   Typography: Montserrat + Inter
   ============================================ */

/* === CSS Variables === */
:root {
    --deep-navy: #003366;
    --tech-blue: #0066CC;
    --cyan-accent: #00CCFF;
    --pure-white: #FFFFFF;
    --light-gray: #F8F9FA;
    --dark-gray: #333333;
    --navy-gradient: linear-gradient(135deg, #001a33 0%, #003366 50%, #00264d 100%);
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --card-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

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

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

/* === Typography === */
h1 {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
}

h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
}

p {
    font-size: 16px;
    line-height: 1.7;
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--tech-blue);
    color: var(--pure-white);
    border-color: var(--tech-blue);
}

.btn-primary:hover {
    background: #0055aa;
    border-color: #0055aa;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--pure-white);
    border-color: var(--pure-white);
}

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

.btn-full {
    width: 100%;
}

/* === Section Labels === */
.section-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--tech-blue);
    margin-bottom: 12px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    margin-bottom: 16px;
    color: var(--deep-navy);
}

.section-header.light h2 {
    color: var(--pure-white);
}

.section-desc {
    color: #666;
    font-size: 16px;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(0, 26, 51, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo img.logo-icon {
    width: 40px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--pure-white);
    letter-spacing: 2px;
}

.logo-subtitle {
    font-family: var(--font-heading);
    font-size: 9px;
    font-weight: 600;
    color: var(--cyan-accent);
    letter-spacing: 3px;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--pure-white);
}

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

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

.nav-cta {
    padding: 10px 24px;
    font-size: 12px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--pure-white);
    transition: var(--transition);
}

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

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

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy-gradient);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 70% 50%, rgba(0, 102, 204, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 30% 80%, rgba(0, 204, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding-top: 100px;
    padding-bottom: 60px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    color: var(--pure-white);
    margin-bottom: 20px;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 18px;
    margin-bottom: 36px;
}

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

.hero-image {
    flex: 1;
    max-width: 550px;
    position: relative;
}

.hero-image img {
    width: 100%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.5);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: 120px 0;
    background: var(--pure-white);
}

.about-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
    max-width: 520px;
}

.about-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 51, 102, 0.15);
}

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

.about-image-overlay {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 26, 51, 0.7);
    backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 8px;
    z-index: 2;
    white-space: nowrap;
    height: auto;
    bottom: auto;
    width: auto;
    max-width: 90%;
}

.about-image-overlay img {
    width: 28px !important;
    height: 18px !important;
    min-height: 0 !important;
    object-fit: contain;
    flex-shrink: 0;
}

.about-image-overlay span {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    color: var(--pure-white);
    letter-spacing: 2px;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    color: var(--deep-navy);
    margin-bottom: 20px;
}

.about-content p {
    color: #555;
    margin-bottom: 16px;
}

.about-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 36px;
}

.metric-card {
    background: var(--pure-white);
    border-radius: 12px;
    padding: 20px 12px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid #eee;
}

.metric-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.metric-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: var(--tech-blue);
    font-size: 20px;
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--deep-navy);
    margin-bottom: 4px;
}

.metric-label {
    font-size: 13px;
    color: #777;
    line-height: 1.3;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio {
    padding: 120px 0;
    background: var(--light-gray);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.portfolio-card {
    background: var(--pure-white);
    border-radius: 12px;
    padding: 32px 28px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid #eee;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
}

.portfolio-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(0, 102, 204, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--tech-blue);
    font-size: 24px;
}

.portfolio-card h3 {
    font-size: 20px;
    color: var(--deep-navy);
    margin-bottom: 10px;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 14px;
}

.badge-blue { background: #E3F2FD; color: #1565C0; }
.badge-green { background: #E8F5E9; color: #2E7D32; }
.badge-purple { background: #F3E5F5; color: #7B1FA2; }
.badge-red { background: #FFEBEE; color: #C62828; }
.badge-cyan { background: #E0F7FA; color: #00838F; }
.badge-orange { background: #FFF3E0; color: #E65100; }

.portfolio-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.card-link {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--tech-blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.card-link:hover {
    color: var(--deep-navy);
    gap: 10px;
}

.card-link i {
    font-size: 12px;
    transition: var(--transition);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: 120px 0;
    background: var(--pure-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: linear-gradient(135deg, #f0f8ff 0%, #e8f4fd 100%);
    border-radius: 12px;
    padding: 40px 32px;
    transition: var(--transition);
    border: 1px solid rgba(0, 102, 204, 0.08);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--pure-white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--tech-blue);
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
}

.service-card h3 {
    color: var(--deep-navy);
    margin-bottom: 14px;
}

.service-card p {
    color: #555;
    font-size: 15px;
    margin-bottom: 20px;
}

/* ============================================
   IMPACT METRICS SECTION
   ============================================ */
.impact {
    padding: 100px 0;
    position: relative;
    background: var(--navy-gradient);
    overflow: hidden;
}

.impact-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(0, 204, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(0, 102, 204, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.impact .container {
    position: relative;
    z-index: 2;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 60px;
    max-width: 900px;
    margin: 0 auto;
}

.impact-item {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
}

.impact-prefix,
.impact-suffix {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--cyan-accent);
}

.impact-value {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    color: var(--pure-white);
}

.impact-label {
    width: 100%;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
    letter-spacing: 0.5px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f8ff 0%, var(--light-gray) 100%);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-cta h2 {
    color: var(--deep-navy);
    margin-bottom: 16px;
    font-size: 32px;
}

.contact-cta p {
    color: #555;
    margin-bottom: 28px;
    font-size: 16px;
}

.contact-form-wrapper {
    background: var(--pure-white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--card-shadow);
}

.contact-form-wrapper h3 {
    color: var(--deep-navy);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--dark-gray);
    transition: var(--transition);
    background: var(--light-gray);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--tech-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    background: var(--pure-white);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--navy-gradient);
    padding: 80px 0 0;
    color: var(--pure-white);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-logo img {
    width: 36px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-logo span {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--pure-white);
}

.footer-tagline {
    font-size: 14px;
    color: var(--cyan-accent);
    margin-bottom: 12px;
    font-weight: 500;
}

.footer-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    line-height: 1.6;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--tech-blue);
    border-color: var(--tech-blue);
    color: var(--pure-white);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--pure-white);
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-col ul li a:hover {
    color: var(--cyan-accent);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.contact-info li i {
    color: var(--cyan-accent);
    margin-top: 3px;
    font-size: 14px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.lang-toggle a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.lang-toggle a.active {
    color: var(--cyan-accent);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet: 768px - 1279px */
@media (max-width: 1279px) {
    h1 { font-size: 40px; }
    h2 { font-size: 30px; }
    
    .hero-inner { gap: 40px; }
    .hero-image { max-width: 420px; }
    
    .about-inner { gap: 40px; }
    .about-metrics { grid-template-columns: repeat(2, 1fr); }
    
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile: 320px - 767px */
@media (max-width: 767px) {
    h1 { font-size: 32px; }
    h2 { font-size: 26px; }
    h3 { font-size: 20px; }
    
    .container { padding: 0 16px; }
    
    /* Navbar Mobile */
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 26, 51, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        font-size: 18px;
    }
    
    .nav-cta { display: none; }
    .hamburger { display: flex; z-index: 1001; }
    
    /* Hero Mobile */
    .hero { min-height: auto; padding: 120px 0 60px; }
    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .hero-content { max-width: 100%; }
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-image { max-width: 320px; margin: 0 auto; }
    .scroll-indicator { display: none; }
    
    /* About Mobile */
    .about { padding: 80px 0; }
    .about-inner {
        flex-direction: column;
    }
    .about-image { max-width: 100%; }
    .about-metrics { grid-template-columns: repeat(2, 1fr); }
    
    /* Portfolio Mobile */
    .portfolio { padding: 80px 0; }
    .portfolio-grid { grid-template-columns: 1fr; }
    
    /* Services Mobile */
    .services { padding: 80px 0; }
    .services-grid { grid-template-columns: 1fr; }
    
    /* Impact Mobile */
    .impact { padding: 60px 0; }
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .impact-value { font-size: 36px; }
    .impact-prefix, .impact-suffix { font-size: 28px; }
    
    /* Contact Mobile */
    .contact { padding: 60px 0; }
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-cta { text-align: center; }
    .contact-form-wrapper { padding: 28px 20px; }
    
    /* Footer Mobile */
    .footer { padding: 60px 0 0; }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

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

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Smooth scroll offset for fixed navbar === */
section[id] {
    scroll-margin-top: 80px;
}
