/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #1a3a5f;
    --secondary: #8B4513;
    --accent: #c9a96e;
    --light: #f8f9fa;
    --dark: #343a40;
    --gray: #6c757d;
    --shadow: rgba(0,0,0,0.08);
    --surface: #ffffff;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

body {
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: #fafafa;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary);
}

p {
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #6b3710;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-outline:hover {
    background-color: var(--secondary);
    color: white;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: box-shadow .25s ease, background-color .25s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.logo span {
    color: var(--secondary);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--secondary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 58, 95, 0.8), rgba(26, 58, 95, 0.9)), url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1170&q=80') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero .container { position: relative; z-index: 2; }

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* About Section */
.about {
    background-color: var(--light);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Team Section */
.team {
    background-color: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.team-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.45s ease;
    text-align: center;
    opacity: 1;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid var(--light);
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--primary);
}

.team-role {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 15px;
}

/* Features Section */
.features {
    background-color: var(--light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, opacity 0.45s ease;
    text-align: center;
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Practice Areas */
.practice-areas {
    background-color: white;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.practice-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, opacity 0.45s ease;
    opacity: 1;
}

.practice-img {
    height: 200px;
    overflow: hidden;
}

.practice-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.practice-card:hover .practice-img img {
    transform: scale(1.1);
}

.practice-content {
    padding: 25px;
}

.practice-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--primary);
}

/* Testimonials */
.testimonials {
    background-color: var(--light);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    position: relative;
    transition: opacity 0.45s ease, transform 0.35s ease;
    opacity: 1;
}

.testimonial-card:before {
    content: '"';
    font-size: 5rem;
    color: var(--secondary);
    position: absolute;
    top: -10px;
    left: 10px;
    opacity: 0.3;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
}

.quote-section {
    background-color: var(--primary);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin: 60px 0;
}

.quote-section p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    font-style: italic;
}

.quote-author {
    margin-top: 20px;
    font-weight: 600;
}

/* Contact Section */
.contact {
    background-color: white;
}

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-info {
    flex: 1;
    background-color: var(--light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    color: var(--secondary);
    margin-right: 15px;
    font-size: 1.2rem;
    margin-top: 5px;
}

.newsletter {
    margin-top: 30px;
}

.newsletter p {
    margin-bottom: 15px;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: white;
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Chat Button */
.chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--secondary);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
}

.chat-btn:hover {
    transform: scale(1.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .features-grid,
    .practice-grid,
    .testimonial-grid,
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .about-content,
    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 15px;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 250px;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .features-grid,
    .practice-grid,
    .testimonial-grid,
    .footer-container {
        grid-template-columns: 1fr;
    }

    section {
        padding: 60px 0;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }
}

/* --------------------------
   Animation utilities & new styles for Industries page
   --------------------------*/

/* Reveal utility (preferred; works with IntersectionObserver fallback) */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.2,.9,.3,1);
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* delay helpers */
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }
.delay-5 { transition-delay: .4s; }

/* Industries page specific */
.industries-hero {
    padding: 64px 0;
    background: linear-gradient(180deg, rgba(139,69,19,0.03), transparent);
}

.hero-contents {
    display: flex;
    gap: 30px;
    align-items: center;
}

.hero-text { flex: 1; }
.hero-visual { flex: 1; display:flex; justify-content:center; position:relative; height:170px; }

.floating-icons {
    position: relative;
    width: 240px;
    height: 170px;
}
.floating-icons .icon {
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--surface);
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow: 0 8px 20px var(--shadow);
    transform-origin:center;
    animation: float 5s ease-in-out infinite;
}
.floating-icons .icon i { color: var(--secondary); font-size: 20px; }

/* icon placement (approx) */
.floating-icons .icon:nth-child(1){ left:8px; top:20px; animation-delay:0s; }
.floating-icons .icon:nth-child(2){ left:80px; top:0; animation-delay:.3s; }
.floating-icons .icon:nth-child(3){ left:150px; top:30px; animation-delay:.6s; }
.floating-icons .icon:nth-child(4){ left:90px; top:90px; animation-delay:.9s; }

