* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* COLORS */
:root {
    --green: #20b15a;
    --dark: #2c3e50;
    --light: #f4f6f8;
}

/* ================= TOP BAR ================= */
.top-bar {
    background: #2c3e50;
    color: white;
    padding: 10px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.top-left {
    display: flex;
    align-items: center;
}

/* RIGHT SIDE BUTTONS */
.top-right {
    display: flex;
    gap: 10px;
}

/* COMMON BUTTON STYLE */
.top-btn {
    background: #20b15a;
    color: white;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 3px;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.top-btn:hover {
    background: #178f4a;
}
/* ================= HEADER ================= */
.header {
    background: #fff;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    top: 0;
    z-index: 100;
    padding:20px;
    position:relative;
}
.menu-toggle{
    display:none;
    background:none;
    border:none;
    font-size:34px;
    cursor:pointer;
    color:#20b15a;
}
.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--green);
}
.logo span {
    display: block;
    font-size: 14px;
    color: #555;
    font-weight: normal;
}
/* ===== ABOUT US DROPDOWN ===== */
.main-nav .menu {
  list-style: none;
  display: flex;
  gap: 30px;
}
.main-nav .menu li {
  position: relative;
}
.main-nav .menu li a {
  text-decoration: none;
  font-weight: 600;
  color: #222;
  padding: 10px 0;
}
.main-nav .menu li a:hover{
    color: #1fb85a;
}
/* Dropdown box */
.main-nav .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 200px;
  background: #1f2d3d;
  display: none;
  flex-direction: column;
  z-index: 999;
   list-style-type: none;
}
/* Show on hover */
.main-nav .has-dropdown:hover .dropdown {
  display: block;
}
/* Dropdown links */
.main-nav .dropdown li a {
  padding: 14px 18px;
  color: #fff;
  display: block;
  font-weight: 500;
}
.main-nav .dropdown li a:hover {
  background: #2f7f5f;
}
.btn-green {
    background: var(--green);
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
}
/* ================= HERO SLIDER ================= */
.hero-slider {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
}
.slides {
    display: none;
    width: 100%;
    height: 100%;
}
.slides img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

/* ================= FLOATING RIGHT BUTTON ================= */
.floating-btn {
    position: absolute;
    right: 0;
    top: 38%;
    background: var(--green);
    color: #fff;
    padding: 16px 18px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px 0 0 6px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    text-align: center;
    z-index: 10;
    box-shadow: -2px 2px 10px rgba(0,0,0,0.25);
    transition: background 0.3s ease;
}

.floating-btn:hover {
    background: #178f4a;
}

/* ================= INTRO ================= */
.intro {
    padding: 70px 100px;
    text-align: center;
    background: #fff;
}

.intro h2 {
    font-size: 37px;
    color: var(--dark);
    margin-bottom: 15px;
}

.intro p {
    font-size: 18px;
    color: #555;
    max-width: 850px;
    margin: auto;
    line-height: 1.6;
}
/* ================= OUR SERVICES ================= */
.services {
    background: #f3f7fd;
    padding: 80px 60px;
}

.services-header {
    text-align: left;
    margin-bottom: 50px;
}

.services-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.services-header .underline {
    display: inline-block;
    width: 45px;
    height: 4px;
    background: #20b15a;
    border-radius: 2px;
}

/* GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

/* CARD */
.service-card {
    background: #dfe7f9;
    padding: 35px 20px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #000;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}
.service-card a{
    text-decoration: none;
    color: inherit;
}
/* HOVER EFFECT (like reference site) */
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.15);
    color: #20b15a;
}

/* Forms Page */
    .forms-section{
    width: 85%;
    margin: 40px auto;
}

.form-box{
    border: 1px solid #dcdcdc;
    background: #fff;
    min-height: 90px;
    margin-bottom: 20px;
    box-sizing: border-box;
    transition: 0.3s;
}

