:root {
    --primary-blue: #273474;
    --accent-blue: #14396C;
    --accent-orange: #32C035;
    --bg-white: #FFFFFF;
    --bg-light-grey: #F8F9FA;
    /* --section-blue-bg: #F0F7FF; */
    --section-blue-bg: #dcedff;
     --section-green-bg: #ebf9eb;
    --footer-bg: #212529;
    --text-primary: #343A40;
    --text-secondary: #6c757d;
    --border-color: #DEE2E6;
    --header-height: 75px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-primary);
    background: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    /* background-color: var(--section-green-bg); */
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 10px !important;
    text-align: center;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--text-secondary);
    text-align: center;
}

/* --- HEADER --- */
.main-header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

/* --- NAVIGATION --- */
.main-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

.main-nav>ul>li {
    position: relative;
}

.main-nav>ul>li>a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 500;
    padding: 25px 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.main-nav>ul>li>a:hover {
    color: var(--accent-blue);
}

.main-nav>ul>li>a .fa-chevron-down {
    font-size: 0.7em;
    transition: transform 0.3s ease;
}

.main-nav>ul>li:hover>a .fa-chevron-down {
    transform: rotate(180deg);
}

.btn {
    display: inline-block;
    padding: 6px 14px !important;
    background: var(--accent-orange);
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #45ac58;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--accent-blue);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    min-width: 240px;
    z-index: 1001;
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.main-nav>ul>li:hover>.dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a,
.dropdown-menu li span {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    white-space: nowrap;
    transition: background-color 0.3s, color 0.3s;
}

.dropdown-menu li a:hover {
    background-color: var(--section-blue-bg);
    color: var(--primary-blue);
}

.dropdown-menu li span {
    color: var(--text-secondary);
    font-weight: 500;
}

.dropdown-menu li span i {
    margin-right: 8px;
    color: var(--accent-blue);
    width: 16px;
}


/* --- Hamburger (nav-toggle) --- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  width: 30px;
  height: 25px;
  background: none;
  border: none;
  padding: 0;
  z-index: 1002;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--primary-blue);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.main-nav.nav-active ~ .nav-toggle span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.main-nav.nav-active ~ .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.main-nav.nav-active ~ .nav-toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--bg-white);
    position: fixed;              
    top: 70px;                    
    left: 0;
    right: 0;
    height: calc(100vh - 70px);   
    overflow-y: auto;             
    border-top: 1px solid var(--border-color);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1001;
  }

  .main-nav.nav-active {
    display: flex;
    animation: slideDown 0.3s ease forwards;
  }

  .main-nav ul {
    flex-direction: column;
    width: 100%;
  }

  .main-nav > ul > li {
    width: 100%;
    position: relative;
  }

  .main-nav > ul > li > a {
    padding: 15px 20px;
    width: 100%;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
  }

  .dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    position: static;
    border: none;
    box-shadow: none;
    padding-left: 15px;
  }

  .main-nav > ul > li.dropdown-active > .dropdown-menu {
    max-height: 500px; 
  }

  .btn {
    width: 100%;
    margin: 10px 0;
    text-align: center;
  }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- HERO SECTION --- */
.hero {
     display: flex;
    flex-wrap: wrap; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    padding: 60px 20px;
    gap: 40px; 
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
   
}

.hero-text {
      max-width: 800px;
    text-align: center;
}

.hero-text .btn {
    padding: 10px 24px !important;
    font-size: 1.1rem;
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.hero-text p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

/* .hero-animations {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex: 1 1 400px;
} */

.hero-search {
   flex: 1 1 auto;
    width: 100%; 
    position: relative;
    margin-top: 0px;
    max-width: 900px;
  }

  .search-toggle {
    display: flex;
    width: fit-content;              
    border: 1px solid var(--border-color);
    border-bottom: none;              
    border-radius: 8px 8px 8px 8px;
    overflow: hidden;
    background: transparent;
    z-index: 2;
  }

  .search-toggle .toggle-btn {
    appearance: none;
    border: none;
    margin: 0;
    padding: 10px 18px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    background: var(--bg-white);
    color: var(--text-primary);
    border-right: 1px solid var(--border-color);
    line-height: 1;
  }

  .search-toggle .toggle-btn:last-child { border-right: none; }
  .search-toggle .toggle-btn.active {
    background: var(--accent-blue);
    color: var(--bg-white);
  }

  .search-form {
    display: flex;
    align-items: center;
    width: 100%;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px 8px 8px 8px;
    margin-top: 10px;                
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    overflow: hidden;
  }

  .search-input {
    flex: 1;
    padding: 18px 20px;
    border: none;
    outline: none;
    font-size: 1rem;
    color: var(--text-primary);
  }
  .search-input::placeholder { color: #9aa0a6; font-weight: 500; }

  .search-btn {
    background: var(--accent-blue);
    color: var(--bg-white);
    padding: 14px 22px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    border-radius: 8px;
    margin-right: 5px;
    font-size: 1rem;
  }
  .search-btn:hover { background: var(--accent-blue); }

.get-started-btn-wrapper {
    width: 100%; 
    text-align: center;
    margin-top: 30px; 
    margin-bottom: 50px;
}

.hero-search .btn {
    display: inline-block; 
    padding: 10px 24px !important;
    font-size: 1.1rem;
}

 @media (max-width: 720px) {
    .hero { flex-direction: column; }
    .hero-search { max-width: 100%; width: 100%;  }
    .search-toggle { width: 100%; }
    .search-toggle .toggle-btn { flex: 1; text-align: center; }
  }

@media (max-width: 768px) {
    .hero {
        padding-bottom: 30px;
    }

    .services {
        padding-top: 40px;
    }

    .services .section-title {
        margin-bottom: 40px;
    }
}

@media (max-width: 720px) {
    .hero {
        padding: 20px;
        gap: 20px;
    }
    .hero-text {
        max-width: 100%; 
    }
    .hero-text h1 {
        font-size: 2.5rem; 
    }
    .hero-text p {
        font-size: 1.1rem; 
    }
    .hero-search {
        max-width: 100%; 
        margin-top: 15px;
    }
}

/* --- SERVICES SECTION --- */
.services {
    padding: 2rem 2rem;
    background: var(--bg-white);
    /* background-color: var(--section-green-bg); */
    text-align: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    text-align: center;
}

.service-card {
    /* background: var(--bg-white); */
    background-color: var(--section-blue-bg);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-blue);
    box-shadow: 0 8px 25px rgba(20, 43, 77, 0.1);
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background-color: var(--section-blue-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card i {
    font-size: 1.8rem;
    color: var(--accent-blue);
    margin-bottom: 0;
}

.service-card h3 {
    margin-bottom: 0rem;
    font-size: 1.25rem;
    color: var(--primary-blue);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- Testimonials Section --- */
.testimonials {
    padding: 1rem 2rem;
    background: var(--bg-white);
    /* background-color: var(--section-green-bg); */
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background-color: var(--section-blue-bg);
    /* background-color: var(--bg-white); */
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 5px solid var(--accent-orange);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-blue);
    box-shadow: 0 8px 25px rgba(20, 43, 77, 0.1);
}

.testimonial-card .quote-icon {
    font-size: 2rem;
    color: var(--accent-orange);
    margin-bottom: 1rem;
}

.testimonial-card blockquote {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-style: italic;
    border: none;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-blue);
}

.testimonial-author span {
    display: block;
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* --- Logo Marquee Section --- */
.logo-marquee {
    padding: 3rem 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
}

.logo-marquee h4 {
    text-align: center;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 2rem;
}

.marquee-track {
    display: flex;
    width: fit-content;
    animation: scrollMarquee 30s linear infinite;
}

.marquee-track img {
    height: 40px;
    margin: 0 40px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.3s, opacity 0.3s;
}

.marquee-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scrollMarquee {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(-50%);
    }
}

.logo-marquee::before,
.logo-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
}

.logo-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-white), transparent);
}

