@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap');
/* ============================================
   PAN Developers - Premium Construction CSS
   Professional Design for Construction Business
   ============================================ */

/* ===== CSS VARIABLES - Premium Color Palette ===== */
:root {
    /* Primary Colors */
    --primary: #000000;
    --primary-dark: #111111;
    --primary-light: #333333;
    --secondary: #6C6C6C;
    --light: #EAEAEA;
    --white: #FFFFFF;
    
    /* Accent for premium feel */
    --accent: #D4A017;
    --accent-gold: #D4A017;
    --accent-gold-light: #e6b84a;

    /* UI Colors */
    --border: #DDDDDD;
    --text-dark: #222222;
    --text-light: #777777;

    /* Effects */
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --radius: 10px;
    
    /* Neutrals */
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    
    /* Typography */
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'Playfair Display', Georgia, serif;
    
    /* Spacing */
    --navbar-height: 80px;
    --section-padding: 100px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
}

/* ===== IMPORT GOOGLE FONTS ===== */
/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap'); */

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--gray-600);
    line-height: 1.8;
}

.text-primary { color: var(--primary) !important; }
.text-gold { color: var(--accent-gold) !important; }
.text-muted { color: var(--gray-500) !important; }

/* ===== NAVBAR - Sticky Premium Navigation ===== */
.navbar {
    background: var(--white);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0;
    height: 80px;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);

    overflow: visible !important;
}
.navbar.scrolled {
    background: var(--white);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.5rem;
    padding: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 40%;
}

.navbar-brand span {
    font-size: clamp(0.9rem, 2.5vw, 1.5rem);
}

.navbar-brand:hover {
    color: var(--accent-gold) !important;
    transition: color var(--transition-fast);
}

.navbar-brand .brand-accent {
    color: var(--gray-600);
}

.navbar-nav {
    padding: 20px 0;
}

.nav-link {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-800) !important;
    padding: 8px 16px !important;
    margin: 0 2px;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent) !important;
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.custom-navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 15px 0;
}

.navbar-brand img {
    height: 90px;
    object-fit: contain;
    width: auto;
    display: block;
    margin-left: 50px;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/* Dropdown Styling */
.dropdown-menu {
    background: var(--white);
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 12px 0;
    margin-top: 10px;
    min-width: 220px;
}

.dropdown-item {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--gray-700);
    padding: 10px 20px;
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--gray-50);
    color: var(--primary);
    padding-left: 28px;
}

.dropdown-item.active {
    background: var(--primary);
    color: var(--white);
}

.dropdown-divider {
    border-color: var(--gray-200);
    margin: 8px 0;
}

.dropdown-toggle::after {
    margin-left: 8px;
    transition: transform var(--transition-fast);
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Mobile Toggler */
.navbar-toggler {
    border: none;
    padding: 10px;
    margin-right: 15px;
    margin-left: auto;
    flex-shrink: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: url('../assets/img/hero.jpg') center/cover no-repeat;
    z-index: 1;
    height: 100vh;
    position: relative;
    /* margin-top: 80px;
 */
}

/* carousel wrapper */
#heroCarousel {
    position: relative;
    z-index: 2;
}

#heroCarousel,
.carousel-inner,
.carousel-item {
    height: 100vh;
}

/* smoother fade carousel */
.carousel-fade .carousel-item {
    opacity: 0;
    transform: scale(1.02);
}

.carousel-fade .carousel-item.active {
    opacity: 1;
    transform: scale(1);
}

/* dark overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: 1;
}

/* Center content properly */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    padding: 20px;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin : auto;
}


/* IMPORTANT: remove fixed height conflicts */
.carousel-item {
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease, transform 1s ease;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

/* Slide 1 */
.hero-slide-1 {
    background-image: url('../assets/img/slide1.jpg');
}

/* Slide 2 */
.hero-slide-2 {
    background-image: url('../assets/img/slide2.jpg');
}

/* Slide 3 */
.hero-slide-3 {
    background-image: url('../assets/img/slide3.jpg');
}

/* Add overlay for readability */
.carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* smoother animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-title span {
    color: var(--accent-gold);
}

.hero-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 1.5rem;
    line-height: 1.8;
}

