/* ============================================================
   JNGORE CONSULTANTS AND ARCHITECTS — Enhanced Stylesheet
   ============================================================ */
:root {
    --primary: #0eb1f1;
    --primary-dark: #0a8dbf;
    --secondary: #fb8122;
    --secondary-dark: #d4681a;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --gray: #6c757d;
    --white: #fff;
    --gradient-primary: linear-gradient(135deg, #0eb1f1 0%, #0a8dbf 100%);
    --gradient-secondary: linear-gradient(135deg, #fb8122 0%, #d4681a 100%);
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.16);
    --transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Playfair', serif;
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
    padding-top: 76px;
}
img { max-width: 100%; }
a { transition: var(--transition); }

/* ── PAGE LOADER ── */
#pageLoader {
    position: fixed; inset: 0;
    background: var(--dark);
    display: flex; align-items: center; justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
#pageLoader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-logo { width: 180px; margin-bottom: 1.5rem; animation: loaderPulse 30.5s ease-in-out infinite; }
.loader-bar { width: 220px; height: 3px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; margin: 0 auto; }
.loader-bar::after { content:''; display:block; height:100%; background: var(--gradient-primary); animation: loaderSlide 1.5s ease-in-out infinite; }
@keyframes loaderPulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.08);opacity:.85} }
@keyframes loaderSlide { 0%{width:0;margin-left:0} 50%{width:100%;margin-left:0} 100%{width:0;margin-left:100%} }

/* ── SCROLL TO TOP ── */
#scrollTop {
    position: fixed; bottom: 100px; right: 22px;
    width: 48px; height: 48px;
    background: var(--gradient-primary);
    color: white; border: none; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; opacity: 0; visibility: hidden;
    transition: var(--transition); z-index: 7000;
    box-shadow: var(--shadow-md); font-size: 1.1rem;
}
#scrollTop.visible { opacity: 1; visibility: visible; }
#scrollTop:hover { background: var(--gradient-secondary); transform: translateY(-4px); }

/* ══════════════════════════════════════════
   WHATSAPP CHAT WIDGET
   ══════════════════════════════════════════ */
.wa-widget {
    position: fixed;
    bottom: 24px; right: 24px;
    z-index: 8000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    font-family: 'Playfair', serif;
}

/* FAB button */
.wa-fab {
    width: 60px; height: 60px;
    background: #25d366;
    border: none; border-radius: 50%;
    color: white; font-size: 1.85rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(37,211,102,.55);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    position: relative;
    animation: waPulse 2.8s ease-in-out infinite;
    flex-shrink: 0;
}
.wa-fab:hover {
    background: #1da851;
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37,211,102,.75);
    animation: none;
}
.wa-fab.open { background: #128c7e; animation: none; }
.wa-icon-close { display: none; font-size: 1.4rem; }
.wa-fab.open .wa-icon-open { display: none; }
.wa-fab.open .wa-icon-close { display: block; }

/* Notification badge */
.wa-badge {
    position: absolute; top: -2px; right: -2px;
    background: #ff3b30; color: white;
    font-size: .65rem; font-weight: 700;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid white;
    transition: opacity 0.3s ease;
}
.wa-fab.open .wa-badge { opacity: 0; }

@keyframes waPulse {
    0%,100% { box-shadow: 0 6px 24px rgba(37,211,102,.55); }
    50%      { box-shadow: 0 6px 32px rgba(37,211,102,.9), 0 0 0 12px rgba(37,211,102,.12); }
}

/* Chat bubble panel */
.wa-bubble {
    width: 320px;
    background: #f0f0f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(0,0,0,.22);
    transform: scale(0.85) translateY(20px);
    transform-origin: bottom right;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), opacity 0.25s ease;
}
.wa-bubble.open {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}

