/* @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Lato:wght@300;400;700&display=swap'); */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@500;700&family=Source+Sans+Pro:wght@300;400;600&display=swap');

*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

 h3 {
  font-weight: 600; 
  color: #1C1C1C;
  font-size: 1.4rem;
}
body, .p {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
  /* line-height: 1.7;  */
}
body{
    line-height: 1.4;
}
section{
  padding: 2rem 7%;
  }

.main-wrapper{
    position: fixed;
    z-index: 100000000;
    
    width: 100%;
}
.main-wrapper img{
    width: 100%;
    display: block;
}
.main-wrapper a{
    color: #000;
    text-decoration: none;
}
.main-wrapper ul li{
    list-style-type: none;
}
.navbar{
    background: #ffffff;
    padding: 0 1rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 10;
    
}
.brand-and-icon{
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
}
.navbar-brand {
    height: auto;
    width: 130px;
    background-color: #0056b3;
}
.navbar-toggler{
    display: block;
    border: none;
    background: transparent;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    transition: all 0.4s ease;
    border: 2px solid #000;
    border-radius: 4px;
}
.navbar-toggler:hover{
    opacity: 0.7;
}
.navbar-collapse{
    overflow-y: scroll;
    display: none;
    /* margin-top: 5px; */
    /* background-color: aquamarine; */
}
.navbar-nav > li > a{
    text-transform: uppercase;
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
    padding: 0.6rem 0;
    margin: 0.2rem 0;
    border-bottom: 1px solid #ddd;
    border-radius: 1px;
    position: relative;
    transition: all 0.4s ease;
    color: #05182c;
}
.drop-icon{
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}
.navbar-nav > li > a:hover{
    opacity: 0.7;
}
.sub-menu h4{
    text-transform: capitalize;
    font-size: 1rem;
    padding: 0.5rem 0;
}
.sub-menu ul li{
    text-transform: capitalize;
    padding: 0.2rem 0;
    margin: 0.2rem 0;
    font-size: 0.95rem;
}
.sub-menu ul li a{
    opacity: 0.8;
    transition: all 0.5s ease;
}
.sub-menu ul li a:hover{
    padding-left: 14px;
    opacity: 0.9;
}
.sub-menu{
    display: none;
}

.sub-menu-item{
    padding-left: 1.2rem;
    padding: 10px;
}