.hero-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
    margin: 2rem auto;
    border-radius: 2px;
}

.tagline-wrapper {
    position: relative;
    height: 50px;
    margin: 2rem auto;
    max-width: 700px;
}

.hero-tagline {
    position: absolute;
    width: 100%;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-gold);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.hero-tagline.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-box p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.hero-box p:last-child {
    margin-bottom: 0;
}

.hero h1 {
    font-size: 40px;
    font-weight: 800;
}

/* Hero CTA Buttons */
.hero-cta {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.cta-title {
    position: relative;
    display: inline-block;
}

.cta-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
    border-radius: 2px;
    transition: transform 0.6s ease;
}

/* animate on reveal */
.reveal.active .cta-title::after {
    transform: translateX(-50%) scaleX(1);
}

/* ===== BUTTONS ===== */
.btn {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--accent-gold-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 162, 39, 0.4);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 5px;
}

.btn-accent:hover {
    background: #b88c12;
}

.btn-outline-gold {
    background: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
}

.btn-outline-gold:hover {
    background: var(--accent-gold);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212,160,23,0.4);
}

/* ===== SECTIONS ===== */
.section {
    padding: var(--section-padding) 0;
    position: relative;
    scroll-margin-top: 100px;
    background: #fff;
}

.section-bg-light {
    background: var(--gray-50);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}


.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 3px;

    background: linear-gradient(
        90deg,
        var(--accent-gold),
        var(--accent-gold-light)
    );

    border-radius: 2px;
    transition: width 0.6s ease;
}

.section-header.active .section-title::after {
    width: 100%;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== CARDS - Premium Card System ===== */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: none;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    overflow: hidden;
    height: 100%;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent-gold));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

/* About Cards */
.about-card {
    text-align: center;
    padding: 2.5rem;
}

.about-card .icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.about-card .icon i {
    font-size: 32px; /* IMPORTANT */
    color: var(--accent-gold); /* visible on dark bg */
}

.about-card h5 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.about-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* Service Cards */
.service-card {
    padding: 2rem;
    text-align: center;
}

.service-card .icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(31, 59, 104, 0.1), rgba(201, 162, 39, 0.1));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
}

.service-card h5 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.6;
}

.service-img {
    width: 100% !important;
    height: 320px !important;   /* control size here */
    object-fit: cover !important;
    display: block;
}

/* Project Cards */


.project-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: all 0.35s ease;
    border-radius: 12px;
}

.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.6),
        rgba(0,0,0,0.1)
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.project-card img {
    width: 100%;
    object-fit: cover;
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
    aspect-ratio: 4 / 3; /* 🔥 key fix */
    transition: transform 0.6s ease;
}

.project-card:hover img {
    transform: scale(1.08);
}

.project-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    gap: 10px;
}

.project-content h5 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-content p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 60px;
}



/* Team Cards */
.team-card {
    text-align: center;
    padding: 2rem;
}

.team-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid var(--primary);
    box-shadow: var(--shadow-md);
}