/* Header */
.wa-bubble-header {
    background: #075e54;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.wa-avatar {
    position: relative;
    flex-shrink: 0;
}
.wa-avatar img {
    width: 42px; height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,.3);
    background: white;
    padding: 2px;
}
.wa-online-dot {
    position: absolute; bottom: 1px; right: 1px;
    width: 10px; height: 10px;
    background: #25d366; border-radius: 50%;
    border: 2px solid #075e54;
}
.wa-header-info { flex: 1; min-width: 0; }
.wa-header-info strong { display: block; color: white; font-size: .95rem; font-weight: 700; }
.wa-header-info span { color: rgba(255,255,255,.7); font-size: .75rem; }
.wa-close-btn {
    background: none; border: none; color: rgba(255,255,255,.7);
    font-size: 1rem; cursor: pointer; padding: 4px;
    border-radius: 50%; transition: color 0.2s ease, background 0.2s ease;
    flex-shrink: 0;
}
.wa-close-btn:hover { color: white; background: rgba(255,255,255,.15); }

/* Chat body (message preview) */
.wa-chat-body {
    background: #e5ddd5;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    padding: 14px 12px;
}
.wa-message-in {
    background: white;
    border-radius: 0 10px 10px 10px;
    padding: 10px 14px;
    max-width: 90%;
    font-size: .88rem;
    line-height: 1.55;
    color: #303030;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
    position: relative;
}
.wa-message-in::before {
    content: '';
    position: absolute;
    top: 0; left: -8px;
    border: 8px solid transparent;
    border-right-color: white;
    border-top-color: white;
}
.wa-message-in p { margin: 0 0 6px; }
.wa-message-in p:last-child { margin: 0; }

/* Quick option buttons */
.wa-quick-options {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #f0f0f0;
}
.wa-option {
    background: white;
    border: 1.5px solid #25d366;
    color: #075e54;
    border-radius: 24px;
    padding: 9px 16px;
    font-size: .84rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
    font-family: 'Playfair', serif;
    line-height: 1.4;
}
.wa-option:hover {
    background: #25d366;
    color: white;
    transform: translateX(3px);
}

/* Custom message input */
.wa-custom-input {
    padding: 10px 12px 14px;
    background: #f0f0f0;
    display: flex;
    gap: 8px;
    align-items: flex-end;
    border-top: 1px solid #ddd;
}
#waCustomMsg {
    flex: 1;
    border: 1.5px solid #ddd;
    border-radius: 20px;
    padding: 9px 14px;
    font-size: .83rem;
    resize: none;
    outline: none;
    font-family: 'Playfair', serif;
    transition: border-color 0.2s ease;
    background: white;
    color: #303030;
    line-height: 1.4;
}
#waCustomMsg:focus { border-color: #25d366; }
#waCustomMsg::placeholder { color: #aaa; }
#waSendCustom {
    background: #25d366;
    border: none;
    color: white;
    border-radius: 50px;
    padding: 9px 14px;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.15s ease;
    font-family: 'Playfair', serif;
    flex-shrink: 0;
}
#waSendCustom:hover { background: #1da851; transform: scale(1.05); }

/* ── IMAGE SHARPENING for WhatsApp compressed photos ── */
.project-img img, .modal-body .carousel-inner img {
    image-rendering: -webkit-optimize-contrast;
    filter: contrast(1.04) saturate(1.08);
}
.project-img img:hover { filter: contrast(1.06) saturate(1.1) brightness(1.02); }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.3; }
.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800; color: var(--dark);
    margin-bottom: 15px; position: relative; display: inline-block;
}
.section-title::after {
    content:''; position:absolute; bottom:-10px; left:50%; transform:translateX(-50%);
    width:60px; height:4px; background: var(--gradient-primary); border-radius:2px;
}
.section-subtitle { font-size:1.2rem; font-weight:600; color:var(--secondary); margin-bottom:20px; margin-top:14px; }
.gradient-text {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; display: inline-block;
}
.text-info { color: var(--primary) !important; }