/* Media Queries */
@media screen and (min-width: 992px){

  
    .navbar{
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        border-bottom: 1px solid #ddd;
        position: relative;
    }
    .navbar-toggler{
        display: none;
    }
    .brand-and-icon{
        flex: 0 0 100px;
        border-bottom: none;
        padding: 0;
    }
    .navbar-collapse{
        display: block!important;
        overflow-y: hidden;
        flex: 1 0 auto;
    }
    .navbar-nav{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .navbar-nav > li > a{
        border-bottom: none;
        margin: 0 0.4rem;
        font-size: 0.8rem;
    }
    .sub-menu{
        position: absolute;
        left: 0;
        width: 100%;
        top: 87.20%;
        background: #f8f8f8;
    }
    .navbar-nav > li:hover .sub-menu{
        display: grid!important;
        grid-template-columns: repeat(4, 1fr);
        padding: 0 5rem;
    }
    .navbar-nav > li{
        border-bottom: 2px solid transparent;
        transition: border-bottom 0.4s ease;
    }
    .navbar-nav > li:hover{
        border-bottom-color: #000;
    }
    .sub-menu-item{
        padding-left: 0;
    }
    .sub-menu-item:nth-child(3){
        padding-left: 2rem;
        padding-right: 2rem;
    }

    
}

/* Search bar styles */
.search-bar {
    display: flex;
    align-items: center;
    margin: 0 1rem;
    flex: 1;
    min-width: 300px; /* Adjusted width */
  }
  
  .search-input {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
    outline: none;
  }
  
  .search-button {
    padding: 0.59rem 1rem;
  background: linear-gradient(135deg, #2c3e50, #25597b);
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .search-button:hover {
    background: #333;
  }
  
  /* Contact Us button */
  .contact-button {
    margin-left: auto; /* Push to the right */
    padding: 0 1rem;
  }
  
  .contact-link {
    display: flex;
    align-items: center;
    border: solid #294f7a 2px;
    color: #d4c5c5;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
  }
  
  .contact-link:hover {
    background: #294f7a;
    color: white;
  }
  
  .contact-link i {
    margin-right: 0.5rem;
  }
  
  .navbar-nav > li {
    margin: 0 0.2rem; 
  }
  
  /* Adjustments for mobile */
  @media screen and (max-width: 992px) {
    .search-bar {
      margin: 1rem 0;
      order: 3; 
      width: 100%;
      max-width: 100%; 
    }
  
    .navbar-collapse {
      order: 2; 
    }
  
    .contact-button {
      order: 4; 
      width: 100%;
      text-align: center;
      margin: 0.5rem 0;
    }
  
    .contact-link {
      justify-content: center;
    }
  }


/* Media queries for laptop and larger screens */
@media screen and (min-width: 992px) {
  .navbar {
    padding: 1.5rem 5rem 0rem; 
    flex-direction: row;
    align-items: center;
  }

  .brand-and-icon {
    flex: 0 0 100px;
    border-bottom: none;
    padding: 0;
  }

  .navbar-collapse {
    display: block !important;
    overflow-y: hidden;
    flex: 1 0 auto;
  }

  .navbar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .navbar-nav > li > a {
    border-bottom: none;
    margin: 0 0.4rem;
    padding: 0.6rem 1.8rem 0.6em 1rem;
    font-size: 0.8rem;
    border-bottom: 2px solid transparent;
        transition: border-bottom 0.4s ease;
  }

  .contact-button {
    margin-left: auto; 
  }
}




 /* Hero Section */
        .hero {
            position: relative;
            height: 100vh;
            min-height: 600px;
            max-height: 1200px;
            background: url('images/law bc2.webp') center/cover no-repeat;
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            overflow: hidden;
            padding: 20px;
        }
        
        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, 
                rgba(11, 32, 63, 0.85) 0%, 
                rgba(32, 58, 96, 0.8) 25%, 
                rgba(64, 104, 130, 0.75) 50%, 
                rgba(115, 147, 147, 0.7) 75%, 
                rgba(168, 191, 168, 0.65) 100%);
            animation: colorShift 15s infinite alternate;
            z-index: 0;
        }
        
        .hero-content {
            position: relative;
            z-index: 2;
            width: 100%;
            max-width: 1200px;
            padding: 20px;
        }
        
        .home-heading {
            font-size: clamp(2rem, 5vw, 4rem);
            font-weight: 700;
            margin-bottom: 15px;
            color: #f9f9f9;
            animation: fadeInDown 1.5s ease-out;
            line-height: 1.2;
        }
        
        .Lawyers-heading {
            display: block;
            font-size: clamp(1.2rem, 3vw, 1.8rem);
             color: #9ad1f5 ;       

            font-weight: 600;
        }
        
        .strng {
            color: #fff;
            font-weight: 800;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        }
        
        .hero-subtitle {
            font-size: clamp(1rem, 1.5vw, 1.2rem);
            color: #f1e9e9;
            line-height: 1.6;
            margin: 0 auto 30px;
            max-width: 800px;
            animation: fadeInUp 1.5s ease-out;
        }
        
        .hero-buttons {
            display: flex;
            justify-content: center;
            gap: 15px;
            flex-wrap: wrap;
            animation: fadeIn 2s ease-out;
            margin-bottom: 30px;
        }
        
        .btn-primary, .btn-secondary {
            padding: 12px 25px;
            border-radius: 4px;
            font-size: clamp(0.9rem, 1.1vw, 1rem);
            font-weight: 600;
            text-transform: uppercase;
            text-decoration: none;
            transition: all 0.3s ease;
            flex: 1 0 auto;
            max-width: 250px;
            text-align: center;
        }
        
        .btn-primary {
            background-color: #d4af37;
            color: #0b203f;
            border: 2px solid #d4af37;
        }
        
        .btn-primary:hover {
            background-color: #e8c252;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }
        
        .btn-secondary {
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            border: 2px solid #fff;
            backdrop-filter: blur(5px);
        }
        
        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
        }
        
        /* Social Media Icons */
        .social-media {
            /* position: fixed; */
            display: flex;
            gap: 10px;
            z-index: 10;
        }
        
        .desktop-social {
            right: 20px;
            top: 50%;
            right: 100%;
            /* transform: translateY(-50%); */
            flex-direction: column;
        }
        
        .mobile-social {
            display: none;
            bottom: 20px;
            left: 0;
            right: 0;
            justify-content: center;
            position: absolute;
        }
        
        .social-icon {
            color: #fff;
            font-size: clamp(1rem, 1.5vw, 1.2rem);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
            backdrop-filter: blur(5px);
        }
        
        .social-icon:hover {
            /* background: #d4af37; */
            color: #0b203f;
            transform: translateY(-3px);
        }
        
        /* Scroll Down Button */
        .scroll-down {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 2rem;
            color: #fff;
            animation: bounce 2s infinite;
            z-index: 2;
            text-decoration: none;
        }
        
        /* Animations */
        @keyframes fadeInDown {
            0% {
                opacity: 0;
                transform: translateY(-50px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes fadeInUp {
            0% {
                opacity: 0;
                transform: translateY(50px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes fadeIn {
            0% {
                opacity: 0;
            }
            100% {
                opacity: 1;
            }
        }
        
        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0) translateX(-50%);
            }
            40% {
                transform: translateY(-20px) translateX(-50%);
            }
            60% {
                transform: translateY(-10px) translateX(-50%);
            }
        }
        
        @keyframes colorShift {
            0% {
                background: linear-gradient(135deg, 
                    rgba(11, 32, 63, 0.85) 0%, 
                    rgba(32, 58, 96, 0.8) 25%, 
                    rgba(64, 104, 130, 0.75) 50%, 
                    rgba(115, 147, 147, 0.7) 75%, 
                    rgba(168, 191, 168, 0.65) 100%);
            }
            100% {
                background: linear-gradient(135deg, 
                    rgba(64, 104, 130, 0.85) 0%, 
                    rgba(32, 58, 96, 0.8) 25%, 
                    rgba(11, 32, 63, 0.75) 50%, 
                    rgba(168, 191, 168, 0.7) 75%, 
                    rgba(115, 147, 147, 0.65) 100%);
            }
        }
        
        /* Responsive Adjustments */
        @media (max-width: 992px) {
            .hero {
                padding: 40px 20px;
            }
            
            .hero-content {
                padding-top: 60px;
            }
            
            .hero-buttons {
                gap: 10px;
            }
            
            .btn-primary, .btn-secondary {
                padding: 12px 20px;
                max-width: 100%;
                flex: 0 0 calc(50% - 10px);
            }
        }
        
        @media (max-width: 768px) {
            .hero {
                min-height: 100vh;
                padding: 20px;
            }
            
            .home-heading {
                margin-bottom: 10px;
            }
            
            .hero-subtitle {
                margin-bottom: 25px;
            }
            
            .hero-buttons {
                flex-direction: column;
                gap: 10px;
            }
            
            .btn-primary, .btn-secondary {
                flex: 1 0 100%;
                max-width: 100%;
                width: 100%;
            }
            
            .desktop-social {
                display: none;
            }
            
            .mobile-social {
                display: flex;
                position: relative;
                margin-top: 20px;
            }
            
            .scroll-down {
                font-size: 1.5rem;
                bottom: 10px;
            }
        }
        
        @media (max-width: 480px) {
            .hero {
                padding: 20px 15px;
            }
            
            /* .home-heading {
                font-size: 1.8rem;
            } */
            
            /* .Lawyers-heading {
                font-size: 1.1rem;
                 margin-bottom: 10px;
                  

            } */
              .Lawyers-heading {
            display: block;
            font-size: clamp(1.2rem, 3vw, 1.8rem);
             color: #9ad1f5 ;       

            font-weight: 600;
            margin-bottom: 20px;
        }
        
        .strng {
            color: #fff;
            font-weight: 800;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
            font-size: 2.4rem;
        }
               
            .hero-subtitle {
                font-size: 1rem;
                margin-bottom: 20px;
            }
            
            .btn-primary, .btn-secondary {
                padding: 10px 15px;
                font-size: 0.9rem;
            }
            
            .social-icon {
                width: 35px;
                height: 35px;
                font-size: 1.5rem;
            }
        }
        
      
  /* Sub-Menu Container */
.sub-menu {
  background: linear-gradient(135deg, #ffffff, #f9f9f9); 
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); 
  gap: 5px; 
}

/* Sub-Menu Item */
.sub-menu-item {
  background: #ffffff; 
  padding: 20px; 
  transition: all 0.3s ease; 
}

.sub-menu-item:hover {
  background: #f5f5f5; 
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.10); 
}

/* Sub-Menu Heading */
.sub-menu-item h4 {
  font-size: 1rem;
  color: #294f7a; 
  margin-bottom: 15px; 
  font-weight: 700;
  text-transform: uppercase; 
  display: flex;
  align-items: center; 
  gap: 10px; 
}

.sub-menu-item h4 i {
  color: #023269; 
  font-size: 1.2rem; 
}

/* Sub-Menu List */
.sub-menu-item ul {
  list-style: none; 
  padding: 0; 
  margin: 0; 
}

/* Sub-Menu List Items */
.sub-menu-item ul li {
  margin: 10px 0; 
  position: relative; 
}

.sub-menu-item ul li a {
  text-decoration: none; 
  color: #444; 
  font-size: 0.95rem; 
  transition: all 0.3s ease; 
  display: flex;
  align-items: center; 
  gap: 8px; 
}

.sub-menu-item ul li a i {
  color: #294f7a; 
  font-size: 1rem; 
}

.sub-menu-item ul li a:hover {
  color: #b38b59; /* Gold color on hover */
  padding-left: 10px; /* Slight indent on hover */
}

/* Add a small line animation on hover */
.sub-menu-item ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #b38b59; /* Gold color */
  transition: width 0.3s ease; /* Smooth animation */
}

.sub-menu-item ul li a:hover::after {
  width: 100%; /* Full width on hover */
}
  
/* General Reset */
/* ===== Laptop Screens (min-width: 992px) ===== */
@media screen and (min-width: 992px) {
 
      .navbar {
        padding: 1rem 3rem !important; /* Added 0.8rem top/bottom padding */
        /* ... (keep your other laptop styles) ... */
      }
  
  

  /* Logo container - align to left edge */
  .brand-and-icon {
    margin-right: auto; /* Push logo to far left */
    flex: 0 0 auto; /* Don't grow/shrink */
  }

  /* Contact button - align to right edge */
  .contact-button {
    margin-left: auto; /* Push contact to far right */
    padding-right: 0; /* Remove extra padding */
  }

  /* Nav menu - center it between logo and contact */
  .navbar-collapse {
    flex: 0 1 auto; /* Allow shrinking */
    margin: 0 auto; /* Center horizontally */
  }

  /* Search bar - adjust spacing */
  .search-bar {
    margin: 0 1rem;
    max-width: 800px; /* Limit width */
  }
 
}



/* Hero Section */





.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-top: 120px;
}












/* Call-to-Action Buttons */


.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1rem;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #2c3e50, #25597b);
 /* Professional blue */
  border-color: #eceeef;
}