@keyframes float {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(6deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* industries grid */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
    gap: 20px;
    margin-top: 18px;
}
.industry-card {
    background: var(--surface);
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 8px 24px var(--shadow);
    transition: transform .28s ease, box-shadow .28s ease;
}
.industry-card:hover{ transform: translateY(-10px); }
.industry-head { display:flex; align-items:center; gap:12px; margin-bottom:10px; }
.industry-head i { font-size:20px; color:var(--secondary); }

/* stats */
.industries-stats { padding: 36px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); gap: 18px; }
.stat-card { background: var(--surface); padding: 18px; border-radius: 12px; box-shadow: 0 8px 24px var(--shadow); text-align: center; }
.stat-value { font-size: 28px; font-weight:700; color: var(--secondary); }

/* CTA */
.industries-cta { padding: 30px 0; }
.cta-card {
    background: linear-gradient(90deg, rgba(139,69,19,0.06), rgba(26,58,95,0.02));
    padding: 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.cta-card h3 { margin:0; }

/* parallax hero small image (if used) */
.hero-parallax {
    width: 420px;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transform: translateZ(0);
}

/* small responsive tweaks for industries visuals */
@media (max-width: 900px) {
    .hero-contents { flex-direction: column; }
    .hero-parallax { width:100%; height:220px; }
}

/* minor accessibility focus styles */
a:focus, button:focus, input:focus, textarea:focus {
    outline: 3px solid rgba(139,69,19,0.18);
    outline-offset: 3px;
}
html {
  scroll-behavior: smooth;
}
.about {
  background-image: url(aboutus=background.jpg);
  background-size: cover;       /* makes the image cover full section */
  background-position: center;  /* centers the image */
  background-repeat: no-repeat;
  color: #fff;                  /* text color (white for contrast) */
  padding: 80px 0;              /* space top-bottom */
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);  /* dark overlay for readability */
  z-index: 1;
}

.about .container {
  position: relative;
  z-index: 2; /* keeps text above overlay */
}
/* Logo styling */
.logo img {
  height: 50px;         /* Adjust as per your design */
  width: auto;
  display: block;
}

/* Make sure logo aligns well */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .logo img {
    height: 40px;       /* Smaller logo for phone view */
  }
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between; /* logo left, menu right */
}

.mobile-menu-btn {
  margin-left: auto;  /* pushes button to the extreme right */
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* Mobile View Adjustments */
@media (max-width: 768px) {
  nav {
    display: none; /* hide nav links initially */
  }
  .mobile-menu-btn {
    display: block;
  }
}
/* Jo decorative overlays use kiye the, un par clicks pass-through kar do */
.about::before,
.hero::after,
.features::before {     /* agar aisi koi aur overlay ho to add here */
  pointer-events: none;
}

/* CTA ko stacking context me upar lao */
.cta {
  position: relative;
  z-index: 5;
}

/* Button clickable/visible rahe */
.cta .btn {
  display: inline-block;
  cursor: pointer;
}
/* ================================
   Overlay & Click Fixes
   ================================ */

/* Decorative overlays (pseudo elements) 
   ko clicks pass-through karne do */
.about::before,
.hero::after,
.features::before {
  pointer-events: none;
}

/* CTA section ko hamesha upar rakho 
   so buttons remain clickable */
.cta {
  position: relative;
  z-index: 5;
}

/* CTA buttons are clickable and styled as links */
.cta .btn {
  display: inline-block;
  cursor: pointer;
}
/* Scroll-driven reveal (modern browsers) */
@supports (animation-timeline: view()) {
  .reveal-smooth {
    animation: fadeUp both linear;
    animation-timeline: view();              /* element ke scroll se tied */
    animation-range: entry 15% cover 35%;    /* kab start/stop ho */
  }

  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(28px) scale(0.98);
      filter: blur(3px) saturate(0.8);
    }
    to {
      opacity: 1;
      transform: none;
      filter: blur(0) saturate(1);
    }
  }
}

