/* --- CSS Variables & Resets --- */
:root {
    --primary: #FDC311;
    /* Gold accent */
    --primary-dark: #e0ac0d;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-accent: #f0f2f5;
    --text-main: #111111;
    --text-muted: #666666;
    --border-color: #e5e5e5;

    --font-sans: 'Inter', sans-serif;
    --font-display: 'Montserrat', sans-serif;

    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overscroll-behavior-y: contain;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
}

.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 30%;
    background: rgba(253, 195, 17, 0.2);
    z-index: -1;
}

/* --- Layout Utility --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
}

/* --- Glow Cursor --- */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(253, 195, 17, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

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

.logo img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-sans);
    font-size: 1rem;
}

.primary-btn {
    background-color: var(--primary);
    color: #000;
}

.primary-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(253, 195, 17, 0.3);
}


.secondary-btn {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.secondary-btn:hover {
    border-color: var(--text-main);
    background-color: var(--bg-light);
    transform: translateY(-3px);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 100px;
    padding-bottom: 200px;
    /* Increased space at bottom for text */
    background-color: var(--bg-white);
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 10;
    padding: 0 2rem;
}

.hero-bg-text {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(20%);
    font-size: clamp(5rem, 16vw, 14rem);
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--border-color);
    opacity: 0.35;
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    line-height: 1;
}

.hero-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 12;
}

.hero-icon-wrapper {
    position: absolute;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

/* Positioned scattered around the title */
.hero-icon-wrapper.icon-1 {
    bottom: 45%;
    right: -45px;
    animation-delay: 0s;
}

.hero-icon-wrapper.icon-2 {
    bottom: 50px;
    right: 8%;
    animation-delay: -1.2s;
}

.hero-icon-wrapper.icon-3 {
    top: 20%;
    left: -70px;
    animation-delay: -2.4s;
}

.hero-icon-wrapper.icon-4 {
    top: 17%;
    right: -70px;
    animation-delay: -3.6s;
}

.hero-icon-wrapper.icon-5 {
    bottom: 25%;
    left: -20px;
    animation-delay: -4.8s;
}

.hero-icon {
    width: 54px;
    height: 54px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    pointer-events: auto;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease;
}

.hero-icon:hover {
    transform: scale(1.2);
    border-color: var(--primary);
}

.hero-icon svg {
    width: 24px;
    height: 24px;
}

/* Pause floating animation when the inner icon is hovered */
.hero-icon-wrapper:has(.hero-icon:hover) {
    animation-play-state: paused;
}

/* Tooltip design - static to wrapper, horizontal layout */
.icon-tooltip {
    position: absolute;
    bottom: 70px;
    /* Position above the icon wrapper */
    left: 50%;
    transform: translateX(-50%) translateY(10px) scale(0.9);
    width: 180px !important;
    height: 75px !important;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    /* Compact padding */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), visibility 0.3s;
    text-align: left;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100;
}

.icon-tooltip h4 {
    font-size: 0.8rem;
    /* Bold, readable title */
    margin: 0 0 4px 0;
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.2;
}

.icon-tooltip p {
    font-size: 0.85rem !important;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.35;
}

.hero-icon-wrapper:hover .icon-tooltip {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
}

/* Arrow for tooltip */
.icon-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.98) transparent transparent transparent;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Hide or adjust icons on smaller viewports to prevent overlapping text */
@media (max-width: 1024px) {
    .hero-icon-wrapper.icon-3 {
        left: -20px;
    }

    .hero-icon-wrapper.icon-4 {
        right: -20px;
    }
}