.btn-primary:hover {
  /* background-color: #4d6482; */
  color: #ffffff;
  background: linear-gradient(135deg, #25597b #2c3e50);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid #fff;
}

.btn-secondary:hover {
  background-color: #27385e;
  color: #ffffff;
  border-color: #424d64;
}

/* Social Media Icons */
.social-media {
  
  margin-top: 50px;
}

.social-icon {
  color: #2163ab;
  font-size: 1.5rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-5px);
  color: #1a73e8; /
}





/* General Section Styling */
.legal-intro {
  text-align: center;
  background: #ffffff; 
  color: #333; 
}

.intro-overlay {
  max-width: 1200px;
  margin: 0 auto;
}

/* Intro Text Styling */
.intro-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color:       linear-gradient(135deg, #2c3e50, #25597b);
; 
  font-weight: 700;
  letter-spacing: -1px;
}

.intro-text p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #555; 
}

/* Service Row Layout */
.service-row {
  display: flex;
  justify-content: space-between; 
  gap: 30px; 
  margin-top: 50px;
}

/* Service Item Styling */
.service-item {
  flex: 1;
  text-align: center;
  padding: 20px;
  background: transparent;
  border: none; 
  transition: transform 0.3s ease; 
}

.service-item:hover {
  transform: translateY(-5px);
}