/* Fallback default state (agar timeline support na ho) */
.reveal-smooth {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  filter: blur(2px);
  transition: opacity .7s ease, transform .7s ease, filter .7s ease;
}

/* Jab JS se class add ho to visible ho jaye (fallback) */
.reveal-smooth.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* Mobile par thoda zyada softness acchi lagti hai */
@media (max-width: 768px) {
  @supports (animation-timeline: view()) {
    .reveal-smooth {
      animation-range: entry 10% cover 45%;
    }
  }
}
.see-more-btn {
  text-align: center;
  margin-top: 30px;
}

.see-more-btn .btn {
  display: inline-block;
  padding: 12px 24px;
  background: #7a441f; /* your brand color */
  color: #fff;
  border-radius: 25px;
  font-weight: 600;
  transition: 0.3s ease;
}

.see-more-btn .btn:hover {
  background: #592f14; /* darker shade on hover */
}
/* Hide nav by default on mobile */
nav {
  display: none;
}

nav.active {
  display: block;
  position: absolute;
  top: 70px;        /* adjust according to header height */
  right: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  padding: 15px 20px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 10px 0;
}

nav ul li a {
  color: #222;
  font-weight: 600;
  text-decoration: none;
}

@media (min-width: 768px) {
  nav {
    display: block !important; /* always show on desktop */
    position: static;
    box-shadow: none;
  }
  .mobile-menu-btn {
    display: none; /* hide burger on desktop */
  }
}

/* Hamburger button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001; /* above drawer */
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: 0.3s;
}

/* Drawer nav */
.nav-drawer {
  position: fixed;
  top: 0;
  right: -100%; /* hidden by default */
  width: 70%;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 10px rgba(0,0,0,0.15);
  transition: right 0.4s ease;
  z-index: 1000;
  padding: 80px 20px;
}

.nav-drawer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-drawer ul li {
  margin: 20px 0;
}

.nav-drawer ul li a {
  color: #222;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}

/* Active state */
.nav-drawer.active {
  right: 0;
}

/* Hamburger animation to "X" */
.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* Show hamburger only on mobile */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }
  nav.nav-drawer {
    display: block;
  }
}
/* Drawer nav styling (update) */
.nav-drawer {
  position: fixed;
  top: 0;
  right: -100%; /* hidden by default */
  width: 100%;           /* full screen */
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 10px rgba(0,0,0,0.15);
  transition: right 0.4s ease;
  z-index: 1000;

  /* Center content */
  display: flex;
  align-items: center;   /* vertical center */
  justify-content: center; /* horizontal center */
}

/* UL ko column layout do */
.nav-drawer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 25px; /* spacing between links */
  text-align: center;    /* align text center */
}

.nav-drawer ul li a {
  color: #222;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-drawer ul li a:hover {
  color: #7a441f; /* brand color hover */
}
.team-card:last-child {
  background: #f9f5f1; /* light brand shade */
  border: 2px solid #7a441f;
}
/* Logo image */
.logo img {
  height: 45px;       /* size adjust kar lo */
  width: auto;
  display: block;
}

/* Header alignment */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.industries-hero {
  padding: 120px 20px 60px; /* top space 120px */
  background: #f9f9f9;      /* optional: halka bg color */
}
/* Scroll reveal base state */
.card {
  position:relative;
  overflow:hidden;
  border-radius:var(--radius);
  background:var(--card);
  box-shadow:var(--shadow);
  transform:translateY(40px) scale(0.95);
  opacity:0;
  transition:all 0.8s cubic-bezier(.2,.8,.2,1);
}

/* Reveal animation */
.card.revealed {
  transform:translateY(0) scale(1);
  opacity:1;
}
.industries-preview {
  background:#f9f9f9;
  padding:60px 20px;
}

.industries-grid {
  display:grid;
  gap:20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top:30px;
}

