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




body {
  overflow-x: hidden;   /* ❌ horizontal scroll remove */
}
 
 body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: whitesmoke;
  padding: 10px 20px;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 5px;
}

.logo img {
  width: 110px;
   border-radius: 8px;
}

.logo span {
  color: #d4af37;
  font-weight: 700;
  font-size: 23px;
}

/* Links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 35px;
}

.nav-links li a {
  text-decoration: none;
  color: black;
  font-weight: 600;   /* 🔥 bold */
  letter-spacing: 0.5px;
  transition: 0.3s;
  position: relative;
}

/* Hover underline effect */
.nav-links li a::after {
  content: "";
  width: 0%;
  height: 2px;
  background: #d4af37;
  position: absolute;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

.nav-links li a:hover {
  color: #d4af37;
  transform: translateY(-3px) scale(1.05); /* 🔥 slight 3D lift */
  text-shadow: 0 0 8px rgba(212,175,55,0.7);
}

/* Icons */
.nav-icons a .fa-facebook-f {
  color: #1877F2;
}

.nav-icons a .fa-twitter {
  color: #1DA1F2;
}

.nav-icons a .fa-linkedin-in {
  color: #0077B5;
}

.nav-icons a .fa-instagram {
  color: #E4405F;
}

/* WhatsApp already green */
.whatsapp i {
  color: #25D366;
}
.nav-icons a {
  margin: 0;   /* ❌ remove uneven spacing */
  font-size: 20px;   /* thoda aur visible */
  transition: transform 0.3s ease, filter 0.3s ease;
  gap: 15px;
   
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;   /* 🔥 circle */
  background: rgba(255,255,255,0.05);
}
.nav-icons {
  display: flex;         /* Icons ko ek line mein laye ga */
  align-items: center;   /* Vertically center kare ga */
  gap: 15px;             /* Icons ke darmiyan barabar space (distance) */
}

.nav-icons a:hover {
   transform: scale(1.4);   /* 🔥 zoom in */
  filter: brightness(1.2); /* thoda glow feel */
   background: rgba(212,175,55,0.2);
  box-shadow: 0 0 10px rgba(212,175,55,0.6);
}

/* WhatsApp */
.whatsapp {
  color: #25D366 !important;
}

/* Hamburger */
.menu-toggle {
  display: none;
  font-size: 22px;
  color: rgb(87, 75, 75);
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background: #111;
    flex-direction: column;
    width: 200px;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .nav-icons {
    display: none;
  }
}
/* Hero Slider Styling */
.slider-container {
    position: relative;
    width: 90%;
    height: 65vh; /* Screenshot ke mutabiq height */
    overflow: hidden;
    background: #000;
   margin-left: 6%;
   margin-right: 35%;
   margin-top: 5%;
}

.slider {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1.5s ease; /* Smooth 3D Transition */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 30px;
}

.slide.active {
    opacity: 1;
    transform: scale(1.05); /* Slight 3D Zoom Effect */
}

/* Slide Content Animation */
.slide-content {
    color: white;
    max-width: 600px;
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.8s ease 0.5s;
    margin-left: 40px;
}

.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-content h1 {
    font-size: 3.5rem;
    color: #d4af37; /* Gold color like screenshot */
    margin-bottom: 20px;
    
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

.slide-content p {
    font-size: 1.2rem;
    letter-spacing: 2px;
    background: rgba(0,0,0,0.3);
    display: inline-block;
    padding: 10px 20px;
}

/* Navigation Buttons */
.slider-btns {
    position: absolute;
    bottom: 10px;
    left: 10%;
    display: flex;
    gap: 10px;
}

.slider-btns button {
    background: rgba(0,0,0,0.6);
    border: 1px solid #d4af37;
    color: white;
    padding: 15px 20px;
    cursor: pointer;
    transition: 0.3s;
}

.slider-btns button:hover {
    background: #d4af37;
    color: black;
}
/* About Section Styling */
/* About Section Styling */
.about-section {
    padding: 20px 0 80px 0;
    background-color: #fff;
    display: flex;
    justify-content: center;
}

.about-container {
    max-width: 1200px;
    width: 90%;
    display: flex;
    align-items: center;
    gap: 50px;
}

/* Text Content */
.about-text {
    flex: 1.5; /* Text ko thoda zyada space diya */
}

.about-text h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 25px;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

/* Image Wrapper Fix */
.about-image-wrapper {
    flex: 1;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    /* Niche wali line white box khatam karegi */
    display: inline-block; 
    height: 70%; 
    margin-top: -30px;
clip-path: polygon(15% 0%, 100% 0%, 100% 85%, 85% 100%, 0% 100%, 0% 15%);
    
    transition: all 0.5s ease;

}

.about-image-wrapper:hover {
    /* Hover par corners ko thoda change bhi kar sakti hain (Optional) */
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 100% 100%, 0% 100%, 0% 0%);
}


.main-lawyer-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    
    transition: transform 0.8s ease;
}