/* ── NAVBAR ── */
.navbar {
    padding: 12px 20px;
    background: transparent !important;
    transition: all 0.4s ease;
    position: fixed !important; top:0; width:100%; z-index:9000;
}
.navbar.scrolled {
    background: rgba(26,26,46,0.97) !important;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 24px rgba(0,0,0,0.35); padding: 8px 20px;
}
.navbar-brand {
    font-weight: 700; font-size: 1.2rem;
    display: flex; align-items: center;
    color: var(--white) !important; text-decoration: none;
}
.navbar-brand img.logo { height: 50px; margin-right: 10px; transition: transform 0.35s ease; }
.navbar-brand:hover img.logo { transform: scale(1.08); }
.navbar-nav { width:100%; justify-content:center; gap:8px; }
.navbar-nav .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500; transition: var(--transition);
    font-size: 1rem; position: relative; padding: 6px 4px;
}
.navbar-nav .nav-link::after {
    content:''; position:absolute; bottom:0; left:0;
    width:0; height:2px; background: var(--gradient-secondary);
    transition: width 0.3s ease; border-radius:1px;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { width: 100%; }
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--white) !important; }

/* ── HERO CAROUSEL ── */
#uniqueCarousel { height:100vh; min-height:600px; overflow:hidden; position:relative; margin-top:-76px; }
#uniqueCarousel .carousel-item {
    height:100vh; min-height:600px;
    background-size:cover; background-position:center; position:relative;
}
#uniqueCarousel .carousel-item::before {
    content:''; position:absolute; inset:0; z-index:1;
    background: linear-gradient(135deg, rgba(26,26,46,0.78) 0%, rgba(26,26,46,0.38) 55%, rgba(0,0,0,0.15) 100%);
}
#uniqueCarousel .carousel-caption {
    position:absolute; top:50%; left:8%;
    transform:translateY(-50%); text-align:left;
    max-width:58%; z-index:2; animation: heroFadeIn 0.9s ease forwards;
}
@keyframes heroFadeIn { from{opacity:0;transform:translateY(-42%)} to{opacity:1;transform:translateY(-50%)} }
#uniqueCarousel .carousel-caption h1 {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight:800; color:var(--white); line-height:1.25;
    text-shadow:0 2px 20px rgba(0,0,0,0.4); margin-bottom:1.5rem;
}
.hero-cta-group { display:flex; gap:12px; flex-wrap:wrap; }
.hero-cta-group .btn { padding:12px 28px; font-size:.95rem; font-weight:600; }
.hero-scroll-indicator {
    position:absolute; bottom:32px; left:50%; transform:translateX(-50%);
    z-index:5; animation:bounce 2s infinite;
}
.hero-scroll-indicator a { color:rgba(255,255,255,0.7); font-size:1.5rem; text-decoration:none; }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }
#uniqueCarousel .carousel-control-prev,
#uniqueCarousel .carousel-control-next {
    width:50px; height:50px;
    background:rgba(255,255,255,0.15); backdrop-filter:blur(4px);
    border-radius:50%; top:50%; transform:translateY(-50%);
    transition:var(--transition); border:1px solid rgba(255,255,255,0.2);
}
#uniqueCarousel .carousel-control-prev { left:24px; }
#uniqueCarousel .carousel-control-next { right:24px; }
#uniqueCarousel .carousel-control-prev:hover,
#uniqueCarousel .carousel-control-next:hover { background:var(--primary); border-color:var(--primary); }
#uniqueCarousel .carousel-indicators { bottom:28px; gap:6px; }
#uniqueCarousel .carousel-indicators button {
    width:8px; height:8px; border-radius:50%;
    background:rgba(255,255,255,0.5); border:none; transition:all 0.3s; padding:0;
}
#uniqueCarousel .carousel-indicators button.active { background:white; width:24px; border-radius:4px; }