/* Service Icon Styling */
.service-icon {
  margin-bottom: 20px;
}

.service-icon img {
  width: 150px; 
  height: 150px;
  border-radius: 50%; 
  padding: 10px;
     background: linear-gradient(100deg, #2c3e50, #25597b);
  transition: transform 0.3s ease, background 0.3s ease; 
}

.service-item:hover .service-icon img {
  transform: scale(1.1); 
  background: #2e416b; 
}

/* Service Info Styling */
.service-info h3 {
  margin-bottom: 10px;
  color: #1a2a4f; 
  font-weight: 600;
}

.service-info p {
  font-size: 1rem;
  color: #666; 
}

/* Responsive Design */
@media (max-width: 768px) {
  .intro-text h2 {
    font-size: 2.2rem; 
  }

  .intro-text p {
    font-size: 1.1rem; 
  }

  .service-row {
    flex-direction: column; 
    gap: 20px;
  }
}


/* /////////// */


 /* Main Section Layout */
 .new-main-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 80px;
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgb(111, 139, 169);
}

.new-image-slider {
  width: 40%;
}

.new-slider img {
  width: 100%;
  max-height: 350px;
  object-fit: cover;
  border-radius: 10px;
  border: solid 5px #34455e;
  margin-top: 5px;
}

/* Content on the right */
.new-content-area {
  width: 55%;
 
}