.team-card h5 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.team-card .role {
    color: var(--accent-gold);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.team-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* ===== PROCESS STEPS ===== */
.process-step {
    text-align: center;
    padding: 2rem;
    position: relative;
    border-radius: var(--radius-lg);
    background: var(--white);
    transition: all var(--transition-normal);
    overflow: hidden;
}

/* Hover Lift */
.process-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

/*  Animated Top Line (like cards) */
.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.process-step:hover::before {
    transform: scaleX(1);
}

/* Step Circle Animation */
.process-step .step-number {
    transition: all var(--transition-normal);
}

/* Text Color Enhancement */
.process-step:hover h5 {
    color: var(--primary);
}

.process-step:hover p {
    color: var(--gray-700);
}

/* .process-step .step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
} */

/* .process-step h5 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.process-step p {
    color: var(--gray-600);
    font-size: 0.9rem;
} */


/* ===== DETAILED PROCESS ENHANCEMENT ===== */
.d-flex {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    background: var(--white);
    transition: all var(--transition-normal);
    position: relative;
}

/* Hover effect */
.d-flex:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* Step number styling */
.detailed-process .step-number {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all var(--transition-normal);
}

/* Step hover animation */
.d-flex:hover .step-number {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    transform: scale(1.1);
}

/* Title styling */
.d-flex h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Lead text refinement */
.d-flex .lead {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: 0.8rem;
}

/* Checklist spacing */
.check-list li {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

/* 🔥 Left accent line */
.d-flex::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20px;
    bottom: 20px;
    width: 3px;
    background: linear-gradient(180deg, var(--primary), var(--accent-gold));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.d-flex:hover::before {
    opacity: 1;
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-size: 5rem;
    color: var(--accent-gold);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--gray-700);
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h6 {
    font-size: 1rem;
    margin-bottom: 0;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ===== CONTACT SECTION ===== */
.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

/* Hover lift */
.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* Top gradient line */
.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.contact-info-card:hover::before {
    transform: scaleX(1);
}

/* Icon styling */
.contact-info-card .icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0,0,0,0.05), rgba(212,160,23,0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.contact-info-card .icon i {
    font-size: 1.6rem;
    color: var(--accent-gold);
}

/* Icon hover effect */
.contact-info-card:hover .icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.contact-info-card:hover .icon i {
    color: var(--white);
}

/* Title */
.contact-info-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Text */
.contact-info-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 0;
    line-height: 1.6;
}


/* Contact Form */
.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.form-control {
    font-family: var(--font-primary);
    font-size: 1rem;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(31, 59, 104, 0.1);
    outline: none;
}

.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0;
}

.footer-brand {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-brand .brand-accent {
    color: var(--gray-600);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-gold);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 8px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-contact-item .icon {
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 1.5rem;
}

.footer-social a {
    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: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--accent-gold);
    transform: translateY(-3px);
}

.footer-logo {
    height: 120px;
    display: block;
    margin-bottom: 20px;
}
/* ===== ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== PAGE HEADER (for inner pages) ===== */
.page-header {
    background: linear-gradient(rgba(0,0,0,0.75),rgba(0,0,0,0.75)),url('../assets/img/hero.jpg') center/cover no-repeat;
    background-color: var(--primary-dark);
    padding: 160px 0 80px;
    text-align: center;
    color: #FFF;
    background-size: cover;
    background-position: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header .breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-header .breadcrumb a {
    color: var(--accent-gold);
    text-decoration: none;
}

.page-header .breadcrumb span {
    color: rgba(255, 255, 255, 0.7);
}

/* About */
.about-header {
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)),
                url('../assets/img/about.jpg') center/cover no-repeat;
}

/* Commercial */
.commercial-header {
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)),
                url('../assets/img/commercial2.jpg') center/cover no-repeat;
}

/* Commercial */
.commercial-header {
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)),
                url('../assets/img/commercial2.jpg') center/cover no-repeat;
}

/* Investment */
.investment-header {
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)),
                url('../assets/img/investment.jpg') center/cover no-repeat;
}

/* Process */
.process-header {
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)),
                url('../assets/img/service2.jpg') center/cover no-repeat;
}

/* Project */
.project-header {
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)),
                url('../assets/img/townhouse2.jpg') center/cover no-repeat;
}

/* Services */
.services-header {
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)),
                url('../assets/img/service4.jpg') center/cover no-repeat;
}

/* Team */
.team-header {
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)),
                url('../assets/img/service1.jpg') center/cover no-repeat;
}