.logo-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-white), transparent);
}

@media (max-width: 992px) {

    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 4rem 1.5rem;
    }

    .testimonial-grid {
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-card blockquote {
        font-size: 1rem;
    }

    .logo-marquee {
        padding: 2.5rem 0;
    }

    .logo-marquee h4 {
        margin-bottom: 1.5rem;
    }

    .marquee-track img {
        height: 30px;
        margin: 0 25px;
    }

    .logo-marquee::before,
    .logo-marquee::after {
        width: 50px;
    }
}

/* --- PROCESS SECTION --- */
.process-section {
    padding: 5rem 2rem;
    /* background: var(--bg-white); */
    background-color: var(--bg-light-grey);
    position: relative;
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
    position: relative;
}

.process-timeline-nav {
    position: sticky;
    top: 150px;
    height: fit-content;
}

.timeline-track {
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--border-color);
    border-radius: 2px;
}

.timeline-progress {
    width: 100%;
    background-color: var(--accent-orange);
    height: var(--progress-height, 0%);
    transition: height 0.2s ease-out;
}

.timeline-nav-list {
    list-style: none;
    padding-left: 40px;
}

.timeline-nav-item a {
    padding: 1rem 0;
    display: block;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s ease, font-weight 0.3s ease;
    position: relative;
}

.timeline-nav-item.is-active a {
    color: var(--primary-blue);
    font-weight: 700;
}

.timeline-nav-item.is-active a::before {
    transform: translateY(-50%) scale(1);
}

.timeline-nav-item a::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 50%;
    transform: translateY(-50%) scale(0.5);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--accent-orange);
    border: 3px solid var(--bg-white);
    transition: transform 0.3s ease;
}

.process-steps-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-content-card {
    background: var(--section-blue-bg);
    /* background-color: var(--bg-white); */
    /* background-color: var(--section-green-bg); */
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    min-height: 40vh;
    position: sticky;
    top: 150px;
}

.step-content-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.step-content-card p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.section-title{
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 2rem; 
    color: var(--primary-blue);
    margin-bottom: 1rem; 
    text-align: center;
}

