:root {
    /* Royal Blue and Yellow Theme */
    --primary-color: #4169E1;
    /* Royal Blue */
    --primary-dark: #27408b;
    --accent-color: #FFD700;
    /* Yellow / Gold */
    --accent-hover: #e6c200;

    --bg-light: #ffffff;
    --bg-offwhite: #f4f6fa;
    --bg-dark: #27408b;
    --bg-darker: #1a2a5c;

    --text-dark: #1a1a2e;
    --text-muted: #666677;
    --text-light: #ffffff;
    --text-light-muted: rgba(255, 255, 255, 0.75);

    /* Typography */
    --font-main: 'Inter', sans-serif;

    /* Spacings */
    --section-padding: 100px 0;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

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

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

.mb-5 {
    margin-bottom: 3rem;
}

.mt-4 {
    margin-top: 2rem;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-dark);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(241, 185, 19, 0.3);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 12px 0;
}

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

.logo-link {
    display: flex;
    align-items: center;
}

.logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.logo {
    height: 100px;
    /* Adjust according to logo aspect ratio */
    transition: var(--transition);
}

.logo-caption {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-color);
    /* Yellow/Gold from the 'S' */
    letter-spacing: 0.5px;
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
    /* Modern sans-serif */
    text-transform: capitalize;
    /* More elegant than all caps */
    font-style: italic;
    /* Slight slant for modern dynamic feel */
    transition: var(--transition);
}

.navbar.scrolled .logo-caption {
    color: var(--accent-color);
    /* Keep gold even when scrolled */
}

.navbar.scrolled .logo {
    height: 80px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: white;
    /* Start white because hero bg */
    transition: var(--transition);
    position: relative;
}

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

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

.navbar.scrolled .nav-links a {
    color: var(--primary-color);
}

.navbar.scrolled .btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.navbar.scrolled .btn-primary:hover {
    background-color: var(--accent-color);
    color: var(--primary-dark);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 101;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: white;
    position: absolute;
    transition: var(--transition);
}

.navbar.scrolled .mobile-menu-btn span {
    background-color: var(--primary-color);
}

.mobile-menu-btn span:nth-child(1) {
    top: 0;
}

.mobile-menu-btn span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-btn span:nth-child(3) {
    bottom: 0;
}

.mobile-menu-btn.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    background-color: var(--primary-color);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
    background-color: var(--primary-color);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: white;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-nav a.mobile-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    /* slightly shorter to show more of page */
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background-color: var(--bg-dark);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    image-rendering: -webkit-optimize-contrast;
    /* subtle CSS sharpening */
    filter: contrast(1.05) saturate(1.1);
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Ensure overlay stays on top of slides */
.hero-slider .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-slider .overlay-darker {
    background: linear-gradient(to right, rgba(10, 15, 25, 0.7) 0%, rgba(10, 15, 25, 0.2) 100%);
}

.hero-content {
    color: white;
    max-width: 100%;
    padding-top: 50px;
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 3rem;
    letter-spacing: -1px;
}

.hero-lead {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.btn-brand-yellow {
    background-color: #FFD700;
    color: #1a1a2e;
    /* dark text for contrast on yellow */
    font-size: 1.05rem;
    padding: 15px 32px;
    border-radius: 5px;
    font-weight: 700;
}

.btn-brand-yellow:hover {
    background-color: #e6c200;
    color: #1a1a2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Vision Banner */
.vision-banner {
    padding: 70px 0;
    background-color: #0b0f19;
    background-image: radial-gradient(circle at 50% 150%, rgba(255, 215, 0, 0.1) 0%, transparent 65%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.vision-text {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
}

.highlight-accent {
    color: #FFD700;
    font-weight: 600;
}

.vision-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 4rem;
    margin-bottom: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 3.5rem;
    text-align: left;
}

.v-stat-item {
    position: relative;
    padding: 0 1.5rem;
}

.v-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.15);
}

.v-stat-item h3 {
    font-size: 3.2rem;
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1;
}

.v-stat-item p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 991px) {
    .vision-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 1rem;
    }

    .v-stat-item:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 575px) {
    .vision-stats-grid {
        grid-template-columns: 1fr;
    }

    .v-stat-item::after {
        display: none !important;
    }

    .v-stat-item {
        text-align: center;
        padding: 0;
    }
}