.form-box a{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90px;
    text-decoration: none;
    color: #222;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 0 20px;
}

.form-box:hover{
    background: #f8f8f8;
}

.form-box a:hover{
    color: #0d8b1a;
}

/* ================= NEWSLETTER ================= */
.newsletter {
    background: var(--dark);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.newsletter h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.newsletter input {
    padding: 12px;
    width: 260px;
    border: none;
    border-radius: 4px;
    margin: 10px;
    outline: none;
}

.newsletter button {
    background: var(--green);
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.modal {
    display: flex;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    width: 500px;
    max-width: 90%;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}

.modal-content h2 {
    margin-bottom: 15px;
}

.modal-content button {
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 20px;
}

/* =========================
   FONT AWESOME ICON FIX
   ========================= */

/* Contact icons (email, phone, location) */
.contact-item .icon {
    width: 42px;
    height: 42px;
    background: #1fb85a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
}

/* Important links list */
.footer-box ul li {
    margin-bottom: 10px;
    color: #d7d7d7;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-box ul li i {
    color: #1fb85a;
    font-size: 12px;
   

}

/* Open hours clock icon */
.footer-box p i {
    color: #1fb85a;
    margin-right: 6px;
}
.footer-box ul li a{
    color: #d7d7d7;
    text-decoration: none;
    transition: 0.3s;
}

.footer-box ul li a:hover{
    color: #1fb85a;
}

/* ================= FOOTER ================= */
.site-footer {
    background: #2f3a3f;
    color: #fff;
    font-size: 15px;
}

/* CALLBACK BAR */
.footer-callback {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 22px 50px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-callback h2 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-right: 20px;
    white-space: nowrap;
}

.footer-callback input,
.footer-callback select {
    height: 44px;
    padding: 0 14px;
    border-radius: 4px;
    border: none;
    width: 210px;
    font-size: 14px;
    outline: none;
}

.footer-callback select {
    background: #e9f0f5;
}

.footer-callback button {
    height: 44px;
    padding: 0 38px;
    background: #1fb85a;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}

/* CONTACT ROW */
.footer-contact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 35px 50px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.contact-item {
    display: flex;
    gap: 15px;
    line-height: 1.6;
    font-size: 15px;
}

.contact-item .icon {
    width: 42px;
    height: 42px;
    background: #1fb85a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* FOOTER MAIN */
.footer-main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px;
    padding: 55px 50px;
}

.footer-box h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.footer-box .line {
    width: 42px;
    height: 3px;
    background: #1fb85a;
    margin-bottom: 18px;
}

.footer-box p,
.footer-box ul li {
    color: #d7d7d7;
    line-height: 1.7;
}

.footer-box ul {
    padding-left: 18px;
}


/* RESPONSIVE */
@media (max-width: 992px) {
    .footer-callback {
        flex-wrap: wrap;
    }

    .footer-contact,
    .footer-main {
        grid-template-columns: 1fr;
    }
}
/* ===============================
   OUR FIRM PAGE ONLY
   =============================== */

.our-firm-page {
  padding: 40px 60px;
}

/* Title + breadcrumb */
.our-firm-header h1 {
  font-size: 36px;
  font-weight: 700;
  color: #222;
}

.our-firm-header .breadcrumb {
  color: #2f7f5f;
  font-size: 15px;
}

/* Layout */
.our-firm-body {
  display: flex;
  gap: 40px;
}

/* Sidebar */
.our-firm-sidebar {
  width: 280px;
}

.our-firm-sidebar a {
  display: block;
  padding: 18px 20px;
  background: #f3f3f3;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
}

.our-firm-sidebar a:hover {
  background: #3d546a;
  color: #fff;
}

/* Content */
.our-firm-content {
  flex: 1;
  font-size: 16px;
  line-height: 1.9;
  color: #555;
}

.our-firm-content p {
  margin-bottom: 22px;
}
/* =========================
   SERVICE INNER PAGE
   ========================= */

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* Header */
.page-header {
  background: #f7f7f7;
  padding: 35px 0;
  border-bottom: 1px solid #eee;
}

.page-header h1 {
  font-size: 34px;
  font-weight: 700;
  color: #222;
}

.breadcrumb {
  margin-top: 10px;
  font-size: 15px;
  color: #2f7f5f;
}

/* Layout */
.service-page {
  padding: 50px 0;
}

.service-layout {
  display: flex;
  gap: 40px;
}
.service-list li{
    list-style: none;
  padding-left: 0;
}

/* Green tick */
.service-list li::before {
  content: "✔ ";
  color: #20b15a;
  font-weight: bold;
}


/* contact page */
body {
    font-family: Arial, sans-serif;
    background: #f7f7f7;
}

/* Container */
.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 15px;
}

/* Form box */
.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Row (Name + Email) */
.row {
    display: flex;
    gap: 15px;
}

/* Inputs */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: 0.3s;
}

/* Half width */
.row input {
    width: 50%;
}

/* Focus effect */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #28a745;
    box-shadow: 0 0 5px rgba(40,167,69,0.2);
    outline: none;
}