/* Glass Effect */
.glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
    z-index: 2;
    pointer-events: none;
    transition: 0.5s;
}

/* Hover Effects */
.about-image-wrapper:hover .main-lawyer-img {
    transform: scale(1.1);
}

.about-image-wrapper:hover .glass-overlay {
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(0px);
}
.why-choose-section {
    padding: 40px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.choose-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

/* Title ke niche halki line */
.section-title::after {
    content: '';
    display: block;
    width: 60%;
    height: 3px;
    background: #d4af37;
    margin: 10px auto 0;
}

.section-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Counter Grid Styling */
.counter-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.counter-box {
    flex: 1;
    min-width: 200px;
}

.counter-box h3, .counter-box span {
    font-size: 4rem;
    font-weight: 500;
    color: #634339; /* Dark brownish color jaisa screenshot mein hai */
    display: inline-block;
}

.counter-box p {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    letter-spacing: 1px;
    margin-top: 10px;
}

/* Clients Section Styling */
.clients-section {
    position: relative;
margin-top: 6%;
    padding: 100px 0;
    background: url('back.jpg') no-repeat center center/cover;
    background-attachment: fixed; /* Parallax effect ke liye */
    text-align: center;
    overflow: hidden;
}

/* Background ko dark karne ke liye overlay */
.clients-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Background image ko thoda dark rakha hai */
    z-index: 1;
}

.clients-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    
}

.clients-title {
    color: #fff;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.clients-title::after {
    content: "";
    display: block;
    width: 100px;
    height: 4px;
    background: #d4af37;
    margin: 15px auto;
}

/* 4 columns grid for Desktop */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; /* Equal spacing between boxes */
}

/* Client Box Design */
.client-box {
    background: #fff;
    aspect-ratio: 1 / 1; /* Perfect Square banane ke liye */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    height: 75%;
}

.client-box img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    filter: grayscale(20%); /* Thoda professional touch */
    transition: 0.4s;
}

/* --- 3D & Hover Effects --- */
.client-box:hover {
    transform: translateY(-10px) scale(1.05) rotateX(10deg); /* 3D Tilt */
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.4); /* Gold glow on hover */
    border: 2px solid #d4af37;
}

.client-box:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Hidden Grid Logic */
.more-clients-grid {
    display: none; /* Shuru mein chhupa hua */
    grid-column: 1 / -1; /* Poori width cover karne ke liye */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s ease-out; /* Smooth opening effect */
}

.more-clients-grid.show {
    max-height: 1000px; /* Expands smoothly */
    margin-top: 20px;
}

/* Attractive Button Styling */
.btn-container {
    margin-top: 50px;
    align-items: center;
    justify-content: center;
}