/* Split Section (Benefits) */
.new-split-section {
    padding: var(--section-padding);
    background-color: #faf9f6;
    /* Warm off-white */
}

.new-split-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
}

/* Left side */
.split-left {
    flex: 1;
    max-width: 550px;
    z-index: 2;
}

.split-title {
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-weight: 500;
}

.split-title .accent-text {
    color: var(--primary-color);
    font-weight: 700;
}

.split-image-wrapper {
    width: 100%;
    margin-top: 1rem;
}

.arch-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Right side cards grid */
.split-right {
    flex: 1.2;
    display: flex;
    gap: 2rem;
}

.benefits-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    flex: 1;
}

.benefits-col.stagger {
    margin-top: -3rem;
    /* staggering effect */
}

.benefit-card-new {
    background-color: #f3f0e8;
    /* Slightly darker warm tone */
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: var(--transition);
}

.benefit-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    background-color: #fff;
}

.benefit-icon {
    width: 45px;
    height: 45px;
    color: var(--primary-color);
    /* Theme color for contrast */
    margin-bottom: 1.5rem;
}

.benefit-card-new h4 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.benefit-card-new p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.btn-pill {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1.1rem;
    font-size: 1.1rem;
    border-radius: 50px;
}

/* Responsive adjustment for Benefits layout */
@media (max-width: 992px) {
    .new-split-container {
        flex-direction: column;
    }

    .split-left {
        max-width: 100%;
        margin-bottom: 3rem;
    }

    .benefits-col.stagger {
        margin-top: 0;
    }
}

@media (max-width: 576px) {
    .split-right {
        flex-direction: column;
    }
}

/* Sections Global */
.section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.2;
    margin-bottom: 3rem;
}

.dark-section {
    background-color: var(--bg-dark);
    color: white;
    padding: var(--section-padding);
}

.dark-section .section-title {
    color: white;
}

/* Services Grid & Animations */
.services .section-title {
    max-width: 800px;
    text-align: center;
    margin: 0 auto 4rem;
}

.services-grid {
    display: grid;
    /* Display 5 items per row by default */
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    /* Slightly wider to accommodate 5 columns */
    margin: 0 auto;
}

/* Adjust for medium screens (tablets) */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Adjust for smaller screens (mobile) */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--bg-darker);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.service-img-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.anim-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 12s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover .anim-img {
    transform: scale(1.0);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(26, 42, 92, 0.95) 0%, rgba(26, 42, 92, 0.4) 50%, rgba(26, 42, 92, 0.1) 100%);
    transition: var(--transition);
}

.service-card:hover .service-overlay {
    background: linear-gradient(to top, rgba(26, 42, 92, 0.98) 0%, rgba(26, 42, 92, 0.6) 60%, rgba(26, 42, 92, 0.2) 100%);
}

.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 2rem;
    z-index: 2;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-card:hover .service-content {
    transform: translateY(0);
}

.service-content .number {
    font-size: 1.25rem;
    color: var(--accent-color);
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.service-content h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-content p {
    color: var(--text-light-muted);
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    max-height: 0;
    overflow: hidden;
}

.service-card:hover .service-content p {
    opacity: 1;
    transform: translateY(0);
    max-height: 150px;
    margin-top: 1rem;
}

.services,
.vision-banner,
.testimonials,
.footer {
    position: relative;
    overflow: hidden;
}

.services .container,
.vision-banner .container,
.testimonials .container,
.footer .container {
    position: relative;
    z-index: 2;
}

.particles-overlay-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Sits behind the container (z=2) */
    pointer-events: none;
}