/* Textarea */
.contact-form textarea {
    resize: none;
}

/* Button */
.contact-form button {
    width: 100%;
    background: #28a745;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #2b2e36;
}
 /* Forms Page */
    .forms-section{
    width: 85%;
    margin: 40px auto;
}

.form-box{
    border: 1px solid #dcdcdc;
    background: #fff;
    min-height: 90px;
    margin-bottom: 20px;
    box-sizing: border-box;
    transition: 0.3s;
}

.form-box a{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90px;
    text-decoration: none;
    color: #222;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 0 20px;
}

.form-box:hover{
    background: #f8f8f8;
}

.form-box a:hover{
    color: #0d8b1a;
}
html,
body {
    width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* Hide hamburger on desktop */
.menu-btn {
    display: none;
}


/* ===================================
   TABLET & MOBILE
=================================== */

@media screen and (max-width: 768px) {

    /* Header */
    .header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
        position: relative;
    }

    /* Logo */
    .logo {
        font-size: 22px;
    }

    /* Hamburger Button */
    .menu-btn {
        display: block;
        font-size: 30px;
        background: none;
        border: none;
        cursor: pointer;
    }
 .menu-toggle{
        display:block;
    }

    /* Navigation */
    .main-nav {
        display: none;
        width: 100%;
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 999;
        box-shadow: 0 4px 10px rgba(0,0,0,.1);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav .menu {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .main-nav .menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #eee;
        padding: 15px 0;
    }

    .menu{
        flex-direction:column;
    }

    .menu li{
        width:100%;
        border-bottom:1px solid #eee;
    }
    .main-nav .dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
    }

    /* Top Bar */
    .top-bar {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .top-left {
        line-height: 1.8;
    }

    .top-btn {
        width: 100%;
        max-width: 250px;
    }

    /* Hero Slider */
    .hero-slider,
    .slides img {
        height: 250px;
    }

    /* Intro Section */
    .intro {
        padding: 40px 15px;
    }

    .intro h2 {
        font-size: 30px;
    }

    .intro p {
        font-size: 15px;
        line-height: 1.8;
    }

    /* Services Grid */
    .services-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        width: 100%;
    }
}
@media (max-width:768px){
@media screen and (max-width: 768px) {

    .our-firm-page{
        padding:20px 15px;
    }

    .our-firm-body{
        display:flex ;
        flex-direction:column ;
        gap:20px;
    }

    .our-firm-content{
        width:100% ;
        order:1;
    }

    .our-firm-sidebar{
        width:100% ;
        order:2;
        margin-top:15px;
    }

    .our-firm-sidebar a{
        display:block;
        width:100%;
        padding:18px;
        margin-bottom:8px;
        box-sizing:border-box;
        text-align:left;
    }

    .service-content{
        width:100%;
    }

    .service-list{
        padding-left:0;
    }

    .service-list li{
        margin-bottom:12px;
        line-height:1.8;
        margin-right: -6px;
    }
    .page-header h1 {
    font-size: 20px;
}
    /* Forms Page */
 .forms-section{
        width: 92%;
        margin: 30px auto;
    }

    .form-box{
        min-height: 80px;
        margin-bottom: 18px;
    }

    .form-box a{
        min-height: 80px;
        font-size: 16px;
        padding: 0 15px;
    }

    /* Newsletter */
    .newsletter {
        flex-direction: column;
    }

    .newsletter input,
    .newsletter button {
        width: 100%;
        margin: 5px 0;
    }

    /* Callback Form */
    .footer-callback {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .footer-callback input,
    .footer-callback select,
    .footer-callback button {
        width: 100%;
    }

    .footer-callback h2 {
        text-align: center;
    }

    /* Footer */
    .footer-columns {
        flex-direction: column;
    }

    .footer-column {
        width: 100%;
        margin-bottom: 25px;
    }

    .contact-item {
        align-items: flex-start;
    }
    .modal-content {
        width: 90%;
        max-width: 450px;
        padding: 20px;
    }

    .modal-content h2 {
        font-size: 24px;
    }

    .modal-content p {
        font-size: 16px;
        line-height: 1.6;
    }

    .modal-content button {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }
}
}

/* ===================================
   SMALL MOBILE DEVICES
=================================== */

@media screen and (max-width: 480px) {

    .logo {
        font-size: 20px;
        text-align: center;
    }

    .logo span {
        font-size: 12px;
    }

    .hero-slider,
    .slides img {
        height: 180px;
    }

    .intro h2,
    .services-header h2 {
        font-size: 24px;
    }

    .service-card {
        font-size: 16px;
    }

    .top-btn {
        width: 100%;
    }

    .our-firm-sidebar a {
        font-size: 15px;
    }

    .service-list li {
        font-size: 15px;
    }

    .form-box a {
        font-size: 14px;
    }
}
@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        padding: 15px;
    }

    .modal-content h2 {
        font-size: 20px;
    }

    .modal-content p {
        font-size: 14px;
        line-height: 1.5;
    }

    .modal-content button {
        width: 100%;
        padding: 10px;
        font-size: 14px;
    }
}
.forms-section{
    width: 85%;
    margin: 40px auto;
}