.section-title p {
    font-size: 1.5rem;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 1rem !important;
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 992px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .process-timeline-nav {
        position: static;
        top: auto;
        height: auto;
        margin-bottom: 2rem;
    }

    .timeline-track {
        display: none;
    }

    .timeline-nav-list {
        padding-left: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .timeline-nav-item {
        flex-basis: auto; 
    }

    .timeline-nav-item a {
        padding: 10px 15px;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        font-size: 1rem;
        white-space: nowrap; 
    }

    .timeline-nav-item a::before {
        display: none; 
    }

    .timeline-nav-item.is-active a {
        background-color: var(--primary-blue);
        color: var(--bg-white);
        border-color: var(--primary-blue);
    }

    .step-content-card {
        position: static; 
        top: auto;
        min-height: auto;
    }
}

@media (max-width: 576px) {
    .process-section {
        padding: 3rem 1rem;
    }

    .process-grid {
        gap: 2rem;
    }

    .timeline-nav-list {
        gap: 8px;
    }

    .timeline-nav-item a {
        font-size: 0.9rem;
        padding: 8px 12px;
    }

    .step-content-card {
        padding: 1.5rem;
    }

    .step-content-card h3 {
        font-size: 1.3rem;
    }

    .step-content-card p {
        font-size: 1rem;
    }
}

/* ---  FAQ Section --- */
.faq {
    padding: 5rem 2rem;
    background: var(--bg-white);
    /* background-color: var(--section-green-bg); */
}

.faq .container {
    max-width: 1100px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.faq-intro h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    text-align: left;
}

.faq-intro p {
    color: var(--text-secondary);
    text-align: left;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-white);
    /* background-color: var(--section-green-bg); */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    padding: 20px;
    cursor: pointer;
    position: relative;
    padding-right: 40px;
    transition: background-color 0.3s ease;
}

.faq-item.active .faq-question {
    background-color: var(--section-blue-bg);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--accent-orange);
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.faq-answer p {
    padding: 0 20px 20px;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    margin-top: -1px;
}

.faq-item.active .faq-answer {
    padding-top: 20px;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-intro {
        text-align: center;
        margin-bottom: 2rem;
    }

    .faq-intro h2,
    .faq-intro p {
        text-align: center;
    }
}
/* Footer */
 
.main-footer {
    background-color: var(--accent-blue);
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 0 10px;
}

.main-footer .container {
    display: grid;
    grid-template-areas:
        "services contact-info"
        "addresses addresses"
        "bottom bottom";
    grid-template-columns: 1fr 1fr; 
    gap: 20px;
    position: relative;
    padding: 20px;
}

.footer-col.our-services-col {
    grid-area: services;
}

.footer-contact-info-group {
    grid-area: contact-info;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-addresses-group {
    grid-area: addresses;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.footer-bottom {
    grid-area: bottom;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-col.our-services-col a { 
    color: var(--bg-white); 
    display: block;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-col.our-services-col a:hover {
    color: var(--accent-orange);
}

.footer-col h5 {
    color: var(--bg-white);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.contact-item i {
    color: var(--accent-orange);
    font-size: 1.2rem;
}

.contact-item p, .contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-orange);
}

.address-card {
    background-color: rgba(0, 0, 0, 0.1); 
    padding: 20px;
    border-radius: 8px;
}

.address-card h6 {
    color: var(--bg-white);
    font-size: 1rem;
    margin-bottom: 10px;
}

.address-card p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-bottom p {
    font-size: 0.9rem;
}

.social-icons a {
    color: var(--bg-white);
    font-size: 1.4rem;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-orange);
}

@media (max-width: 900px) {
    .main-footer .container {
        grid-template-areas:
            "services"
            "addresses"
            "contact-info"
            "bottom";
        grid-template-columns: 1fr; 
    }

    .footer-addresses-group {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .social-icons {
        margin-top: 10px;
    }
}


/* --- Inquiry Form Modal Styles --- */
.form-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
}

.form-modal-overlay.modal-visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s;
}

.form-modal {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 500px;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.form-modal-overlay.modal-visible .form-modal {
    transform: scale(1);
}

.close-modal-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.close-modal-btn:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.modal-header p {
    color: var(--text-secondary);
}

.inquiry-form .form-group {
    margin-bottom: 20px;
}

.inquiry-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-blue);
}

.inquiry-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.inquiry-form input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(39, 52, 116, 0.1);
}

.inquiry-form .submit-btn {
    width: 100%;
    padding: 14px !important;
    font-size: 1.1rem;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .form-modal {
        padding: 25px;
        max-width: 90%;
    }

    .modal-header {
        margin-bottom: 20px;
    }

    .modal-header h2 {
        font-size: 1.6rem;
    }

    .inquiry-form .form-group {
        margin-bottom: 15px;
    }

    .inquiry-form label {
        font-size: 0.9rem;
    }

    .inquiry-form .submit-btn {
        padding: 12px !important;
        font-size: 1rem;
    }
}