.view-more-btn {
    background: transparent;
    color: #d4af37;
    border: 2px solid #d4af37;
    padding: 12px 35px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.view-more-btn i {
    margin-left: 10px;
    transition: 0.4s;
}

.view-more-btn:hover {
    color: #000;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

/* Button hover fill effect */
.view-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #d4af37;
    transition: 0.4s;
    z-index: -1;
}

.view-more-btn:hover::before {
    left: 0;
}

.view-more-btn.active i {
    transform: rotate(180deg); /* Click par arrow upar ho jaye */
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}


/* Navbar Actions Container */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Buttons ko stack (upro-nichy) karne ke liye */
.action-stack {
    display: flex;
    flex-direction: column; /* Aik ke niche aik */
    gap: 5px;
}

.btn-stack {
    text-decoration: none;
    font-size: 10px; /* Chota font taake heavy na lage */
    font-weight: 700;
    padding: 6px 15px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
}

/* Appointment Button - Gold Theme */
.book-btn-style {
    background: #d4af37;
    color: #000;
    border: 1px solid #d4af37;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

/* Portal Button - Dark/Minimal Theme */
.portal-btn-style {
    background: transparent;
    color: var(--text-color);
    border: 1px solid #d4af37;
}

/* Hover Effects (3D Feel) */
.btn-stack:hover {
    transform: translateX(-5px); /* Side se move hoga professional lagega */
    box-shadow: -4px 4px 10px rgba(0,0,0,0.2);
}

.book-btn-style:hover {
    background: #000;
    color: #d4af37;
}

.portal-btn-style:hover {
    background: #d4af37;
    color: #000;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .nav-actions {
        flex-direction: row-reverse;
    }
}


/* Full Page Clients Styles */
.full-page-clients {
    min-height: 100vh; /* Poore screen ki height */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0%;
}

.back-nav {
    text-align: left;
    margin-bottom: 20px;
}

.back-link {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.back-link:hover {
    letter-spacing: 1px;
}

/* 2x2 Grid Specific Layout */
.special-clients-grid {
    display: grid;
    grid-template-columns: repeat(2, 250px); /* Boxes ka size fixed rakha hai */
    gap: 30px;
    justify-content: center; /* Center mein alignment */
    margin-top: 20px;
}

/* 3D Floating Effect for this page */
.special-clients-grid .client-box {
    animation: float 4s ease-in-out infinite;
}

.special-clients-grid .client-box:nth-child(even) {
    animation-delay: 2s;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Mobile Responsive: 2 columns maintain rahenge lekin chote size mein */
@media (max-width: 600px) {
    .special-clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}


/* Responsive for Button Grid */
@media (max-width: 992px) {
    .more-clients-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .more-clients-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .clients-grid {
        grid-template-columns: repeat(3, 1fr); /* Tablets par 3 columns */
    }
}

@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr); /* Mobile par 2 columns */
        gap: 15px;
    }
    .clients-title {
        font-size: 2rem;
    }
}
/* --- FOOTER STYLING --- */
.main-footer {
    position: relative;
    
    padding: 80px 0 20px;
    background: url('slide22.jpg') no-repeat center center/cover;
    color: #fff;
    overflow: hidden;
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Dark overlay for text readability */
    z-index: 1;
}

.footer-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 50px;
}

.footer-col h3 {
    font-size: 1.2rem;
    color: #d4af37; /* Gold color */
    margin-bottom: 25px;
    letter-spacing: 1px;
    position: relative;
}

/* Heading ke niche line */
.footer-col h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: #d4af37;
    margin-top: 10px;
}

/* Resources Links */
.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links li a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
    font-size: 1rem;
}

.footer-links li a:hover {
    color: #d4af37;
    padding-left: 8px;
}

/* Social Icons */
.social-icons-footer {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.05);
}

.social-btn:hover {
    background: #d4af37;
    color: #000;
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Contact Info */
.contact-details p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.contact-details strong {
    color: #fff;
    display: block;
    margin-bottom: 3px;
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #888;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col h3::after {
        margin: 10px auto;
    }
    
    .social-icons-footer {
        justify-content: center;
    }
}

/* Dark Mode Colors */
:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --card-bg: #f5f5f5;
}

[data-theme="dark"] {
    --bg-color: #121212;
    --text-color: #ffffff;
    --card-bg: #1e1e1e;
}

/* Existing body aur sections ko variables se replace karein */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: 0.3s;
}

/* Theme Button Styling */
.theme-btn {
    background: transparent;
    border: 1px solid #d4af37;
    color: #d4af37;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-btn:hover {
    background: #d4af37;
    color: #fff;
}

/* --- MODERN CHATBOT STYLES --- */
#legal-chatbot {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    font-family: 'Poppins', sans-serif;
}

/* Floating Trigger Button */
.chat-trigger {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #d4af37, #b8860b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.chat-trigger:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.7);
}

.tooltip {
    position: absolute;
    left: -100px;
    background: #000;
    color: #fff;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 12px;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
}

.chat-trigger:hover .tooltip { opacity: 1; left: -110px; }

/* Chat Card - Glassmorphism */
.chat-card {
    width: 350px;
    height: 500px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.3);
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from { transform: translateY(100px) scale(0.8); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.chat-header {
    background: #111;
    color: #d4af37;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #d4af37;
}

.online-dot {
    width: 10px; height: 10px;
    background: #2ecc71;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    box-shadow: 0 0 10px #2ecc71;
}

.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #fdfdfd;
}

.message {
    padding: 12px 16px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.5;
    max-width: 85%;
}

.bot-msg {
    background: #eee;
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.user-msg {
    background: #d4af37;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

/* Quick Options Buttons */
.quick-options { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-btn {
    background: white;
    border: 1px solid #d4af37;
    color: #d4af37;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.3s;
}
.opt-btn:hover { background: #d4af37; color: white; transform: translateY(-2px); }

.chat-footer {
    padding: 15px;
    display: flex;
    gap: 10px;
    background: white;
}

#userInput {
    flex: 1;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 25px;
    outline: none;
}

#sendMsg {
    background: #d4af37;
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}
#sendMsg:hover { transform: scale(1.1); background: #b8860b; }

