/* 
=========================================
IN2LANKA CORPORATE STYLESHEET
=========================================
Brand: In2Lanka - Connecting Innovation with Impact
Colors: Deep Saffron, Rich Orange, Warm Gold, Charcoal, Off-White
Typography: Poppins (Headings) & Inter (Body)
*/

/* 1. Global Reset & Core Variables */
:root {
    --primary: #E67E22;         /* Deep Saffron */
    --primary-rgb: 230, 126, 34;
    --secondary: #FF6B00;       /* Rich Orange */
    --secondary-rgb: 255, 107, 0;
    --accent: #F4B942;          /* Warm Gold */
    --dark: #1B1B1B;            /* Charcoal */
    --dark-rgb: 27, 27, 27;
    --light: #F8F8F8;           /* Off White */
    --white: #FFFFFF;
    --text-dark: #2C2C2C;
    --text-muted: #6B7280;
    --border-color: rgba(0, 0, 0, 0.08);
    --transition-fast: 0.25s ease;
    --transition-medium: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.06), 0 4px 6px -2px rgba(0,0,0,0.03);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.03);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
}

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

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* 2. Typography Styles (McKinsey / BCG Elite feel) */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    font-weight: 700;
    line-height: 1.25;
}

p {
    font-weight: 400;
    color: var(--text-muted);
}

strong, b {
    color: var(--dark);
    font-weight: 600;
}

/* 3. Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 7.5rem 0;
}

.text-center { text-align: center; }
.text-saffron { color: var(--primary); }
.text-orange { color: var(--secondary); }
.text-white { color: var(--white); }

.section-header {
    max-width: 720px;
    margin: 0 auto 5rem auto;
    text-align: center;
}

.section-subtitle {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 1.25rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.section-header.align-left {
    text-align: left;
    margin-left: 0;
}

.section-header.align-left .section-title::after {
    left: 0;
    transform: none;
}

/* Button & Link UI */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.25rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 6px;
    transition: var(--transition-medium);
    cursor: pointer;
    text-decoration: none;
    border: 2px solid transparent;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white) !important;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.45);
}

.btn-secondary {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white) !important;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-dark-outline {
    background-color: transparent;
    border-color: var(--dark);
    color: var(--dark) !important;
}

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

/* 4. Sticky Header Navigation styling */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-medium);
    padding: 1.5rem 0;
    background-color: transparent;
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.625rem;
    color: var(--dark);
    text-decoration: none;
    letter-spacing: -0.03em;
    transition: var(--transition-fast);
}

.logo-accent {
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.site-header.scrolled .logo {
    color: var(--dark);
}

.nav-menu ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-link {
    font-family: 'Poppins', sans-serif;
    font-size: 0.925rem;
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.25rem 0;
}

.site-header.scrolled .nav-link {
    color: var(--text-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition-fast);
}

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

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

/* Elegant CTA link inside Nav */
.btn-contact {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white) !important;
    padding: 0.625rem 1.5rem !important;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(230, 126, 34, 0.2);
}

.btn-contact:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(230, 126, 34, 0.35);
}

.btn-contact::after {
    display: none !important;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 24px;
    height: 18px;
    position: relative;
    z-index: 1001;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition-fast);
    border-radius: 1px;
}

.site-header.scrolled .mobile-toggle .bar {
    background-color: var(--dark);
}

/* 5. Hero Section (Animated Premium Canvas) */
.hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
    background-color: var(--dark);
}

/* Animated Abstract Gradient Backdrop */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(230, 126, 34, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 80% 80%, rgba(255, 107, 0, 0.12) 0%, transparent 40%),
                radial-gradient(circle at 50% 50%, rgba(27, 27, 27, 1) 0%, rgba(15, 15, 15, 1) 100%);
    z-index: 1;
}

/* Animated floating blobs */
.hero-glow-1 {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 80vw;
    height: 80vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 126, 34, 0.08) 0%, rgba(230, 126, 34, 0) 70%);
    animation: pulseGlow 15s infinite alternate ease-in-out;
    z-index: 2;
}

.hero-glow-2 {
    position: absolute;
    bottom: -20%;
    right: -20%;
    width: 80vw;
    height: 80vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.07) 0%, rgba(255, 107, 0, 0) 70%);
    animation: pulseGlow 18s infinite alternate-reverse ease-in-out;
    z-index: 2;
}

