/* CSS Variables */
:root {
    --primary-color: #f59e0b;
    /* Solar Gold */
    --primary-hover: #d97706;
    --secondary-color: #0f172a;
    /* Deep Analysis Blue */
    --secondary-hover: #1e293b;
    --text-color: #334155;
    --text-light: #64748b;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --accent-blue: #0ea5e9;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1200px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: #ffffff;
    overflow-x: hidden;
    text-align: justify;
    word-spacing: 0.05em;
}

p,
.stat-text {
    margin-bottom: 1.5rem;
    letter-spacing: 0.01em;
}

section {
    padding: 10rem 0;
    border-bottom: 1px solid #f1f5f9;
}

section:nth-child(even) {
    background-color: #f8fafc;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 6px -1px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.4);
}

.btn-primary-small {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

.btn-secondary {
    background-color: var(--white);
    color: var(--secondary-color);
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background-color: var(--bg-light);
    border-color: #cbd5e0;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Top Bar (Library Bar) Styles */
.top-bar {
    background-color: var(--secondary-color);
    color: rgba(255, 255, 255, 0.85);
    padding: 0.6rem 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1001;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-bar-left a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: inherit;
    transition: var(--transition);
}

.top-bar-left a:hover {
    color: var(--primary-color);
}

.top-social {
    display: flex;
    gap: 1rem;
}

.top-social a {
    font-size: 1.1rem;
    color: inherit;
    transition: var(--transition);
}

.top-social a:hover {
    color: var(--primary-color);
}

/* Header Adjustments */
header {
    position: relative;
    /* Default state, becomes fixed or sticky */
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.8rem 0;
    transition: var(--transition);
}

header.sticky {
    position: sticky;
    top: 0;
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
}

header.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.container-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logos {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.logo-divider {
    width: 1px;
    height: 24px;
    background-color: #e2e8f0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-list a {
    font-weight: 500;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.nav-list a:hover {
    color: var(--primary-color);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--secondary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 16rem 0 14rem;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.75)),
        url('images/bg_section_1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, #ffffff, transparent);
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
    position: relative;
    z-index: 10;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-content h1 {
    font-size: 4.2rem;
    margin-bottom: 2rem;
    color: var(--white);
    line-height: 1.05;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 800;
    word-spacing: normal;
    letter-spacing: -0.03em;
    background: linear-gradient(to bottom, #ffffff, #fde68a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.hero-image-wrapper {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-img {
    border-radius: 24px;
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.6);
    max-width: 900px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Sections Common */
section {
    padding: 8rem 0;
}

.section-header {
    margin-bottom: 4rem;
    max-width: 900px;
}

.section-header.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Challenge Section */
.challenge {
    background: 
        radial-gradient(circle at 10% 20%, rgba(245, 158, 11, 0.05), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(14, 165, 233, 0.08), transparent 40%),
        linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.challenge h2 {
    color: var(--white);
}

.challenge .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.challenge-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.challenge-box {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 3.5rem;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.challenge-box:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.challenge-box h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.challenge-box p {
    color: rgba(255, 255, 255, 0.8);
}

/* Problem Cards */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.problem-card {
    background: var(--white);
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    padding: 3rem 2rem;
    position: relative;
    margin-top: 2rem;
    /* Give space for icon overlap */
}

.problem-card .card-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    position: absolute;
    top: -30px;
    left: 2rem;
    font-size: 1.5rem;
    box-shadow: 0 8px 16px rgba(245, 158, 11, 0.3);
}

.problem-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* Problem Cards */
.problems {
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.92)), url('images/bg_section_1.png');
    background-size: cover;
    background-attachment: fixed;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-top: 1rem;
}

.problem-card {
    background: var(--white);
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    padding: 4.5rem 1.8rem 1.8rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.problem-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.card-icon-wrap {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.3rem;
    box-shadow: 0 8px 16px rgba(245, 158, 11, 0.25);
    position: absolute;
    top: 1.8rem;
    left: 1.8rem;
}

.problem-card h3 {
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.problem-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}


/* Intro & Process Section */
.intro {
    background: 
        radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.05), transparent 40%),
        linear-gradient(135deg, #020617 0%, #0f172a 100%);
    color: var(--white);
    padding: 12rem 0;
    position: relative;
}

.intro h2, .intro h3 {
    color: var(--white);
}

.intro .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.intro-content-wrapper {
    max-width: 900px;
    margin-bottom: 5rem;
}

.sub-badge {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.process-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.step-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 3.5rem 2rem;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.step-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--primary-color);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.step-num {
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(245, 158, 11, 0.15);
    margin-bottom: 1rem;
    display: block;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 1.8rem;
}

.step-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

@media (max-width: 1024px) {
    .process-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .process-row {
        grid-template-columns: 1fr;
    }
}

/* Features */
.features {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.94)),
        url('images/bg_section_2.png');
    background-size: cover;
    background-attachment: fixed;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    border-radius: 32px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-img-box {
    height: 220px;
    overflow: hidden;
}

.feature-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-img-box img {
    transform: scale(1.1);
}

.feature-card-content {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.feature-card-content h3 {
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
}

/* Works Section Cards */
.how-it-works {
    background: 
        radial-gradient(circle at 50% 10%, rgba(14, 165, 233, 0.05), transparent 40%),
        linear-gradient(135deg, #0f172a 0%, #111827 100%);
    color: var(--white);
    padding: 10rem 0;
}

.how-it-works h2 {
    color: var(--white);
}

.how-it-works .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.works-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.work-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 3.5rem 2rem;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.work-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.work-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--primary-color);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.work-num {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(245, 158, 11, 0.15);
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
}

/* Benefits */
.benefits {
    background: var(--bg-light);
    padding: 8rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.benefit-card {
    padding: 3rem;
    background: var(--white);
    border-radius: 24px;
    text-align: left;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-10px) translateX(5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.benefit-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* Why Choose Section */
.why-choose {
    background: linear-gradient(rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.88)), url('images/industry_leading.jpg');
    background-size: cover;
    background-attachment: fixed;
    color: var(--white);
    padding: 10rem 0;
}

.why-choose h2 {
    color: var(--white);
}

.why-choose .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
}

.stat-box {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    background: var(--bg-white);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.cta-box {
    background: #fff7ed;
    /* Light peach/orange */
    padding: 3rem 2rem;
    border-radius: 24px;
    transition: var(--transition);
    border: 1px solid #ffedd5;
}

.cta-box:hover {
    transform: translateY(-10px) perspective(1000px) rotateX(2deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.cta-box h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.cta-box .btn {
    margin-top: 1.5rem;
}

/* Floating Badge Animation Enhanced */
.floating-badge {
    position: fixed;
    top: 6rem;
    right: 2.5rem;
    background: var(--primary-color);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
    z-index: 1001;
    animation: float-badge 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@keyframes float-badge {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(3deg);
    }
}

.floating-badge i {
    font-size: 1.2rem;
}

/* Contact section alignment */
.contact {
    background: var(--secondary-color);
    background-image: radial-gradient(circle at top right, rgba(245, 158, 11, 0.1), transparent),
        linear-gradient(135deg, rgba(15, 23, 42, 1), rgba(30, 41, 59, 1));
    color: var(--white);
    padding: 10rem 0;
}

.contact h2 {
    color: var(--white);
    margin-bottom: 2rem;
}

.contact .contact-info p {
    color: rgba(255, 255, 255, 0.7);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.contact-info {
    padding: 3.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-details h4 {
    color: var(--white);
}

.contact-details p,
.contact-details a {
    color: rgba(255, 255, 255, 0.8);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 3.5rem;
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.form-group label {
    color: var(--secondary-color);
}

.contact-item i {
    background: rgba(245, 158, 11, 0.15);
    color: var(--primary-color);
}

.social-icon {
    background: rgba(255, 255, 255, 0.08);
    color: var(--primary-color);
}

.social-icon:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Duplication removed */

.contact-form-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.form-intro {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.req {
    color: var(--primary-color);
    font-weight: 700;
}

.contact-form .btn-primary {
    transition: var(--transition);
    margin-top: 0.5rem;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-form .btn-primary:active {
    transform: scale(0.98);
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-icon-footer {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #94a3b8;
    transition: var(--transition);
}

.social-icon-footer:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-address {
    margin-top: 1.5rem;
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-address a {
    color: #94a3b8;
}

.footer-address a:hover {
    color: var(--primary-color);
}

.footer-address i {
    color: var(--primary-color);
    margin-right: 0.4rem;
}

/* Footer Theme */
.footer {
    background:
        linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.95)),
        url('images/industry_leading.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 7rem 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.4fr;
    gap: 5rem;
    padding-bottom: 5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    align-items: start;
}

.footer-col h4 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
}

.footer-nav {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 1rem;
}

.footer-nav a {
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-nav a i {
    color: var(--primary-color);
    font-size: 1rem;
}

.footer-nav a:hover {
    color: var(--primary-color);
    padding-left: 4px;
}

.footer-contact-list {
    list-style: none;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contact-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-list a {
    color: #94a3b8;
    transition: var(--transition);
}

.footer-contact-list a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: #64748b;
    font-size: 0.9rem;
}

.footer-bottom-inner a {
    color: var(--primary-color);
}

/* Map Section */
.map-section {
    padding: 8rem 0 0;
    background: #fff;
    border-top: 1px solid #f1f5f9;
}

.map-wrapper {
    position: relative;
    margin-top: 3rem;
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 480px;
    border: 0;
    filter: grayscale(10%);
}

.map-overlay-card {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: var(--white);
    padding: 1.5rem 1.8rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    max-width: 300px;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    z-index: 10;
}

.map-overlay-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.map-overlay-card h4 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.map-overlay-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-logo {
    height: 48px;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: #94a3b8;
}

.footer-links h4 {
    margin-bottom: 2rem;
    color: var(--white);
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #94a3b8;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Forms */

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}

.contact-form .btn-primary {
    transition: var(--transition);
    border: 2px solid transparent;
}

.contact-form .btn-primary:active {
    transform: scale(0.98);
}

/* Feedback Helpers */
.text-light { color: #fff !important; }
.text-danger { color: #dc3545 !important; }
.bg-light { background-color: #f8f9fa !important; }

/* Feedback Messages */
.sent-message,
.error-message {
    display: none;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
}

.sent-message {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #10b981;
}

.error-message {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #ef4444;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: rgba(245, 158, 11, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.social-links-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Social Icons Global override */
.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

/* old footer-bottom override removed — new one defined above */


/* ==========================================================================
   Comprehensive Responsive Styles
   ========================================================================== */

/* Large Tablets & Small Laptops (up to 1024px) */
@media (max-width: 1024px) {
    :root {
        --container-width: 95%;
    }

    .hero-content h1 {
        font-size: 3.2rem;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .challenge-grid,
    .intro-content-wrapper,
    .process-row,
    .features-grid,
    .works-row,
    .benefits-grid,
    .stats-grid,
    .cta-features {
        gap: 2rem;
    }

    .process-row,
    .works-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets (up to 768px) */
@media (max-width: 768px) {
    section {
        padding: 6rem 0;
    }

    .hero {
        padding: 10rem 0 8rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .nav-list {
        display: none;
        /* Mobile menu handled by JS class toggle */
    }

    .mobile-nav-toggle {
        display: block;
    }

    .top-bar-left span {
        display: none;
        /* Hide email/phone text on very small screens, keep icons? */
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-nav a,
    .footer-contact-list li {
        justify-content: center;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .stat-box {
        padding: 1rem;
    }
}

/* Phones (up to 480px) */
@media (max-width: 480px) {
    .top-bar-left {
        gap: 0.8rem;
    }

    .top-bar-left a {
        font-size: 0.75rem;
    }

    .top-bar-right {
        display: none;
        /* Hide social icons on tiny screens to save space */
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .badge {
        font-size: 0.7rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .btn {
        width: 100%;
        padding: 0.8rem 1.5rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .process-row,
    .works-row,
    .features-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper,
    .contact-info {
        padding: 2rem 1.5rem;
    }

    .footer {
        padding-top: 4rem;
    }
}

/* Utility Class for Reveal on Mobile */
@media (max-width: 768px) {
    .reveal {
        transition-duration: 0.6s;
    }
}