.form-box{
    border: 1px solid #dcdcdc;
    background: #fff;
    height: 90px;
    margin-bottom: 15px; /* gap between boxes */
    box-sizing: border-box;
    margin-bottom: -20px;
}

.form-box a{
    display: block;
    text-decoration: none;
    color: #222;
    font-size: 18px;
    font-weight: 600;
    text-align: center;

    /* text near top */
    padding-top: 25px;
    padding-bottom: 15px;
}

.form-box:hover{
    background: #f8f8f8;
}

.form-box a:hover{
    color: #0d8b1a;
}
/* Tablet */
@media (max-width: 768px){

    .forms-section{
        width: 95%;
        margin: 25px auto;
    }

    .form-box{
        height: 80px;
    }

    .form-box a{
        font-size: 16px;
        padding-top: 12px;
        padding-left: 10px;
        padding-right: 10px;
        line-height: 1.4;
    }
}

/* Mobile */
@media (max-width: 480px){

    .forms-section{
        width: 96%;
        margin: 20px auto;
    }

    .form-box{
        height: auto;
        min-height: 70px;
        padding: 10px;
    }

    .form-box a{
        font-size: 14px;
        padding-top: 5px;
        line-height: 1.5;
        word-wrap: break-word;
    }
}
.menu-btn{
    display:none;
    font-size:30px;
    border:none;
    background:none;
    cursor:pointer;
}