@media (max-width: 768px) {
    .hero-icon {
        width: 36px;
        height: 36px;
    }

    .hero-icon svg {
        width: 18px;
        height: 18px;
    }

    .hero-icon-wrapper.icon-1 {
        bottom: 100%;
        right: 75%;
        top: auto;
    }

    .hero-icon-wrapper.icon-2 {
        bottom: 60%;
        right: 16%;
        top: auto;
    }

    .hero-icon-wrapper.icon-3 {
        display: block;
        top: 12%;
        left: 5%;
    }

    .hero-icon-wrapper.icon-4 {
        display: block;
        top: 8%;
        right: 8%;
    }

    .hero-icon-wrapper.icon-5 {
        display: block;
        bottom: 60%;
        left: 12%;
    }

    .icon-tooltip {
        display: none !important;
    }
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.hero p {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-inline: auto;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* High-tech Background Elements */
.tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 100px 100px;
    opacity: 0.3;
    z-index: 1;
    mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
}

.tech-circle {
    position: absolute;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.5;
}

.tech-circle::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    border: 1px dashed var(--border-color);
    top: 10%;
    left: 10%;
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* --- Services Section --- */
.services {
    background-color: var(--bg-light);
    padding-bottom: 10rem;
}

.services-container {
    max-width: 1440px;
}

.services-header-wrap {
    margin: 0 auto 5rem auto;
    max-width: 1000px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-icon-wrapper {
    color: #FDC311;
    /* Theme yellow crown */
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    border-radius: 8px; /* Slightly round the bounding box for cleaner shine clip */
}

.services-icon-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    pointer-events: none;
}

.services-icon-wrapper:hover::after {
    animation: shine 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.crown-shape-icon {
    width: 100%;
    height: 100%;
}

.services-main-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-family: var(--font-sans);
    margin-bottom: 1.5rem;
}

.services-main-title .text-dark {
    color: #111111;
}

.services-main-title .text-light {
    color: #aeaeae;
    /* Muted gray for the second part */
}

.services-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Staggered Grid for Desktop */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-top: 2rem;
}

.service-card {
    border-radius: 32px;
    padding: 2.5rem 2rem;
    height: 540px;
    /* Taller cards */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s;
    z-index: 1;
}

/* Staggered arrangement & scroll reveal */
@media (min-width: 993px) {
    .services-grid .service-card.reveal {
        opacity: 0;
        transform: translateY(150px); /* Both start at the same bottom position */
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .services-grid .service-card.reveal.active {
        opacity: 1;
    }

    .services-grid .service-card:nth-child(odd).reveal.active {
        transform: translateY(0);
    }

    .services-grid .service-card:nth-child(even).reveal.active {
        transform: translateY(110px);
    }
}

/* Badges */
.card-badge {
    align-self: flex-start;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: transparent;
    z-index: 2;
    transition: var(--transition);
}

.card-body {
    margin-top: auto;
    z-index: 2;
}

.card-circle-marker {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #FDC311;
    margin-bottom: 1.5rem;
}

.card-heading {
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
    font-family: var(--font-sans);
}

.card-desc {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Dark Card (First card) */
.card-dark {
    background-color: #0b0b0b;
    color: #ffffff;
    border: 1px solid #1a1a1a;
}

.card-dark .card-badge {
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.card-dark .card-desc {
    color: #a0a0a0;
}

/* Light Card (Fourth card) */
.card-light {
    background-color: #eaeaea;
    color: #111111;
    border: 1px solid transparent;
}

.card-light .card-badge {
    border-color: rgba(0, 0, 0, 0.3);
    color: #111111;
}

.card-light .card-desc {
    color: #555555;
}

/* Placeholder Cards (Middle two cards) */
.card-placeholder {
    background-color: #f5f5f5;
    color: #000000;
    border: 1px solid #ddd;
}

.card-placeholder .card-badge {
    border-color: rgba(0, 0, 0, 0.3);
    color: #000000;
}

.card-placeholder .card-desc {
    color: #000000;
}

.card-image-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-image-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
}

/* Hover effects for cards */
.service-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

@media (min-width: 993px) {
    .services-grid .service-card:nth-child(odd).reveal.active:hover {
        transform: translateY(-12px);
    }

    .services-grid .service-card:nth-child(even).reveal.active:hover {
        transform: translateY(98px); /* 110px - 12px */
    }
}

@media (max-width: 992px) {
    .service-card:hover {
        transform: translateY(-12px);
    }
}

.card-dark:hover {
    border-color: #FDC311;
}

.card-light:hover {
    border-color: rgba(0, 0, 0, 0.2);
    background-color: #f0f0f0;
}

/* Responsive adjustments for services section */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .services-header-wrap {
        margin-bottom: 3rem;
    }

    .services-title-container {
        gap: 1rem;
    }

    .services-icon-wrapper {
        width: 52px;
        height: 52px;
    }

    .services-subtitle {
        margin-left: 0;
    }

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

    .service-card {
        height: 540px;
        max-width: 350px;
        margin: 0 auto;
    }
}

.services-footer-wrap {
    margin: 12rem auto 0 auto;
    max-width: 1000px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-footer-text {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-family: var(--font-sans);
}

.services-footer-text .text-dark {
    color: #111111;
}

.services-footer-text .text-light {
    color: #aeaeae;
}

@media (max-width: 768px) {
    .services-footer-wrap {
        margin-top: 6rem;
    }
}


/* --- About Us Section --- */
.about {
    background-color: var(--bg-white);
}

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

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--primary);
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-top: 0.5rem;
    line-height: 1.3;
    white-space: nowrap;
}