.industry-card {
  background:#fff;
  padding:25px;
  border-radius:16px;
  box-shadow:0 6px 18px rgba(0,0,0,0.08);
  text-align:center;
  transition:transform .3s ease, box-shadow .3s ease;
}

.industry-card:hover {
  transform:translateY(-6px);
  box-shadow:0 10px 24px rgba(0,0,0,0.12);
}

.industry-icon {
  font-size:40px;
  color:var(--brand);
  margin-bottom:15px;
}

.see-more-btn {
  text-align:center;
  margin-top:30px;
}
/* Modal Base */
.modal {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(2px);
  justify-content: center;
  align-items: center;
}

/* Modal Box */
.modal-content {
  background: #fff;
  padding: 25px 30px;
  border-radius: 12px;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  animation: fadeIn 0.3s ease-in-out;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-10px);}
  to {opacity: 1; transform: translateY(0);}
}
/* Base: keep the logo nicely sized on desktop too */
header .logo a {
  display: inline-flex;
  align-items: center;
}
header .logo img {
  height: clamp(38px, 4.5vw, 56px); /* responsive but never tiny */
  width: auto;
}

/* Give the header enough room for the bigger logo */
header,
.header-container {
  min-height: 64px;
}

/* Mobile: make the logo larger and add spacing from the hamburger */
@media (max-width: 640px) {
  :root { --header-h: 80px; }                 /* if you use this var elsewhere */
  header { min-height: var(--header-h); }

  .header-container {
    padding-block: 10px;                       /* vertical breathing room */
  }

  header .logo img {
    height: 56px;                              /* bigger logo on phones */
  }

  /* Keep hamburger aligned and not crowding the logo */
  .mobile-menu-btn {
    margin-left: auto;                         /* pushes it to the right */
  }
  .mobile-menu-btn span {
    width: 26px;                               /* optional: slightly bigger lines */
    height: 3px;
  }
}

/* Ensure image never distorts */
header .logo img { object-fit: contain; }
/* --- Mobile Header layout --- */
.mobile-header {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 72px;
}

/* Logo with rounded dark frame (screenshot-style) */
.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000;               /* black tile behind logo */
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 2px 0 rgba(0,0,0,0.2) inset, 0 3px 8px rgba(0,0,0,0.2);
}
.brand-logo img {
  height: 42px;                   /* increase if needed */
  width: auto;
  object-fit: contain;
}

/* Call badge (center) */
.call-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #0e1a2b;
  border-radius: 14px;
  padding: 10px 14px;
  border: 2px solid #e6e6e6;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.call-badge i {
  font-size: 18px;
  color: #e13a96;                 /* pinkish icon like screenshot */
}

/* Push hamburger to the extreme right */
.mobile-menu-btn {
  margin-left: auto;
}

/* Make hamburger lines slightly thicker/bigger for mobile */
.mobile-menu-btn span {
  display: block;
  width: 28px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  margin: 4px 0;
}

/* Responsive tweaks */
@media (max-width: 420px) {
  .brand-logo img { height: 40px; }
  .call-badge { padding: 9px 12px; font-size: 0.98rem; }
}
@media (max-width: 360px) {
  /* If space is too tight, hide number but keep phone icon (optional) */
  .call-badge span { display: none; }    /* comment this if you always want number visible */
  .call-badge { padding: 10px; }
}

/* Desktop/tablet: you can choose to hide the call badge, or keep it */
@media (min-width: 900px) {
  .call-badge {
    margin-left: 8px;
  }
}
/* Logo with rounded dark frame (square rounded box style) */
.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000;               /* black square box */
  border-radius: 14px;            /* rounded corners */
  padding: 8px;                   /* spacing inside box */
  box-shadow: 0 2px 0 rgba(0,0,0,0.2) inset, 0 3px 8px rgba(0,0,0,0.25);
  width: 72px;                    /* fixed square */
  height: 72px;                   /* fixed square */
}

