/* ========================================
   ARCO International - Modern Architecture & Construction
   Base Color: #B10A23 (Deep Crimson)
   ======================================== */

/* CSS Variables for Consistent Theming */
:root {
    --primary: #B10A23;
    --primary-dark: #8B081C;
    --primary-light: #D41E3A;
    --secondary: #1A1A1A;
    --accent: #D4AF37;
    --accent-light: #F4D03F;
    --neutral-light: #F8F9FA;
    --neutral-medium: #E8E9EA;
    --neutral-dark: #2D2D2D;
    --white: #FFFFFF;
    --black: #000000;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 20px;

    /* Premium Glass Navigation Variables */
    --nav-glass: rgba(13, 14, 18, 0.34);
    --nav-glass-scrolled: rgba(13, 14, 18, 0.72);
    --nav-stroke: rgba(255, 255, 255, 0.17);
    --nav-highlight: rgba(255, 255, 255, 0.12);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--secondary);
    background-color: var(--neutral-light);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--secondary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    color: var(--neutral-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Spacing */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--neutral-dark);
    font-size: 1.1rem;
}

/* ========================================
   PREMIUM GLASS NAVIGATION - Ultra Transparent
   ======================================== */
.navbar {
    position: fixed;
    top: 16px;
    left: 50%;
    right: auto;
    width: min(1180px, calc(100% - 32px));
    transform: translateX(-50%);
    z-index: 1000;

    border: 1px solid var(--nav-stroke);
    border-radius: 20px;
    background: var(--nav-glass);

    backdrop-filter: blur(24px) saturate(165%);
    -webkit-backdrop-filter: blur(24px) saturate(165%);

    box-shadow:
        0 12px 42px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);

    transition: 
        top 0.35s ease,
        width 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}

.navbar::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(
        115deg,
        rgba(255, 255, 255, 0.13),
        transparent 32%,
        rgba(255, 255, 255, 0.04) 68%,
        transparent
    );
}

.navbar.scrolled {
    top: 10px;
    width: min(1120px, calc(100% - 32px));
    background: var(--nav-glass-scrolled);
    border-color: rgba(255, 255, 255, 0.2);

    box-shadow:
        0 16px 50px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 18px 0 24px;
}

/* ========================================
   DUAL LOGO BRAND AREA - ARCO + Partner
   ======================================== */
.nav-brand-group {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-width: max-content;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-logo img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.nav-logo-text {
    font-size: 1.08rem;
    font-weight: 750;
    color: var(--white);
    letter-spacing: 0.14em;
    line-height: 1;
}

.nav-logo-text span {
    color: var(--white);
    opacity: 0.62;
    font-weight: 500;
}

.nav-divider {
    width: 1px;
    height: 32px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(255, 255, 255, 0.42),
        transparent
    );
}

.partner-brand {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    padding-left: 0.1rem;
    transition: opacity 0.25s ease;
}

.partner-brand:hover {
    opacity: 0.75;
}

.partner-label {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.52rem;
    font-weight: 600;
    letter-spacing: 0.11em;
    line-height: 1;
    text-transform: uppercase;
}

.partner-name {
    color: rgba(255, 255, 255, 0.96);
    font-size: 0.82rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    line-height: 1;
}

.partner-logo-img {
    width: auto;
    max-width: 120px;
    height: 25px;
    object-fit: contain;
    object-position: left center;
}

/* ========================================
   NAVIGATION MENU
   ======================================== */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.3rem;
    padding: 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.13);
}

.nav-link {
    position: relative;
    isolation: isolate;
    padding: 0.54rem 0.88rem;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
    font-size: 0.88rem;
    letter-spacing: 0;
    transition: var(--transition);
}

.nav-link::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    opacity: 0;
    background: rgba(255, 255, 255, 0.15);
    transform: scale(0.88);
    transition: all 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    opacity: 1;
    transform: scale(1);
}

/* ========================================
   CTA BUTTON
   ======================================== */
.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 42px;
    padding: 0.65rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;

    background: linear-gradient(135deg, rgba(177, 10, 35, 0.96), rgba(215, 38, 67, 0.9));
    color: var(--white);
    box-shadow: 0 8px 20px rgba(177, 10, 35, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.nav-cta:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ca102d, #eb3655);
    box-shadow: 0 12px 26px rgba(177, 10, 35, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* ========================================
   MOBILE TOGGLE
   ======================================== */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(177, 10, 35, 0.8)),
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(177, 10, 35, 0.3), transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 2rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease-out;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(177, 10, 35, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(177, 10, 35, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero-scroll span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
}

.hero-scroll span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 10px;
    background: var(--white);
    border-radius: 3px;
    animation: scroll 2s infinite;
}

/* ========================================
   PARTNER LOGOS - Section
   ======================================== */
.partners-section {
    background: var(--white);
    padding: 3rem 0;
    border-bottom: 1px solid var(--neutral-medium);
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.7;
}

.partner-logo {
    height: 50px;
    width: auto;
    filter: grayscale(100%);
    transition: var(--transition);
}

.partner-logo:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
    background: var(--neutral-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--neutral-medium);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.service-card p {
    color: var(--neutral-dark);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--primary-light);
    gap: 0.75rem;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.about-img {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 250px;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.about-img:hover img {
    transform: scale(1.05);
}

.about-img:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.about-img:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    height: 515px;
}

.about-img:nth-child(3) {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--neutral-dark);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--neutral-dark);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ========================================
   PROJECTS SECTION
   ======================================== */