/* Townhouse */
.townhouse-header {
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)),
                url('../assets/img/townhouse.jpg') center/cover no-repeat;
}

/* ===== FEATURE BOXES ===== */
.feature-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    height: 100%;
    position: relative;
    overflow: hidden;
}

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

.feature-box .icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-box .icon i {
    font-size: 32px; /* IMPORTANT */
    color: var(--accent-gold); /* visible on dark bg */
}

.feature-box h5 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.feature-box p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* animated top line */
.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;

    background: linear-gradient(90deg, var(--primary), var(--accent-gold));

    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

/* hover effect */
.feature-box:hover::before {
    transform: scaleX(1);
}

/* ===== LIST STYLES ===== */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: var(--gray-700);
    font-size: 0.95rem;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-gold);
    font-weight: 700;
}

/* ===== RESPONSIVE DESIGN ===== */

@media (min-width: 1200px) and (max-width: 1399px) {

    .navbar {
        flex-wrap: nowrap;
    }

    .navbar-brand {
        font-size: 1.25rem;
        flex-shrink: 0;
        max-width: none;
        overflow: visible;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .navbar-brand img {
        height: 100px;
        width: auto;
    }

    .navbar-brand span {
        font-size: 1.25rem;
        white-space: nowrap;
    }

    .navbar-nav {
        flex-wrap: nowrap;
    }

    .navbar-nav .nav-link {
        font-size: 14px;
        padding: 8px 10px !important;
    }

    .navbar-collapse {
        overflow: visible !important;
    }

    .nav-item.dropdown {
        position: relative;
    }

    .dropdown-menu {
        position: absolute !important;
        display: none;
        padding: 6px 0;
        min-width: 200px;
        transition: all 0.2s ease;
        border-radius: 8px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        top: 100%;
        left: 0;
        margin-top: 0;
    }

    .dropdown-item {
        font-size: 13px;
        padding: 6px 14px;
    }

    .dropdown-item:hover {
        background-color: #f5f5f5;
    }

    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
    
}

@media (max-width: 1199px) {
    :root {
        --section-padding: 80px;
    }
    
    h1 { font-size: 3rem; }
    h2 { font-size: 2.2rem; }
}

@media (min-width: 992px) and (max-width: 1199px) {

    .navbar-collapse {
        justify-content: flex-end;
    }

    .navbar-nav {
        flex-wrap: nowrap;
    }

    .navbar-nav .nav-link {
        font-size: 12px !important;
        padding: 6px 8px !important;
    }

    .navbar-brand {
        display: flex;
        align-items: center;
        gap: 3px;
        flex-shrink: 0;
        font-size: 0.95rem;
    }

    .navbar-brand span {
        font-size: 0.95rem;
        white-space: nowrap;
    }

    .nav-item.dropdown {
        position: relative;
    }

    .dropdown-menu {
        position: absolute !important;
        display: none;
        padding: 6px 0;
        min-width: 200px;
        transition: all 0.2s ease;
        border-radius: 8px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        top: 100%;
        left: 0;
        margin-top: 0;
    }

    .dropdown-item {
        font-size: 13px;
        padding: 6px 14px;
    }

    .dropdown-item:hover {
        background-color: #f5f5f5;
    }

    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
        
}


@media (max-width: 991px) {

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .navbar {
        height: auto;
        padding: 0px 0;
    }

    .navbar-brand {
        padding: 0px 0;
        font-size: 1.2rem;
    }

        /* logo smaller */
    .navbar-brand img {
        height: 90px;
    }

    .navbar-collapse {
        background: var(--white);
        border-radius: var(--radius-lg);
        padding: 20px;
        margin-top: 10px;
        box-shadow: var(--shadow-lg);
    }

    .navbar-nav {
        padding: 0;
        align-items: flex-start;
    }

    .nav-link {
        padding: 12px 16px !important;
        margin: 4px 0;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .dropdown-menu {
        position: static !important;
        transform: none !important;
        background: var(--white);
        margin-top: 0;
        padding-left: 10px;
    }

    .dropdown-item {
        color: #222 !important;   /* black text */
        font-weight: 500;
    }
    
    .dropdown-item:hover {
        background: #f5f5f5;
        color: #000 !important;
    }

    /* HERO */
    .hero {
        padding: 120px 15px 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    /* Section spacing */
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Fix images */
    .section img {
        height: 250px;
        object-fit: cover;
    }

    /* Fix cards */
    .card-body {
        padding: 1.5rem;
    }

}


@media (max-width: 768px) {

    :root {
        --section-padding: 60px;
    }

    h1 { font-size: 28px; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }

    /* HERO FIX */
    .hero {
        margin-top: 70px; /* navbar space */
        padding: 0;
    }

    #about {
        margin-top: 0;
        padding-top: 40px;
    }

    
    .carousel,
    .carousel-inner,
    .carousel-item {
        height: 75vh;
    }

    .carousel-item {
        background-position: center;
        background-size: cover;
        min-height: unset;
    }

    .hero-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        text-align: center;
    }

    .hero-title {
        font-size: 22px;
        line-height: 1.3;
    }

    .hero-text {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .hero-box {
        display: none; /* keep UI clean */
    }

    .hero-cta {
        flex-direction: column;
        gap: 10px;

        display: flex;
    }

    .hero-cta .btn {
        font-size: 13px;
        padding: 8px 12px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    #heroCarousel,
    #heroCarousel .carousel-inner,
    #heroCarousel .carousel-item {
        height: 100vh !important;
    }

    html, body {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    body {
        padding-top: 0 !important;
    }

    /* remove unwanted gap below hero */
    .hero + section,
    #about {
        margin-top: 0 !important;
        padding-top: 40px;
    }

}

@media (max-width: 576px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }

    .navbar-brand {
        max-width: 55%;
    }

    .navbar-brand img {
        height: 90px;
    }

}


/* ===== UTILITY CLASSES ===== */
.bg-primary-dark { background-color: var(--primary-dark); }
.bg-gold { background-color: var(--accent-gold); }
.text-white { color: var(--white) !important; }

.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-1 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-2 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-3 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-4 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }
.mt-5 { margin-top: 3rem !important; }