/* ── STATS STRIP ── */
.stats-strip { background:var(--dark); padding:40px 0; position:relative; overflow:hidden; }
.stats-strip::before { content:''; position:absolute; top:0; left:0; width:100%; height:4px; background:var(--gradient-primary); }
.stat-item { text-align:center; padding:10px 20px; border-right:1px solid rgba(255,255,255,0.1); }
.stat-item:last-child { border-right:none; }
.stat-number { font-size:clamp(2rem,4vw,2.8rem); font-weight:800; color:var(--primary); display:block; line-height:1; margin-bottom:6px; }
.stat-label { font-size:.85rem; color:rgba(255,255,255,0.6); text-transform:uppercase; letter-spacing:1px; font-weight:500; }

/* ── ABOUT ── */
.about-us-section { padding:110px 0; background:var(--light); overflow:hidden; }
.about-image { position:relative; overflow:hidden; border-radius:var(--radius); box-shadow:var(--shadow-lg); }
.about-image img { width:100%; height:auto; display:block; transition:transform 0.6s ease; }
.about-image:hover img { transform:scale(1.04); }
.about-image-badge {
    position:absolute; bottom:24px; right:0;
    background:var(--gradient-secondary);
    color:white; padding:18px 24px; border-radius:var(--radius) 0 0 var(--radius);
    text-align:center; box-shadow:var(--shadow-md);
}
.about-image-badge .badge-number { font-size:2rem; font-weight:800; display:block; line-height:1; }
.about-image-badge .badge-text { font-size:.8rem; opacity:.9; text-transform:uppercase; letter-spacing:.5px; }
.about-content { padding-left:40px; }
.about-text { font-size:1.05rem; line-height:1.85; color:var(--gray); margin-bottom:1.2rem; }
.about-features { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:1.5rem 0; }
.about-feature-item { display:flex; align-items:center; gap:8px; font-size:.95rem; font-weight:600; color:var(--dark); }
.about-feature-item i { color:var(--primary); }