.new-content-area h2 {
  font-size: 2rem;
  color: #27385e;
  margin-bottom: 10px;
}

.new-content-area p {
 
  color:  #555;
  font-size: 1.1rem;
  margin-bottom: 25px;
  
}



/* Responsive Design for Tablets */
@media (max-width: 1024px) {
  .new-main-section {
    flex-direction: column;
    align-items: center;
    padding: 30px;
  }

  .new-image-slider, .new-content-area {
    width: 100%;
    text-align: center;
  }

  .new-content-area {
    margin-top: 20px;
  }
  .new-content-area p {
      font-size: 1.4rem;
      text-align: justify;
    }
}

/* Responsive Design for Mobile Phones */
@media (max-width: 768px) {
  .new-content-area h2 {
    font-size: 2.5rem;
  }

  .new-content-area p {
    font-size: 1.2rem;
    text-align: justify;
  }

  
}
/* OUR TEAM */

        
:root {
   
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #94a3b8;
    --gray-light: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #f9fafb;
} */

.Lawyers-section {
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    /* font-family: 'Playfair Display', serif; */
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

.Lawyers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.Lawyer-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.Lawyer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.card-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;       /* Allows zoom but crops edges */
    object-position: 50% 30%; /* Focuses on upper half (where faces usually are) */
    transition: transform 0.5s ease;
    transform: scale(1.1);   /* Slight initial zoom (adjust as needed) */
}

/* Optional: Subtle hover effect */
.Lawyer-card:hover .card-image img {
    transform: scale(1.15); /* Slightly stronger zoom on hover */
}
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 1.5rem;
    color: white;
}

.card-overlay h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #ffffff;
    background-color:#2c3e50;
    border-radius: 10px;
    display: inline;
    padding: 4px 10px; 
}

.card-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
     /* display: inline; */
    padding: 4px 10px; 
}

.card-content {
    padding: 1.5rem;
}

.specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.specialty {
    background-color: var(--gray-light);
    color: var(--dark);
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}

.card-content p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-light);
}