.fw-light { font-weight: 300 !important; }
.fw-normal { font-weight: 400 !important; }
.fw-medium { font-weight: 500 !important; }
.fw-semibold { font-weight: 600 !important; }
.fw-bold { font-weight: 700 !important; }

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* ===== SELECTION STYLING ===== */
::selection {
    background: var(--accent-gold);
    color: var(--white);
}

::-moz-selection {
    background: var(--accent-gold);
    color: var(--white);
}


.hero {
    position: relative;
    z-index: 1;
    /* margin-top: 80px; */
}


.section img {
    width: 100%;
    height: auto; /* adjust as needed */
    object-fit: cover; /* crops image nicely */
    border-radius: var(--radius-lg);
}


.stat-number {
    white-space: nowrap; /* prevent breaking */
    font-size: clamp(20px, 6vw, 40px); /* responsive size */
}

#about {
    /* margin-top: 80px; adjust as needed */
    padding-top: 40px;
    scroll-margin-top: calc(50vh - 80px); /* 80px = navbar height */
    position: relative;
    z-index: 5;
    background: #f8f9fa;
	padding-bottom: 40px;
}

#about .section-header {
    z-index: 10;
    background: #fff;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.image-box img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Carousal Mobile Fix */
.hero,
.carousel,
.carousel-inner,
.carousel-item {
    height: 100vh;
}


.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    text-align: center;
}

.hero-cta {
    display: flex;
    gap: 15px;
}


.carousel-item {
    background-size: cover;
    background-position: center;
    position: relative;
}



.carousel-item {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.6);
}