/* Hero Continuous Animation */
@keyframes heroPan {
    0% {
        transform: scale(1.05) translate(0, 0);
    }

    50% {
        transform: scale(1.1) translate(-1%, 1%);
    }

    100% {
        transform: scale(1.05) translate(0, 0);
    }
}

.hero-anim-img {
    animation: heroPan 30s infinite alternate ease-in-out;
}

.hero-bg .overlay-darker {
    background: linear-gradient(to right, rgba(10, 15, 25, 0.7) 0%, rgba(10, 15, 25, 0.2) 100%);
}

/* Why Us Grid */
.why-us {
    padding: var(--section-padding);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-img-wrap {
    height: 200px;
    overflow: hidden;
}

.feature-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-img-wrap img {
    transform: scale(1.05);
}

.feature-info {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.feature-info h4 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Custom styles for the Team Focus Revit Card */
.team-focus-card {
    display: flex;
    flex-direction: column;
    background-color: #f7f6f2;
    /* Light cream background from screenshot */
    padding: 0;
}

.team-focus-info {
    position: static;
    background: none;
    padding: 2.5rem 2.5rem 1.5rem 2.5rem;
}

.team-focus-info h4 {
    color: #1a1a2e;
    /* Very dark blue/black for text */
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0;
    letter-spacing: -0.5px;
}

.highlight-blue {
    color: var(--primary-color);
}

.team-focus-img {
    position: relative;
    height: 350px;
    margin-top: auto;
    border-radius: 0 0 8px 8px;
}

.team-focus-img img {
    border-radius: 0 0 8px 8px;
}

/* Testimonials Slider */
.testimonial-slider-wrap {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.testimonial-slider {
    position: relative;
    min-height: 250px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s;
    pointer-events: none;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    position: relative;
}

.quote-mark {
    font-size: 4rem;
    color: var(--accent-color);
    line-height: 1;
    font-family: serif;
    margin-bottom: -1rem;
    opacity: 0.5;
}

.testimonial-slide blockquote {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.testimonial-slide .author h4 {
    font-size: 1.1rem;
    color: var(--accent-color);
}

.testimonial-slide .author p {
    font-size: 0.9rem;
    color: var(--text-light-muted);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-light-muted);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.slider-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-dark);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

/* Split Contact Section with Form */
.contact-split-section {
    padding: var(--section-padding);
    background-color: white;
    /* Changed to white */
    position: relative;
    overflow: hidden;
}

/* Optional concentric circle background pattern to match screenshot vibe */
.contact-split-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 80%;
    transform: translate(-50%, -50%);
    width: 200vw;
    height: 200vw;
    background: radial-gradient(circle, transparent 10%, rgba(65, 105, 225, 0.03) 11%, transparent 12%),
        radial-gradient(circle, transparent 20%, rgba(65, 105, 225, 0.03) 21%, transparent 22%),
        radial-gradient(circle, transparent 30%, rgba(65, 105, 225, 0.03) 31%, transparent 32%),
        radial-gradient(circle, transparent 40%, rgba(65, 105, 225, 0.03) 41%, transparent 42%),
        radial-gradient(circle, transparent 50%, rgba(65, 105, 225, 0.03) 51%, transparent 52%);
    z-index: 0;
    pointer-events: none;
}

.contact-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.contact-split-info {
    color: var(--text-dark);
    /* Changed to dark text */
}

.contact-split-title {
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--primary-color);
    /* Title in primary blue */
}

.contact-split-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    /* Muted gray for lead paragraph */
    max-width: 90%;
}

.contact-split-details {
    margin-top: 5rem !important;
}

.contact-split-email {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 4px;
    transition: var(--transition);
}

.contact-split-email:hover {
    color: var(--primary-dark);
}