.about-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--bg-accent);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Light sweeping effect on hover */
.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    pointer-events: none;
}

.about-image:hover::after {
    animation: shine 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes shine {
    100% {
        left: 125%;
    }
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f2f5 0%, #e2e4e8 100%);
    color: var(--text-muted);
    font-weight: 600;
    position: relative;
}

.glass-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    backdrop-filter: blur(5px);
}

.text-center {
    text-align: center !important;
}

/* --- Clients Section --- */
.clients {
    padding: 8rem 0;
    background-color: var(--bg-white);
    overflow: hidden;
}

.clients-slider {
    position: relative;
    width: 100%;
    margin-top: 4rem;
    overflow: hidden;
    padding: 1rem 0;
}

/* Gradient overlays to fade out the sides */
.clients-slider::before,
.clients-slider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.clients-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-white) 0%, rgba(255, 255, 255, 0) 100%);
}

.clients-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-white) 0%, rgba(255, 255, 255, 0) 100%);
}

.clients-track {
    display: flex;
    width: max-content;
    animation: scroll-clients 35s linear infinite;
}

.client-logo-wrapper {
    padding: 0 1.5rem;
    flex-shrink: 0;
}

.client-placeholder {
    width: 200px;
    height: 100px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
    position: relative;
    overflow: hidden;
}

.client-placeholder img {
    max-width: 80%;
    max-height: 70%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.85;
    display: block;
}

.client-placeholder span {
    position: relative;
    z-index: 2;
}

@keyframes scroll-clients {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .clients {
        padding: 5rem 0;
    }
    .clients-slider {
        margin-top: 2rem;
    }
    .clients-slider::before,
    .clients-slider::after {
        width: 80px;
    }
    .client-placeholder {
        width: 160px;
        height: 80px;
        font-size: 0.85rem;
        border-radius: 16px;
    }
}

/* --- Contact Section --- */
.contact {
    background-color: var(--bg-light);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.contact-method p {
    margin-bottom: 0;
}

.contact-form {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.02);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    height: 56px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    background: var(--bg-accent);
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-main);
    transition: var(--transition), height 0.2s ease, border-radius 0.2s ease;
    outline: none;
}

.form-group textarea {
    resize: none;
    overflow-y: hidden;
    line-height: 1.4;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: transparent;
    /* hide placeholder to use label as placeholder */
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 1rem;
    color: var(--text-muted);
    transition: var(--transition);
    pointer-events: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}

.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:focus+label,
.form-group textarea:not(:placeholder-shown)+label {
    top: -22px;
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}

.submit-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 1.25rem 2rem;
    background-color: var(--text-main);
    color: #fff;
    font-size: 1.1rem;
}

.submit-btn:hover {
    background-color: var(--primary);
    color: #000;
}

.submit-btn svg {
    width: 20px;
    height: 20px;
}

/* --- Footer --- */
footer {
    background-color: var(--bg-light);
    color: var(--text-main);
    padding: 6rem 0 clamp(8rem, 16vw, 14rem);
    position: relative;
    overflow: hidden;
}

.footer-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 300;
    line-height: 1.15;
    margin-bottom: 2rem;
    color: var(--text-main);
    font-family: var(--font-display);
}

.footer-right {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-right .contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.footer-right .contact-method h4,
.footer-right .helpful-links h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.footer-right .contact-method p,
.footer-right .contact-method a {
    color: var(--text-muted);
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-right .contact-method a:hover {
    color: var(--text-main);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.footer-copy {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 3rem;
}

.footer-bg-text {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(25%);
    font-size: clamp(5rem, 16vw, 14rem);
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--border-color);
    opacity: 0.35;
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    line-height: 1;
}

/* --- Animations & Utilities --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* --- Responsive --- */
@media (max-width: 992px) {

    .about-grid,
    .contact-container,
    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }

    .hero {
        padding-top: 140px;
        padding-bottom: 80px;
        min-height: auto;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .logo img {
        height: 24px;
    }

    .nav-links {
        gap: 0.75rem;
    }

    .nav-links a {
        font-size: 0.8rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .contact-form {
        padding: 2rem;
    }

    .hero-bg-text,
    .footer-bg-text {
        font-size: clamp(1.8rem, 11vw, 5rem);
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 20px;
    }

    .nav-links {
        gap: 0.5rem;
    }

    .nav-links a {
        font-size: 0.75rem;
        padding: 0.25rem 0;
    }

    .stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}