.projects {
    background: var(--secondary);
    color: var(--white);
}

.projects .section-header h2 {
    color: var(--white);
}

.projects .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    height: 400px;
    cursor: pointer;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(177, 10, 35, 0.95), rgba(177, 10, 35, 0.7));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-img {
    transform: scale(1.1);
}

.project-category {
    color: var(--accent-light);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.project-title {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.project-location {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials {
    background: linear-gradient(135deg, var(--neutral-light), var(--white));
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--neutral-medium);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-rating {
    color: var(--accent);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--neutral-dark);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.author-info p {
    color: var(--neutral-dark);
    font-size: 0.85rem;
    margin: 0;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 6rem 0;
    text-align: center;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--secondary);
    color: var(--white);
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer-partners {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-partners span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.partners-logos-footer {
    display: flex;
    gap: 1rem;
    opacity: 0.6;
}

.partners-logos-footer img {
    height: 30px;
    width: auto;
    filter: grayscale(100%) brightness(200%);
}

/* ========================================
   SERVICES PAGE SPECIFIC
   ======================================== */
.services-hero {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(177, 10, 35, 0.9)),
                url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?ixlib=rb-4.0.3&auto=format&fit=crop&w=2089&q=80') center/cover no-repeat;
    background-attachment: fixed;
    padding: 10rem 0 5rem;
    text-align: center;
}

.services-hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.services-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.services-categories {
    padding: 5rem 0;
    background: var(--white);
}

.category-section {
    margin-bottom: 4rem;
}

.category-section h3 {
    color: var(--primary);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--accent);
    display: inline-block;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-item {
    background: var(--neutral-light);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.service-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.service-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.service-item p {
    color: var(--neutral-dark);
    font-size: 0.9rem;
    margin: 0;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-hero {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(177, 10, 35, 0.9)),
                url('https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-4.0.3&auto=format&fit=crop&w=2069&q=80') center/cover no-repeat;
    background-attachment: fixed;
    padding: 10rem 0 5rem;
    text-align: center;
}

.contact-hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.contact-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    padding: 5rem 0;
    background: var(--white);
}

.contact-info {
    background: var(--neutral-light);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-info h3 {
    margin-bottom: 2rem;
    color: var(--primary);
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-detail h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-detail p {
    color: var(--neutral-dark);
    margin: 0;
    font-size: 0.95rem;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--neutral-medium);
}

.contact-form-wrapper h3 {
    margin-bottom: 2rem;
    color: var(--secondary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--secondary);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--neutral-medium);
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(177, 10, 35, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(177, 10, 35, 0.4);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* Scroll Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-images {
        order: -1;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .nav-menu {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        width: 100%;
        padding: 0.7rem;
        border: 1px solid var(--nav-stroke);
        border-radius: 16px;
        background: rgba(15, 16, 20, 0.84);
        backdrop-filter: blur(26px) saturate(165%);
        -webkit-backdrop-filter: blur(26px) saturate(165%);
        box-shadow: 0 16px 44px rgba(0,0,0,0.26);
        flex-direction: column;
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .nav-brand-group {
        gap: 0.75rem;
    }

    .nav-divider {
        height: 24px;
    }

    .partner-label {
        font-size: 0.45rem;
    }

    .partner-name {
        font-size: 0.68rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        gap: 2rem;
    }

    /* Mobile glass header */
    .navbar,
    .navbar.scrolled {
        top: 10px;
        width: calc(100% - 20px);
        border-radius: 16px;
    }

    .nav-container {
        height: 64px;
        padding: 0 16px;
    }

    /* Hide partner logo on mobile */
    .nav-divider,
    .partner-brand {
        display: none;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }

    .hero {
        min-height: 600px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-img:nth-child(2) {
        height: 300px;
        grid-row: 1 / 2;
    }

    .about-img:nth-child(1),
    .about-img:nth-child(3) {
        height: 200px;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.bg-light { background: var(--neutral-light); }
.bg-white { background: var(--white); }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