@keyframes pulseGlow {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.15) translate(80px, 50px); }
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 840px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--white) 30%, #E2E8F0 60%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(30px);
    animation: heroRevealUp 1s 0.2s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: #CBD5E1;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 720px;
    opacity: 0;
    transform: translateY(30px);
    animation: heroRevealUp 1s 0.4s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: heroRevealUp 1s 0.6s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes heroRevealUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: var(--transition-fast);
}

.hero-scroll:hover {
    color: var(--primary);
}

.hero-scroll-mouse {
    width: 22px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.hero-scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollMouse 1.8s infinite ease-in-out;
}

@keyframes scrollMouse {
    0% { top: 6px; opacity: 1; }
    80% { top: 20px; opacity: 0; }
    100% { top: 6px; opacity: 0; }
}

/* 6. About Us Section styling */
.about {
    background-color: var(--white);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.about-content-text p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.about-cards-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* McKinsey consulting style visual representation / Icon card */
.about-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 8px;
    display: flex;
    gap: 1.5rem;
    transition: var(--transition-medium);
    box-shadow: var(--shadow-sm);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(230, 126, 34, 0.2);
}

.about-card-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(230, 126, 34, 0.08);
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition-medium);
}

.about-card:hover .about-card-icon {
    background-color: var(--primary);
    color: var(--white);
}

.about-card-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.about-card-info p {
    font-size: 0.925rem;
    margin-bottom: 0;
}

/* 7. What We Do Section (Large Premium Service Cards) */
.services {
    background-color: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.service-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem;
    transition: var(--transition-medium);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Glassmorphism subtle layout */
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(230, 126, 34, 0.25);
    background: linear-gradient(135deg, var(--white) 0%, rgba(254, 243, 199, 0.15) 100%);
}

.service-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    color: rgba(230, 126, 34, 0.12);
    line-height: 1;
    margin-bottom: 1rem;
    transition: var(--transition-medium);
}

.service-card:hover .service-number {
    color: var(--primary);
}