.btn-secondary:hover {
 background: linear-gradient(135deg, #2c3e50, #25597b);
border: solid white;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    color: var(--gray);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .Lawyers-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}


/* TEAM ENDS*/

/* LEGAL SERVICES SECTION START */

.bodying {
  background: #f8fafc;
  padding: 1rem 2rem;
  text-align: center;
}

.main-headingg {
  text-align: center;
  margin-bottom: 3rem;
  color: #2c3e50;
  font-size: 2rem;
  padding: 10px;
  border-bottom: 3px solid  #214863;

;
  display: inline-block;
  
}

.main-headinggg {
  text-align: center;
  margin-bottom: 3rem;
  color: #2c3e50;
  font-size: 2rem;
  padding: 1rem;
  border-bottom: 3px solid  #214863;

;
  display: inline-block;
  
}
.services-gridd {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  grid-auto-rows: minmax(180px, auto);
}

.service-cardd {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-cardd:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.card-primaryy {
  grid-column: span 2;
  background: linear-gradient(135deg, #2c3e50, #3498db);
  color: white;
}

.card-accentt {
  grid-column: span 1;
  background: linear-gradient(45deg,  #3498db, #2c3e50);
  color: white;
}

.card-headerr {
  margin-bottom: 1.5rem;
}

.card-headerr h2 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.card-headerr p {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.9;
}

.service-listt {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.8rem;
}

.service-listt li {
  padding: 0.8rem;
  background: rgba(255,255,255,0.15);
  border-radius: 6px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
}


.service-listt li:hover {
  transform: translateX(5px);
}

.service-listt li::before {
  content: '▹';
  margin-right: 0.6rem;
  color: #ffd93d;
  font-weight: 700;
}

.service-listt li a{
  text-decoration: none;
  color: white;
}
#service-id li a{
  color: #1a1818;
}
/* Mobile Responsive Additions */
@media (max-width: 768px) {
  .bodying {
      padding: 1rem;
  }

  .main-headingg {
      font-size: 1.8rem;
      width: 100%;
      display: block;
      margin-left: 0;
      transform: none;
      padding: 0.5rem 0;
      /* border-bottom: 2px solid #e74c3c; */
  }

  .services-gridd {
      grid-template-columns: 1fr;
      gap: 1rem;
  }

  .service-cardd {
      padding: 1.5rem;
      margin: 0;
  }

  .card-primaryy,
  .card-accentt {
      grid-column: span 1;
  }

  .card-headerr h2 {
      font-size: 1.3rem;
  }

  .card-headerr p {
      font-size: 0.9rem;
  }

  .service-listt {
      grid-template-columns: 1fr;
  }

  .service-listt li {
      padding: 0.7rem;
      font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .main-headingg {
      font-size: 1.5rem;
  }
  
  .service-cardd {
      padding: 1rem;
  }
}


/* LEGAL SERVICES ENDS */



/* tESTIMONIAL STARTS HERE*/

.testimonials{
  margin-top: 50px;
  padding: 10px;
  text-align: center;

}
.containerreview{
  padding: 40px;
}
.slide-container {
  margin: 0 auto;
  background-color: #fff;
  max-width: 1200px;
 
  
}

.testimonials h2{
  font-size: 2rem;
  margin-bottom: 10px;
  color: #27385e; 
}
.slide:hover {
transform: translateY(-10px);
}
.slide {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  margin: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  width: 200px;
  height: 400px;
  box-shadow: 0 1rem 2rem rgba(0,0,0,0.1);
  
}
.slide-para{
margin-top: 1.1rem;
  height: 200px;
  width: 100%;
  color: #555;
  text-align: justify;


}
.slide-para p{
  font-size: 1rem; 
  line-height: 1.4;
}
.slide-name{
margin-top: 1rem;
  color:  #3c4f78;
 
}

.fa-star, .fa-star-half-alt{

  color: rgb(75, 85, 118);
}
.fa-quote-left{
  margin-right:15px;
  color: rgb(156, 194, 243);
}
.fa-quote-right{
  margin-left:15px;
  color: rgb(156, 194, 243);
}
.photo{
  display: flex;
  align-items: center;
  justify-content: center;
}

.images {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
}


@media (max-width: 600px) {
  .slide {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    width: 350px;
    height: 450px;
    box-shadow: 0 1rem 2rem rgba(0,0,0,0.1);
    
  }
  .containerreview{
    padding: 0px;
  }
  .slide-para{
    margin-top: 1.2rem;
      height: 250px;
      width: 100%;
      color: #555;
      text-align: justify;
    
    
    }
}


/* TESTIMONIAL ENDS HERE*/

.faqs-section{
 
  max-height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  
}

.faqs-section h2{
  font-size: 2rem;
  margin-bottom: 20px;
}

.faqs-container{
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
max-width: 1400px;
  
  backdrop-filter: blur(5px);

}

.faqs{
  width: 100%;

  
}


/* faqss */
.faqs-section {
  /* max-width: 1400px; */
  
  /* background-color: #553636; */
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}



.faqs-section h2 {
  text-align: center;
  color: #27385e;
  font-size: 2rem;
}
.accordion:hover{
color: white;
}
.accordion {
  width: 100%;
  padding: 15px;
  text-align: left;
  font-size: 1.2rem;
  font-weight: 600;
  border: none;
  outline: none;
  cursor: pointer;
  background-color: #f1f1f1;
  color: #334468;
  transition: background-color 0.3s ease;
  border-radius: 5px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.open{
  background-color: #e3375f;
  color: white;
  border: 1px hidden deepskyblue;
}
.accordion:hover {
  background: linear-gradient(135deg, #2c3e50, #25597b);
}

.accordion.active {
  background: linear-gradient(135deg, #2c3e50, #25597b);
  color: #fff;
}

.accordion::after {
  content: '\25BC';
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.accordion.active::after {
  transform: rotate(180deg);
}

.panel {
  max-height: 0;
  overflow: hidden;
  background-color: #f9f9f9;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 1rem;
  padding: 0 15px;
  border-left: 4px solid #4CAF50;
  margin-bottom: 10px;
  border-radius: 0 0 5px 5px;
}

.panel-para {
  color: #555;
  padding: 10px 0;
}

.panel.open {
  padding: 15px;
}

@media (max-width: 600px) {
  .faqs-section {
      padding: 15px;
  }

  .accordion {
      font-size: 1rem;
      padding: 10px;
  }
}

/* end */


/* blogs */
.blogs-section {
color: #ecf0f1;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
    background: linear-gradient(135deg, #2c3e50, #25597b);

}
.blogs-container{
  width: 1400px;

}
.blogs-section h2 {
text-align: center;
font-size: 2rem;
margin-bottom: 30px;
color: #ecf0f1;
}

.blogs {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
gap: 20px;
}

.blog-box {
  background: linear-gradient(135deg, #2c3e50, #25597b);
border-radius: 5px;
border-bottom-right-radius: 50px;
overflow: hidden;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-box:hover {
transform: translateY(-10px);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.blog-box img {
width: 100%;
height: 180px;
object-fit: cover;
}

.blog-content {
padding: 20px;
}

.blog-content h3 {
margin-bottom: 10px;
color: #ffffff;
}

.blog-meta {
display: flex;
justify-content: space-between;
font-size: 0.9rem;
margin-bottom: 10px;
color: #bdc3c7;
}

.blog-meta .author,
.blog-meta .date {
display: inline-block;
}

.blog-content p {
font-size: 1rem;
margin-bottom: 15px;
}

.blog-content a {
display: inline-block;
padding: 10px 20px;
border: solid 3px      #2c3e50;
;
background-color: #ffffff;
color: #2C3E50;
text-decoration: none;
border-radius: 5px;
font-weight: bold;
transition: background-color 0.3s ease;
}

.blog-content a:hover {
background-color: #21659c;
}

/* BLOGS ENDS HERE */



/* CONTACT FORM START HERE */

.contact-section {
padding: 70px;
margin-top: 10px;
background-color: #f9f9f9;
}

.contact-container {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
max-width: 1200px;
margin: 0 auto;
gap: 20px;
}

.contact-info {
flex: 1;
min-width: 300px;
max-width: 48%;
padding: 12px;
}

 h2 {
font-size: 2rem;
margin-bottom: 10px;
color: #27385e;
}
.contact-info h3{
  font-size: 1.4rem;
}
.contact-info p {
font-size: 16px;
margin-bottom: 20px;
}

.contact-info .map iframe {
width: 100%;
height: 300px;
border: none;
border-radius: 20px;

}

.contact-form {
flex: 1;
min-width: 300px;
max-width: 48%;
background-color: #fff;
padding: 20px;
border-radius: 20px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
font-size: 2rem;
margin-bottom: 15px;
color: #27385e;
}

.contact-form form {
display: flex;
flex-direction: column;
gap: 10px;
}

.contact-form input,
.contact-form textarea {
width: 100%;
padding: 10px;
border: 1px solid #ddd;
border-radius: 4px;
}

.contact-form button {
padding: 10px 15px;
background-color: #27385e;
color: #fff;
border: none;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s;
}

.contact-form button:hover {
background-color: #13406c;
}

@media (max-width: 768px) {
.contact-info, .contact-form {
max-width: 100%;
}
.contact-section{
  padding: 10px;
}
}

/* end */

.btn_signn{
  /* display: flex;
  align-items: center; */
  background: #ffffff;
  border: solid #294f7a 2px;
  /* color: #d4c5c5; */
  padding: 0.5rem 2rem;
  font-weight: 520;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;

}


.btn_signn:hover{

  background: #294f7a;
  color: white;
}





/* FOOTER STARTS HERE*/

.footer {

  width: 100%;
 
  background: linear-gradient(135deg, #2c3e50, #25597b);
  border-radius: 6px;
  padding:0 ;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  }
  
  .footer .footer-row {
  max-width: 1250px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10rem;
 
  }
  .footer-row{
    padding: 2rem 2rem;
   
  }
  .footer-row .footer-col h4 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 400;
  margin-top: 30px;
  }
  .footer-col .links {
  margin-top: 20px;
  }
  .footer-col .links li {
  list-style: none;
  margin-bottom: 10px;
  }
  .footer-col .links li a {
  text-decoration: none;
  color: #f7f6f6;
  }
  .footer-col .links li a:hover {
  color: #fff;
  }
  .footer-col p {
  margin: 20px 0;
  color: #bfbfbf;
  max-width: 300px;
  }
  .footer-col form {
  display: flex;
  gap: 5px;
  }
  .footer-col input {
  height: 40px;
  border-radius: 6px;
  background: none;
  width: 100%;
  outline: none;
  border: 1px solid #7489C6 ;
  caret-color: #fff;
  color: #fff;
  padding-left: 10px;
  }
  .footer-col input::placeholder {
  color: #ccc;
  }
  .footer-col form button {
  background: #fff;
  outline: none;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.2s ease;
  }
  .footer-col form button:hover {
  background: #cecccc;
  }
  .footer-col .icons {
  display: flex;
  margin-top: 30px;
  gap: 30px;
  cursor: pointer;
  }
  .footer-col .icons i {
  color: #afb6c7;
  }
  .footer-col .icons i:hover  {
  color: #fff;
  }

  /* Social Icons */
.footer-social {
  text-align: center;
}
.footer-social h3{
  color: #ffffff;
  margin: 10px;
}
.social-icons a {
  display: inline-block;
  margin-right: 10px;
  
  
  transition: transform 0.3s ease;
}
.ab{
  font-size: 1.5rem;
  color: rgb(215, 216, 231);
}

.social-icons a:hover {
  transform: translateY(-5px);
}
 .fa-facebook-f:hover{ 
  color: #1877F2;
}
.fa-twitter:hover{
  color: #1DA1F2;
}
.fa-instagram:hover{
  color: #8a49a1;
}
.fa-linkedin-in:hover{
  color:  #0762C8;
} 
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.footer .footer-social {
  animation: fadeInUp 1s ease;
}

.footer-bottom {
  text-align: center;
  margin-top: 10px;
  font-size: 1rem;
  color: rgb(236, 237, 244);
}
  @media (max-width: 768px) {
  .footer {
  position: relative;
  bottom: 0;
  left: 0;
  transform: none;
  width: 100%;
  border-radius: 0;
  }
  .footer .footer-row {
  padding: 20px;
  gap: 1rem;
  }
  .footer-col form {
  display: block;
  }
  .footer-col form :where(input, button) {
  width: 100%;
  }
  .footer-col form button {
  margin: 10px 0 0 0;
  }
  }
  
/* FOOTER ENDS HERE */

.civill{
  color: white;
}


/* pop up */

.icon-popp {
position: fixed;

transform: translateY(-50%);
z-index: 1000;
animation: whatsapp-bounce 1s infinite alternate; 


right: 40px; /* Move it 20px from the right edge of the screen */
bottom: 100px; /* Move it 20px from the bottom edge of the screen */
border-radius: 50%; /* Make it circular (optional) */
display: flex; /* Center content inside */
justify-content: center; /* Horizontally center content */
align-items: center; /* Vertically center content */

font-size: 16px; /* Adjust text size */

cursor: pointer; /* Change cursor to pointer on hover */


}
.whatsapp-icon{
display: flex;
align-items: center;
justify-content: center;
/* flex-direction: column; */
}
@keyframes whatsapp-bounce {
0% {
  transform: translateY(-30%) scale(1.2);
}
100% {
  transform: translateY(-30%) scale(1.4); 
}
}

.whatsapp-icon img {
width: 40px;
/* background-color: #25D366;  */
height: auto;
background-color: #1f406d; 
    border: 2px solid #1c3765;
    border-radius: 15px;
    padding: 5px;
}


.whatsapp-button {
  background: #ffffff;
  color: #14c832;
  border: solid  #1c3765;
  padding: 9px 10px;
  border-radius: 15px;
  font-size: 14px;
  /* font-weight: bold; */
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
 
  display: inline-block;
}

@media only screen and (max-width: 555px) {

    .icon-popp {
position: fixed;
top: 90%;


}
.whatsapp-icon{
display: flex;
align-items: center;
justify-content: center;
/* flex-direction: column; */
}
@keyframes whatsapp-bounce {
0% {
  transform: translateY(-30%) scale(1.2);
}
100% {
  transform: translateY(-30%) scale(1.4); 
}
}

.whatsapp-icon img {
width: 40px;
/* background-color: #25D366;  */
height: auto;
}


.whatsapp-button {
  background: #ffffff;
  color: #171616;
  border: solid  #25D366;
  padding: 7px 10px;
  border-radius: 30px;
  font-size: 14px;
 
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
 
  display: inline-block;
}

}