.brand-logo img {
  height: 56px;                   /* logo size (increase/decrease if needed) */
  width: auto;
  object-fit: contain;
}
/* ------- Premium Mobile Drawer + Overlay ------- */
.nav-overlay{
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(2px);
  z-index: 998;
}

.nav-drawer{
  position: fixed; top: 0; right: -100%;
  width: min(86vw, 360px); height: 100dvh;
  background: linear-gradient(180deg,#0e1a2b 0%, #23364f 100%);
  color:#fff; z-index: 999;
  display:flex; flex-direction:column;
  padding: 18px 18px 28px;
  box-shadow:-10px 0 30px rgba(0,0,0,.25);
  transition:right .32s ease;
}
.nav-drawer.active{ right:0; }

.drawer-header{ display:flex; align-items:center; justify-content:space-between; }
.drawer-logo{ width:120px; height:auto; object-fit:contain; }
.drawer-close{
  width:36px; height:36px; border-radius:50%;
  border:0; background:#fff; color:#0e1a2b; font-size:26px; line-height:36px; cursor:pointer;
  box-shadow:0 4px 12px rgba(0,0,0,.15);
}

.drawer-links{ list-style:none; margin:28px 0 0; padding:0; }
.drawer-links li{ margin: 14px 0; }
.drawer-links a{
  display:block; padding:12px 6px;
  font-size:18px; font-weight:600; color:#fff; text-decoration:none;
  border-radius:10px; transition:background .25s ease, color .25s ease, transform .1s;
}
.drawer-links a:hover{ background:rgba(255,255,255,.10); transform:translateX(4px); }
.drawer-links a.active{ color:#f0a500; }

/* Hamburger lines */
.mobile-menu-btn{ display:flex; flex-direction:column; gap:4px; background:none; border:none; cursor:pointer; }
.mobile-menu-btn span{ width:28px; height:3px; background:#333; border-radius:2px; display:block; }

/* Logo framed square (both desktop+mobile) */
.brand-logo{
  display:inline-flex; align-items:center; justify-content:center;
  background:#000; border-radius:14px; padding:8px;
  box-shadow:0 2px 0 rgba(0,0,0,.2) inset, 0 3px 8px rgba(0,0,0,.25);
  width:72px; height:72px;
}
.brand-logo img{ height:56px; width:auto; object-fit:contain; }

/* Make space in header for larger logo */
.header-container{ min-height:72px; }

/* Hide old inline nav on desktop if any conflicting rules remain */
@media (min-width:768px){
  nav ul{ display:none !important; }
}

/* About background overlay clicks pass-through already handled in your CSS */
/* Hide nav by default on mobile */
nav {
  display: none;
}

/* Show nav normally on desktop */
@media (min-width: 992px) {
  nav {
    display: block !important;   /* force nav to show on desktop */
    position: static;
    box-shadow: none;
    background: transparent;
    padding: 0;
  }

  nav ul {
    display: flex;
    gap: 30px;                   /* spacing between menu items */
    justify-content: flex-end;
    align-items: center;
  }

  nav ul li {
    margin: 0;
  }

  nav ul li a {
    font-size: 16px;
    font-weight: 500;
    color: #222;
    transition: color 0.3s;
  }

  nav ul li a:hover {
    color: #7a441f;              /* brand hover color */
  }

  .mobile-menu-btn {
    display: none;               /* hide burger on desktop */
  }
}

/* Mobile drawer styling (unchanged for <992px) */
@media (max-width: 991px) {
  nav.nav-drawer {
    display: block;
  }
}
.contact-container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: stretch; /* ✅ makes both columns equal height */
}

.contact-form,
.contact-info {
  flex: 1;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-details {
  margin-bottom: 20px;
}

.contact-map {
  flex-grow: 1;
}

.contact-map .map-frame {
  width: 100%;
  height: 100%; /* ✅ fills remaining space to match form height */
  min-height: 280px;
  border: 0;
  border-radius: 12px;
}