.service-title {
    font-size: 1.625rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.service-content {
    font-size: 0.975rem;
    color: var(--text-muted);
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
    margin-top: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.service-list li {
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-list li i {
    color: var(--primary);
    font-size: 1rem;
}

/* 8. Vision & Mission Section (Split Cards with Dark / Saffron theme) */
.mission-vision {
    background-color: var(--white);
    position: relative;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.mv-card {
    border-radius: 12px;
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
    height: 100%;
    box-shadow: var(--shadow-md);
    transition: var(--transition-medium);
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.mv-card.vision-card {
    background: linear-gradient(135deg, var(--dark) 0%, #151515 100%);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mv-card.mission-card {
    background: linear-gradient(135deg, #FFF9F3 0%, #FFF1E6 100%);
    border: 1px solid rgba(230, 126, 34, 0.15);
}

.mv-icon-bg {
    position: absolute;
    right: -2rem;
    bottom: -2rem;
    font-size: 10rem;
    color: rgba(0, 0, 0, 0.02);
    line-height: 1;
}

.vision-card .mv-icon-bg {
    color: rgba(230, 126, 34, 0.05);
}

.mission-card .mv-icon-bg {
    color: rgba(230, 126, 34, 0.04);
}

.mv-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.vision-card .mv-title {
    color: var(--white);
}

.mission-card .mv-title {
    color: var(--dark);
}

.mv-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.vision-card .mv-icon {
    background-color: rgba(230, 126, 34, 0.15);
    color: var(--primary);
}

.mission-card .mv-icon {
    background-color: var(--primary);
    color: var(--white);
}

.mv-text {
    font-size: 1.1rem;
    line-height: 1.7;
}

.vision-card .mv-text {
    color: #D1D5DB;
}

.mission-card .mv-text {
    color: var(--text-dark);
}

/* 9. Why In2Lanka Section styling */
.why-us {
    background-color: var(--light);
}

.why-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 5rem;
    align-items: center;
}

/* Animated Counters Block */
.stats-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.stat-item {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 1.5rem 1.75rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.25rem;
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.reasons-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.reason-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    transition: var(--transition-medium);
}

.reason-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(230, 126, 34, 0.2);
}

.reason-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(230, 126, 34, 0.08);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.reason-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark);
    line-height: 1.4;
    padding-top: 0.45rem;
}

/* 10. Impact Section (Premium Full-Width styling) */
.impact {
    position: relative;
    color: var(--white);
    background-color: var(--dark);
    overflow: hidden;
}

.impact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(230, 126, 34, 0.15) 0%, transparent 45%),
                linear-gradient(135deg, rgba(27, 27, 27, 0.95) 0%, rgba(15, 15, 15, 0.95) 100%);
    z-index: 1;
}

/* Geometric details */
.impact-svg-pattern {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: auto;
    opacity: 0.03;
    z-index: 2;
}

.impact-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.impact-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.impact-desc {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #CBD5E1;
    margin-bottom: 2.5rem;
}

/* 11. Contact Inquiry Section styling */
.contact {
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-prompt {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.method-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.method-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    border: 1.5px solid rgba(230, 126, 34, 0.15);
    background-color: #FFFDFB;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.method-detail h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.method-detail p, .method-detail a {
    font-size: 0.925rem;
    color: var(--text-muted);
    text-decoration: none;
}

.method-detail a:hover {
    color: var(--primary);
}

/* Contact Form container (Glassmorphic input cards) */
.form-container {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.form-alert {
    padding: 1.25rem;
    border-radius: 6px;
    margin-bottom: 2rem;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-alert-success {
    background-color: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #065F46;
}

.form-alert-error {
    background-color: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #991B1B;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.form-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(0,0,0,0.12);
    background-color: var(--light);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--dark);
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    background-color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.15);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Hidden spam honeypot */
.website-hp-field {
    display: none !important;
    visibility: hidden !important;
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
    border: none;
}

/* 12. Corporate Footer & Bottom Bar styling */
.site-footer {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 6rem 0 0 0;
    font-size: 0.925rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 4rem 2rem;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.2fr;
    gap: 5rem;
}

.footer-logo {
    display: block;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.03em;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #94A3B8;
    margin-bottom: 1.75rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-medium);
}

.social-links a:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-heading {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a i {
    font-size: 0.75rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

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

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #94A3B8;
}

.footer-contact li i {
    font-size: 1.1rem;
    margin-top: 0.15rem;
}

.footer-contact a {
    color: #94A3B8;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
}

.bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748B;
    font-size: 0.825rem;
}

.bottom-links {
    display: flex;
    gap: 1.5rem;
}

.bottom-links a {
    color: #64748B;
    text-decoration: none;
    transition: var(--transition-fast);
}

.bottom-links a:hover {
    color: var(--primary);
}

/* 13. Back to Top Button */
.back-to-top {
    position: fixed;
    right: 2rem;
    bottom: -5rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-medium);
}

.back-to-top.show {
    bottom: 2rem;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(230, 126, 34, 0.35);
}

/* 14. Smooth Scroll Reveal Styling (JS trigger) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger transition delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* 15. Responsive Breakpoints (Mobile First) */

@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 3.25rem;
    }
    
    .about-grid {
        gap: 3rem;
    }
    
    .services-grid {
        gap: 1.5rem;
    }
    
    .contact-grid {
        gap: 3rem;
    }
    
    .footer-container {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px; /* scale slightly down */
    }
    
    .section-padding {
        padding: 5rem 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    /* Responsive Navigation Header */
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        transition: right var(--transition-medium);
        padding: 6rem 2.5rem 2.5rem 2.5rem;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    
    .nav-link {
        color: var(--dark) !important;
        font-size: 1.125rem;
        width: 100%;
        display: block;
    }
    
    .site-header.scrolled .mobile-toggle .bar {
        background-color: var(--dark);
    }
    
    /* Toggle active burger state */
    .mobile-toggle.active .line-1 {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--dark);
    }
    
    .mobile-toggle.active .line-2 {
        opacity: 0;
    }
    
    .mobile-toggle.active .line-3 {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--dark);
    }
    
    .mobile-toggle.active .bar {
        background-color: var(--dark);
    }
    
    .site-header {
        padding: 1rem 0;
        background-color: transparent;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .impact-title {
        font-size: 2.25rem;
    }
    
    .bottom-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .btn {
        width: 100%; /* stack CTA buttons on tiny devices */
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .mv-card {
        padding: 2rem;
    }
}