/* ── SERVICES ── */
.services-section { padding:110px 0; background:linear-gradient(150deg,#f0f4ff 0%,#e8f4f8 50%,#f0f0f0 100%); overflow:hidden; }
.section-header { margin-bottom:60px; }
.service-card {
    background:var(--white); padding:36px 30px; border-radius:var(--radius);
    box-shadow:var(--shadow-sm); transition:var(--transition);
    height:100%; border-bottom:3px solid transparent; position:relative; overflow:hidden;
}
.service-card::before {
    content:''; position:absolute; top:0; left:0; right:0; height:3px;
    background:var(--gradient-primary); transform:scaleX(0); transform-origin:left; transition:transform 0.4s ease;
}
.service-card:hover::before { transform:scaleX(1); }
.service-card:hover { transform:translateY(-8px); box-shadow:var(--shadow-lg); border-bottom:3px solid var(--secondary); }
.service-header { display:flex; align-items:center; gap:14px; margin-bottom:16px; }
.service-header img { width:48px; height:48px; object-fit:contain; }
.service-header .icon { font-size:2rem; color:var(--primary); margin:0; }
.service-title { font-size:1.25rem; font-weight:700; color:var(--dark); margin:0; }
.service-text { font-size:.97rem; line-height:1.8; color:var(--gray); margin-bottom:20px; }
.service-link { color:var(--primary); text-decoration:none; font-weight:600; font-size:.95rem; display:inline-flex; align-items:center; gap:6px; transition:var(--transition); }
.service-link:hover { color:var(--secondary); gap:10px; }

/* ── WHY CHOOSE US ── */
.why-choose-us-section { padding:110px 0; background:var(--white); }
.feature-card { background:var(--light); padding:36px; border-radius:var(--radius); box-shadow:var(--shadow-sm); transition:var(--transition); border-bottom:3px solid transparent; height:100%; }
.feature-card:hover { transform:translateY(-8px); box-shadow:var(--shadow-md); border-bottom:3px solid var(--primary); background:var(--white); }
.icon { font-size:2.5rem; color:var(--primary); margin-bottom:20px; display:block; transition:transform 0.4s ease; }
.feature-card:hover .icon { transform:scale(1.1) rotate(5deg); }
.feature-title { font-size:1.35rem; font-weight:700; color:var(--dark); margin-bottom:12px; }
.feature-text { font-size:1rem; line-height:1.8; color:var(--gray); }

/* ── PROJECTS ── */
.projects-section { padding:110px 0; background:#f4f6f9; }
.filter-nav { gap:8px; }
.filter-nav .nav-link {
    color:var(--gray); font-weight:600; padding:8px 22px;
    border-radius:50px; border:2px solid #dde2ea;
    background:white; transition:var(--transition); font-size:.9rem;
}
.filter-nav .nav-link:hover { color:var(--primary); border-color:var(--primary); }
.filter-nav .nav-link.active {
    background:var(--gradient-primary); color:white;
    border-color:transparent; box-shadow:0 4px 12px rgba(14,177,241,.35);
}
.project-card { background:var(--white); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm); transition:var(--transition); height:100%; }
.project-card:hover { transform:translateY(-8px); box-shadow:var(--shadow-lg); }
.project-img { height:230px; position:relative; overflow:hidden; }
.project-img img { transition:transform 0.6s ease; height:100%; width:100%; object-fit:cover; }
.project-card:hover .project-img img { transform:scale(1.08); }
.project-overlay {
    position:absolute; inset:0;
    background:linear-gradient(to top, rgba(14,177,241,.9) 0%, rgba(26,26,46,.6) 100%);
    display:flex; align-items:center; justify-content:center;
    opacity:0; transition:opacity 0.35s ease;
}
.project-card:hover .project-overlay { opacity:1; }
.project-content { padding:20px 24px; border-top:1px solid #eef0f4; }
.project-content h3 { font-size:1.1rem; font-weight:700; color:var(--dark); margin-bottom:6px; }
.project-content p { color:var(--gray); font-size:.9rem; margin-bottom:12px; line-height:1.6; }
.project-item { transition: opacity 0.35s ease, transform 0.35s ease; }
.badge { font-weight:500; padding:5px 10px; border-radius:6px; font-size:.8rem; }

/* ── MODALS ── */
.modal-content { border-radius:16px; overflow:hidden; border:none; box-shadow:0 25px 60px rgba(0,0,0,.2); }
.modal-header { border-bottom:none; padding:24px 28px 12px; background:var(--light); }
.modal-title { color:var(--dark); font-weight:700; font-size:1.5rem; }
.modal-footer { border-top:none; background:var(--light); padding:12px 28px 24px; }
.modal-body { padding:24px 28px; }
.modal-body .carousel-inner img { max-height:400px; object-fit:cover; border-radius:8px; }
.modal-body .btn-primary { padding:10px 22px; font-size:.9rem; }

/* ── TEAM ── */
.team-section { padding:110px 0; background:var(--white); overflow:hidden; }
.architect-card { background:var(--white); transition:var(--transition); box-shadow:var(--shadow-lg); border-radius:16px; overflow:hidden; }
.architect-portrait { height:480px; object-fit:cover; object-position:center top; width:100%; transition:transform 0.6s ease; }
.architect-card:hover .architect-portrait { transform:scale(1.04); }
.profile-badge { position:absolute; bottom:-30px; left:50%; transform:translateX(-50%); z-index:2; }
.inner-badge {
    background:var(--white); padding:1rem 2rem; border-radius:50px;
    box-shadow:var(--shadow-md); display:flex; flex-direction:column; align-items:center;
    border:2px solid rgba(14,177,241,.2);
}
.years-badge { font-size:1.5rem; font-weight:800; color:var(--primary); }
.experience-text { font-size:.85rem; color:var(--gray); text-transform:uppercase; letter-spacing:.5px; }
.profile-content { padding:40px; }
.architect-name { font-size:1.8rem; font-weight:800; color:var(--dark); }
.social-links .btn { width:40px; height:40px; display:flex; align-items:center; justify-content:center; transition:var(--transition); border-radius:50% !important; }
.social-links .btn:hover { background:var(--gradient-primary); color:var(--white); border-color:transparent; transform:translateY(-3px); }
.expertise-card { border-left:4px solid var(--primary); transition:var(--transition); border-radius:var(--radius); }
.expertise-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-sm); }
.philosophy-item { transition:var(--transition); border-radius:var(--radius); }
.philosophy-item:hover { transform:translateY(-8px); box-shadow:var(--shadow-md) !important; }
.icon-box { width:56px; height:56px; border-radius:12px; display:flex; align-items:center; justify-content:center; color:var(--white); font-size:1.4rem; flex-shrink:0; }
.philosophy-item .icon-box img { width:36px; height:36px; object-fit:contain; }
.philosophy-item .icon-box i.fa-award { display:flex; align-items:center; justify-content:center; font-size:22px; }
.list-unstyled .fas { color:var(--secondary); }

/* ── CONTACT ── */
#contactus { padding:110px 0; background:linear-gradient(150deg,var(--light) 0%,#e8f4f8 60%,var(--light) 100%); }
.contact-method {
    padding:24px; border-radius:var(--radius); transition:var(--transition);
    margin-bottom:20px; border-left:4px solid var(--primary);
    background:var(--white); box-shadow:var(--shadow-sm);
}
.contact-method:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); border-left-color:var(--secondary); }
.contact-icon { display:flex; align-items:center; justify-content:center; width:60px; height:60px; background:var(--light); border-radius:10px; color:var(--secondary); font-size:1.4rem; transition:var(--transition); flex-shrink:0; }
.contact-method:hover .contact-icon { background:var(--gradient-primary); color:var(--white); }
.whatsapp-btn {
    display:inline-flex; align-items:center; gap:8px;
    background:#25d366; color:white; padding:10px 22px;
    border-radius:50px; text-decoration:none; font-weight:600; font-size:.9rem;
    transition:var(--transition); box-shadow:0 4px 12px rgba(37,211,102,.3);
}
.whatsapp-btn:hover { background:#1db954; color:white; transform:translateY(-2px); box-shadow:0 8px 20px rgba(37,211,102,.4); }
.form-control, .form-select { border:2px solid #e8eaed; border-radius:8px; transition:var(--transition); font-size:.95rem; }
.form-control:focus, .form-select:focus { border-color:var(--primary); box-shadow:0 0 0 3px rgba(14,177,241,.15); }
.form-floating label { color:var(--gray); }
.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label,
.form-floating>.form-select~label { color:var(--primary); }

/* ── BUTTONS ── */
.btn-primary { background:var(--gradient-primary); border:none; padding:12px 28px; font-weight:600; letter-spacing:.4px; text-transform:uppercase; transition:var(--transition); box-shadow:0 4px 15px rgba(14,177,241,.3); border-radius:8px; }
.btn-primary:hover { background:var(--gradient-secondary); transform:translateY(-2px); box-shadow:0 8px 22px rgba(251,129,34,.4); }
.btn-outline-primary { color:var(--primary); border-color:var(--primary); border-width:2px; }
.btn-outline-primary:hover { background:var(--primary); border-color:var(--primary); transform:translateY(-2px); }
.btn-outline-light { border-width:2px; }
.btn-secondary { background:var(--gradient-secondary); border:none; }
.btn-experience { background:var(--gradient-primary); border:none; color:white; transition:var(--transition); }
.btn-experience:hover { background:var(--gradient-secondary) !important; color:white; transform:translateY(-2px); }

/* ── TESTIMONIALS ── */
.testimonial-section { padding:110px 0; background:var(--light); position:relative; overflow:hidden; }
.testimonial-card { transition:var(--transition); border-radius:14px !important; height:100%; }
.testimonial-card:hover { transform:translateY(-8px); box-shadow:var(--shadow-lg) !important; }
.rating { color:#ffc107; font-size:1rem; letter-spacing:3px; }

/* ── FOOTER ── */
.footer { font-family:'Playfair',serif; background:#0f1120; }
.social-icon {
    display:inline-flex; align-items:center; justify-content:center;
    width:40px; height:40px; background:rgba(255,255,255,.08);
    border-radius:50%; color:var(--light); transition:var(--transition);
    margin:0 5px; text-decoration:none;
}
.social-icon:hover { background:var(--gradient-primary); color:var(--white); transform:translateY(-4px) scale(1.1); }
.developer-credit { color:var(--gray); transition:color .3s ease; text-decoration:none; }
.developer-credit:hover { color:var(--light) !important; }

/* ── RESPONSIVE ── */
/* ── ADDITIONAL COMPONENT STYLES ── */
.contact-info-title { font-size:.85rem; text-transform:uppercase; letter-spacing:.5px; color:var(--gray); margin-bottom:4px; }
.contact-info-value { font-size:1.05rem; font-weight:600; color:var(--dark); margin-bottom:0; word-break:break-word; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.project-item { transition: opacity 0.3s ease, transform 0.3s ease; }
.whatsapp-btn { margin-top:.5rem; }
.navbar.scrolled .logo { height: 42px; }

/* ═══════════════════════════════════════════════
   RESPONSIVE — Mobile-first overhaul
   No horizontal scroll on any screen size
   ═══════════════════════════════════════════════ */

/* Global overflow guard */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}
*, *::before, *::after {
    box-sizing: border-box;
    max-width: 100%;
}
img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

/* ── TABLET (max 992px) ── */
@media (max-width: 992px) {
    body { padding-top: 70px; }

    /* Navbar */
    .navbar-collapse {
        background: rgba(26,26,46,.97);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 16px;
        border-radius: 12px;
        margin-top: 8px;
        width: 100%;
        position: relative;
        z-index: 9001;
    }
    .navbar-nav { gap: 4px; }
    .navbar-nav .nav-link {
        display: block !important;
        width: 100% !important;
        padding: 10px 12px !important;
        pointer-events: auto !important;
        position: relative;
        z-index: 9002;
    }
    /* Ensure Contact Us button is reachable on mobile */
    .navbar-collapse .ms-auto {
        margin-top: 12px;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    /* Hero */
    #uniqueCarousel .carousel-caption {
        max-width: 85%;
        left: 5%;
        right: 5%;
    }

    /* Stats */
    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,.1);
        padding: 16px 10px;
    }
    .stat-item:last-child { border-bottom: none; }

    /* About */
    .about-content { padding-left: 0; margin-top: 30px; }
    .about-image-badge {
        position: relative;
        bottom: auto; right: auto;
        display: inline-flex;
        margin-top: 16px;
        border-radius: var(--radius);
    }

    /* Team */
    .architect-portrait { height: 360px; }
    .profile-content { padding: 24px; }
    .profile-badge { position: relative; bottom: auto; left: auto; transform: none; margin: 16px auto 0; display: flex; justify-content: center; }
    .inner-badge { display: inline-flex; }

    /* Services / Why / Projects */
    .services-section,
    .why-choose-us-section,
    .projects-section,
    .about-us-section,
    .team-section,
    .testimonial-section,
    #contactus { padding: 70px 0; }
}

/* ── MOBILE (max 768px) ── */
@media (max-width: 768px) {

    /* Hero */
    #uniqueCarousel,
    #uniqueCarousel .carousel-item { height: 85vh; min-height: 480px; }
    #uniqueCarousel .carousel-caption {
        max-width: 92%;
        left: 4%;
        right: 4%;
        padding: 0;
    }
    #uniqueCarousel .carousel-caption h1 { font-size: clamp(1.3rem, 5.5vw, 1.9rem); margin-bottom: 1rem; }
    .hero-cta-group { flex-direction: column; align-items: flex-start; gap: 10px; }
    .hero-cta-group .btn { padding: 10px 22px; font-size: .88rem; width: auto; }
    #uniqueCarousel .carousel-control-prev { left: 10px; }
    #uniqueCarousel .carousel-control-next { right: 10px; }

    /* Sections spacing */
    .services-section,
    .why-choose-us-section,
    .projects-section,
    .about-us-section,
    .team-section,
    .testimonial-section,
    #contactus { padding: 60px 0; }

    /* Stats */
    .stats-strip { padding: 30px 0; }
    .stat-number { font-size: clamp(1.6rem,6vw,2.2rem); }

    /* Team card */
    .architect-portrait { height: 280px; }
    .profile-content { padding: 20px; }
    .architect-name { font-size: 1.4rem; }

    /* Floating buttons */
    #scrollTop { bottom: 88px; right: 82px; width: 42px; height: 42px; font-size: 1rem; }
    .wa-widget { bottom: 16px; right: 14px; }
    .wa-fab { width: 54px; height: 54px; font-size: 1.65rem; }
    .wa-bubble { width: 290px; }
    #scrollTop { right: 14px; bottom: 88px; }

    /* Contact info */
    .contact-info-value { font-size: .95rem; }
    .contact-method { padding: 18px; }

    /* Modal */
    .modal-body { padding: 16px; }
    .modal-header { padding: 16px 16px 8px; }
    .modal-footer { padding: 8px 16px 16px; }
    .modal-body .carousel-inner img { max-height: 240px; }

    /* Testimonials */
    .testimonial-card { padding: 24px !important; }
}

/* ── SMALL MOBILE (max 576px) ── */
@media (max-width: 576px) {
    /* Navbar */
    .navbar-brand img.logo { height: 36px; }
    .navbar { padding: 10px 12px; }

    /* Hero */
    #uniqueCarousel,
    #uniqueCarousel .carousel-item { height: 80vh; min-height: 420px; }
    #uniqueCarousel .carousel-caption h1 { font-size: clamp(1.15rem, 5vw, 1.6rem); }

    /* About features grid */
    .about-features { grid-template-columns: 1fr; gap: 8px; }
    .about-content { padding-left: 0; }

    /* Service cards */
    .service-card { padding: 24px 20px; }
    .service-title { font-size: 1.1rem; }

    /* Project filter */
    .filter-nav .nav-link { padding: 6px 14px; font-size: .82rem; }

    /* Project cards */
    .project-img { height: 200px; }
    .project-content { padding: 14px 16px; }
    .project-content h3 { font-size: 1rem; }

    /* Team */
    .architect-portrait { height: 240px; }
    .profile-content { padding: 16px; }
    .expertise-card { padding: 16px !important; }
    .philosophy-item { padding: 20px !important; }

    /* Contact */
    .contact-icon { width: 48px; height: 48px; font-size: 1.1rem; }
    .whatsapp-btn { font-size: .82rem; padding: 8px 16px; width: 100%; justify-content: center; }
    .form-floating { margin-bottom: 4px; }

    /* Footer */
    .footer { text-align: center; }
    .social-icon { margin: 3px; }

    /* Floating buttons smaller */
    #scrollTop { width: 38px; height: 38px; font-size: .9rem; }
    .wa-widget { bottom: 14px; right: 12px; }
    .wa-fab { width: 50px; height: 50px; font-size: 1.5rem; }
    .wa-bubble { width: min(280px, calc(100vw - 28px)); }
}

/* ── EXTRA SMALL (max 400px) ── */
@media (max-width: 400px) {
    #uniqueCarousel .carousel-caption h1 { font-size: 1.1rem; }
    .hero-cta-group .btn { font-size: .8rem; padding: 8px 18px; }
    .stat-number { font-size: 1.5rem; }
    .section-title { font-size: 1.5rem; }
}

/* WhatsApp widget shake on empty send */
@keyframes waShake {
  0%,100% { transform: translateX(0); }
  20%,60% { transform: translateX(-5px); }
  40%,80% { transform: translateX(5px); }
}
.wa-shake { animation: waShake 0.4s ease; border-color: #ff3b30 !important; }

/* Mobile widget full width safety */
@media (max-width: 400px) {
  .wa-bubble { width: calc(100vw - 20px); right: 0; }
  .wa-widget { right: 10px; bottom: 12px; }
}