.contact-split-phone p {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* Contact Form */
.contact-split-form-wrap {
    padding-top: 1rem;
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    /* Added slight shadow for depth against white bg */
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control-transparent {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #ddd;
    /* Light gray border instead of white */
    padding: 15px 0;
    color: var(--text-dark);
    /* Dark text input */
    font-size: 1.1rem;
    font-family: var(--font-main);
    transition: var(--transition);
}

.form-control-transparent:focus {
    outline: none;
    border-bottom-color: var(--primary-color);
}

.form-control-transparent::placeholder {
    color: #999;
    /* Darker placeholder for white bg */
    font-weight: 400;
}

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

.btn-outline-light {
    background-color: var(--primary-color);
    /* Blue button on white background */
    color: white;
    padding: 12px 40px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
}

.btn-outline-light:hover {
    background-color: var(--accent-color);
    /* Yellow hover */
    color: var(--primary-dark);
}

.form-disclaimer {
    color: #888;
    /* Darker gray disclaimer text */
    font-size: 0.85rem;
    max-width: 400px;
}

/* Footer */
.footer {
    background-color: var(--bg-darker);
    color: white;
    padding: 80px 0 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 100px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
    /* If logo is dark, make it white for footer, otherwise adjust */
}

.footer-brand p {
    color: var(--text-light-muted);
}

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

.link-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.link-col a {
    display: block;
    color: var(--text-light-muted);
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.link-col a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: var(--text-light-muted);
    font-size: 0.9rem;
}

/* Base Animation Classes for JS triggers */
.slide-up {
    opacity: 0;
    transform: translateY(40px);
}

.reveal-text {
    opacity: 0;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

/* Why We're The Right BIM Partner Section */
.why-partner-section {
    padding: 100px 0;
    background-color: #FAF5EB;
    /* Light beige from design */
}

.wp-title {
    font-size: 3rem;
    font-weight: 500;
    color: #1a1a2e;
    margin-bottom: 4rem;
    line-height: 1.2;
}

.wp-subtitle {
    font-size: 3rem;
    color: #FFD700;
    /* Yellow matching the design request */
}

.wp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    /* we'll use borders and padding to separate */
}

.wp-card {
    padding: 0 2.5rem;
    position: relative;
}

/* Vertical separating line between columns */
.wp-card:not(:first-child)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50px;
    height: calc(100% - 100px);
    width: 1px;
    background-color: rgba(0, 0, 0, 0.08);
}

/* The first card needs padding-left to be 0 to align with title */
.wp-card:first-child {
    padding-left: 0;
}

/* The last card right padding */
.wp-card:last-child {
    padding-right: 0;
}

.wp-img-wrap {
    width: 100%;
    height: 180px;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.wp-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.wp-card h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 1.2rem;
    line-height: 1.4;
}

.wp-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* Media Queries */
@media (max-width: 991px) {
    .wp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 0;
    }

    .wp-card:not(:first-child)::before {
        display: none;
        /* remove lines on mobile */
    }

    .wp-card {
        padding: 0 1rem;
    }
}

@media (max-width: 900px) {

    .nav-links,
    .navbar .btn-primary {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

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

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

    .contact-split-details {
        margin-top: 2rem !important;
    }

    .contact-numbers {
        flex-direction: column;
        gap: 1rem;
    }

    .divider {
        display: none;
    }
}

@media (max-width: 600px) {
    .hero {
        min-height: 60vh;
        padding-top: 100px;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 8vw, 2.8rem);
        margin-bottom: 1.5rem;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .wp-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem 0;
    }

    .wp-card {
        padding: 0;
    }

    .contact-split-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }
    
    .contact-split-email {
        font-size: clamp(1.2rem, 5vw, 1.5rem);
    }

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

    .footer-container {
        flex-direction: column;
    }
}

.new-focus-img {
    aspect-ratio: 4/5;
    object-fit: cover;
    object-position: center;
    border-radius: var(--border-radius);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-float svg {
        width: 30px;
        height: 30px;
    }
}