 /* --- CSS Variables & Reset --- */
 :root {
     --primary: #5A189A;
     /* Royal Purple */
     --primary-dark: #3C096C;
     --secondary: #7B2CBF;
     /* Violet */
     --accent: #E0AAFF;
     /* Lavender */
     --text-dark: #240046;
     --text-light: #6D6875;
     --white: #FFFFFF;
     --bg-light: #F8F0FF;
     --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
     --radius: 12px;
     --transition: all 0.3s ease;
     --emergency: #EF233C;
 }

 /*
 :root {
    --primary: #E76F51; 
    --primary-dark: #C44536;
    --secondary: #F4A261; 
    --accent: #FDE2D1; 
    --text-dark: #3A3A3A;
    --text-light: #7A7A7A;
    --white: #FFFFFF;
    --bg-light: #FFF8F4;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius: 12px;
    --transition: all 0.3s ease;
    --emergency: #D62828;
}

 */

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 html {
     scroll-behavior: smooth;
 }

 body {
     font-family: 'Open Sans', sans-serif;
     color: var(--text-dark);
     line-height: 1.6;
     background-color: var(--bg-light);
     overflow-x: hidden;
 }

 h1,
 h2,
 h3,
 h4,
 h5,
 h6 {
     font-family: 'Poppins', sans-serif;
     font-weight: 600;
     color: var(--text-dark);
     margin-bottom: 1rem;
 }

 a {
     text-decoration: none;
     color: inherit;
 }

 ul {
     list-style: none;
 }

 img {
     max-width: 100%;
     height: auto;
     display: block;
 }

 /* --- Utilities --- */
 .container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 20px;
 }

 .section-padding {
     padding: 80px 0;
 }

 .text-center {
     text-align: center;
 }

 .section-title {
     text-align: center;
     margin-bottom: 50px;
     position: relative;
 }

 .section-title h2 {
     font-size: 2.5rem;
     color: var(--primary);
 }

 .section-title p {
     color: var(--text-light);
     max-width: 600px;
     margin: 0 auto;
 }

 .btn {
     display: inline-block;
     padding: 12px 30px;
     border-radius: 50px;
     font-weight: 600;
     cursor: pointer;
     transition: var(--transition);
     border: none;
     font-family: 'Poppins', sans-serif;
 }

 .btn-primary {
     background: linear-gradient(135deg, var(--primary), var(--secondary));
     color: var(--white);
     box-shadow: 0 4px 15px rgba(0, 128, 128, 0.3);
 }

 .btn-primary:hover {
     transform: translateY(-2px);
     box-shadow: 0 6px 20px rgba(0, 128, 128, 0.4);
 }

 .btn-outline {
     background: transparent;
     border: 2px solid var(--primary);
     color: var(--primary);
 }

 .btn-outline:hover {
     background: var(--primary);
     color: var(--white);
 }

 /* --- Header --- */
 header {
     background: rgba(255, 255, 255, 0.95);
     backdrop-filter: blur(10px);
     position: sticky;
     top: 0;
     z-index: 1000;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
     padding: 15px 0;
 }

 .nav-wrapper {
     display: flex;
     justify-content: space-between;
     align-items: center;
 }

 .logo {
     font-size: 1.5rem;
     font-weight: 700;
     color: var(--primary);
     display: flex;
     align-items: center;
     gap: 10px;
 }

 .logo i {
     color: var(--secondary);
 }

 .nav-menu {
     display: flex;
     gap: 30px;
     align-items: center;
 }

 .nav-link {
     font-weight: 500;
     color: var(--text-dark);
     transition: var(--transition);
 }

 .nav-link:hover,
 .nav-link.active {
     color: var(--primary);
 }

 .mobile-toggle {
     display: none;
     font-size: 1.5rem;
     cursor: pointer;
 }

 /* --- Hero Section --- */
 .hero {
     padding: 100px 0;
     background: linear-gradient(to right, #fff, var(--bg-light));
     position: relative;
     overflow: hidden;
 }

 .hero-content {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 50px;
     align-items: center;
 }

 .hero-text h1 {
     font-size: 3.5rem;
     line-height: 1.2;
     margin-bottom: 20px;
     color: var(--text-dark);
 }

 .hero-text span {
     color: var(--primary);
 }

 .hero-text p {
     font-size: 1.1rem;
     color: var(--text-light);
     margin-bottom: 30px;
 }

 .hero-buttons {
     display: flex;
     gap: 15px;
     margin-bottom: 40px;
 }

 .trust-badges {
     display: flex;
     gap: 20px;
 }

 .badge {
     display: flex;
     align-items: center;
     gap: 8px;
     font-size: 0.9rem;
     color: var(--text-light);
 }

 .badge i {
     color: var(--secondary);
 }

 .hero-image {
     position: relative;
 }

 .hero-image img {
     border-radius: var(--radius);
     box-shadow: var(--shadow);
     width: 100%;
     object-fit: cover;
 }

 .hero-shape {
     position: absolute;
     bottom: -20px;
     left: -20px;
     width: 150px;
     height: 150px;
     background: var(--accent);
     border-radius: 50%;
     z-index: -1;
 }

 /* --- About Section --- */
 .about-content {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 50px;
     align-items: center;
 }

 .about-img img {
     border-radius: var(--radius);
     box-shadow: var(--shadow);
 }

 .counters {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 20px;
     margin-top: 30px;
 }

 .counter-item {
     text-align: center;
     padding: 20px;
     background: var(--white);
     border-radius: var(--radius);
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
 }

 .counter-number {
     font-size: 2rem;
     font-weight: 700;
     color: var(--primary);
     display: block;
 }

 .counter-label {
     font-size: 0.9rem;
     color: var(--text-light);
 }

 /* --- Services Section --- */
 .services-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
     gap: 30px;
 }

 .service-card {
     background: var(--white);
     padding: 30px;
     border-radius: var(--radius);
     box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
     transition: var(--transition);
     text-align: center;
     position: relative;
     overflow: hidden;
     border-bottom: 3px solid transparent;
 }

 .service-card:hover {
     transform: translateY(-10px);
     border-bottom-color: var(--primary);
     box-shadow: var(--shadow);
 }

 .service-icon {
     font-size: 2.5rem;
     color: var(--primary);
     margin-bottom: 20px;
     display: inline-block;
 }

 .service-card h3 {
     font-size: 1.25rem;
     margin-bottom: 15px;
 }

 .service-link {
     color: var(--secondary);
     font-weight: 600;
     font-size: 0.9rem;
     display: inline-flex;
     align-items: center;
     gap: 5px;
     opacity: 0;
     transform: translateY(10px);
     transition: var(--transition);
 }

 .service-card:hover .service-link {
     opacity: 1;
     transform: translateY(0);
 }

 /* --- Why Choose Us --- */
 .why-us {
     background-color: var(--primary);
     color: var(--white);
 }

 .why-us .section-title h2,
 .why-us .section-title p {
     color: var(--white);
 }

 .why-us .section-title p {
     opacity: 0.9;
 }

 .features-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 30px;
 }

 .feature-item {
     display: flex;
     flex-direction: column;
     align-items: center;
     text-align: center;
 }

 .feature-icon-box {
     width: 80px;
     height: 80px;
     background: rgba(255, 255, 255, 0.2);
     border-radius: 50%;
     display: flex;
     justify-content: center;
     align-items: center;
     font-size: 2rem;
     margin-bottom: 20px;
     backdrop-filter: blur(5px);
 }

 /* --- Plans Section --- */
 .plans-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 30px;
     align-items: start;
 }

 .plan-card {
     background: var(--white);
     padding: 40px 30px;
     border-radius: var(--radius);
     box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
     text-align: center;
     border: 1px solid #eee;
     transition: var(--transition);
 }

 .plan-card.premium {
     transform: scale(1.05);
     border: 2px solid var(--primary);
     box-shadow: var(--shadow);
     position: relative;
 }

 .badge-popular {
     position: absolute;
     top: -15px;
     left: 50%;
     transform: translateX(-50%);
     background: var(--secondary);
     color: var(--white);
     padding: 5px 15px;
     border-radius: 20px;
     font-size: 0.8rem;
     font-weight: 600;
 }

 .plan-name {
     font-size: 1.5rem;
     margin-bottom: 10px;
 }

 .plan-price {
     font-size: 2.5rem;
     color: var(--primary);
     font-weight: 700;
     margin-bottom: 20px;
 }

 .plan-price span {
     font-size: 1rem;
     color: var(--text-light);
     font-weight: 400;
 }

 .plan-features {
     margin: 30px 0;
     text-align: left;
 }

 .plan-features li {
     margin-bottom: 12px;
     color: var(--text-light);
 }

 .plan-features i {
     color: var(--secondary);
     margin-right: 10px;
 }

 /* --- Appointment Section --- */
 .appointment-section {
     background: var(--bg-light);
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 50px;
     align-items: start;
 }

 .app-form-container {
     background: var(--white);
     padding: 40px;
     border-radius: var(--radius);
     box-shadow: var(--shadow);
 }

 .form-group {
     margin-bottom: 20px;
 }

 .form-group label {
     display: block;
     margin-bottom: 8px;
     font-weight: 600;
     color: var(--text-dark);
 }

 .form-control {
     width: 100%;
     padding: 12px 15px;
     border: 1px solid #ddd;
     border-radius: 8px;
     font-family: inherit;
     transition: var(--transition);
 }

 .form-control:focus {
     outline: none;
     border-color: var(--primary);
     box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
 }

 .success-message {
     display: none;
     background: #d4edda;
     color: #155724;
     padding: 15px;
     border-radius: 8px;
     margin-top: 20px;
     border: 1px solid #c3e6cb;
     align-items: center;
     gap: 10px;
 }

 /* --- Testimonials --- */
 .testimonial-slider {
     max-width: 800px;
     margin: 0 auto;
     position: relative;
     overflow: hidden;
     background: var(--white);
     padding: 50px;
     border-radius: var(--radius);
     box-shadow: var(--shadow);
 }

 .testimonial-track {
     display: flex;
     transition: transform 0.5s ease-in-out;
 }

 .testimonial-item {
     min-width: 100%;
     text-align: center;
     padding: 0 20px;
 }

 .client-img {
     width: 80px;
     height: 80px;
     border-radius: 50%;
     object-fit: cover;
     margin: 0 auto 20px;
     border: 3px solid var(--accent);
 }

 .stars {
     color: #FFC107;
     margin-bottom: 15px;
 }

 .quote {
     font-style: italic;
     color: var(--text-light);
     margin-bottom: 20px;
     font-size: 1.1rem;
 }

 .client-name {
     font-weight: 700;
     color: var(--primary);
 }

 .slider-controls {
     display: flex;
     justify-content: center;
     gap: 15px;
     margin-top: 30px;
 }

 .slider-dot {
     width: 12px;
     height: 12px;
     background: #ddd;
     border-radius: 50%;
     cursor: pointer;
     transition: var(--transition);
 }

 .slider-dot.active {
     background: var(--primary);
     transform: scale(1.2);
 }

 /* --- Contact Section --- */
 .contact-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 30px;
 }

 .contact-item {
     display: flex;
     align-items: flex-start;
     gap: 20px;
 }

 .contact-icon {
     width: 50px;
     height: 50px;
     background: var(--accent);
     color: var(--primary);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 1.2rem;
     flex-shrink: 0;
 }

 .emergency-box {
     background: #FFF5F5;
     border: 1px solid #FED7D7;
     padding: 20px;
     border-radius: var(--radius);
     margin-top: 30px;
     text-align: center;
 }

 .emergency-num {
     color: var(--emergency);
     font-size: 1.5rem;
     font-weight: 700;
     display: block;
     margin-top: 5px;
 }

 /* --- Footer --- */
 footer {
     background: #1a252f;
     color: #bdc3c7;
     padding: 70px 0 20px;
 }

 .footer-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
     gap: 40px;
     margin-bottom: 50px;
 }

 .footer-logo {
     color: var(--white);
     font-size: 1.5rem;
     margin-bottom: 20px;
     display: inline-block;
 }

 .footer h4 {
     color: var(--white);
     margin-bottom: 20px;
 }

 .footer-links li {
     margin-bottom: 10px;
 }

 .footer-links a:hover {
     color: var(--secondary);
     padding-left: 5px;
     transition: var(--transition);
 }

 .newsletter-form input {
     background: rgba(255, 255, 255, 0.1);
     border: none;
     color: var(--white);
     margin-bottom: 10px;
 }

 .newsletter-form input::placeholder {
     color: #bdc3c7;
 }

 .social-icons a {
     display: inline-flex;
     width: 35px;
     height: 35px;
     background: rgba(255, 255, 255, 0.1);
     border-radius: 50%;
     justify-content: center;
     align-items: center;
     margin-right: 10px;
     transition: var(--transition);
 }

 .social-icons a:hover {
     background: var(--primary);
     color: var(--white);
 }

 .footer-bottom {
     border-top: 1px solid rgba(255, 255, 255, 0.1);
     padding-top: 20px;
     display: flex;
     flex-wrap: wrap;
     justify-content: space-between;
     align-items: center;
     font-size: 0.9rem;
 }

 .legal-links a {
     margin-left: 15px;
     cursor: pointer;
 }

 /* --- Modals --- */
 .modal {
     display: none;
     position: fixed;
     z-index: 2000;
     left: 0;
     top: 0;
     width: 100%;
     height: 100%;
     overflow: auto;
     background-color: rgba(0, 0, 0, 0.5);
     backdrop-filter: blur(5px);
     align-items: center;
     justify-content: center;
 }

 .modal-content {
     background-color: #fefefe;
     margin: auto;
     padding: 40px;
     border: 1px solid #888;
     border-radius: var(--radius);
     width: 90%;
     max-width: 600px;
     position: relative;
     animation: modalFade 0.3s;
 }

 .close-modal {
     color: #aaa;
     float: right;
     font-size: 28px;
     font-weight: bold;
     cursor: pointer;
 }

 .close-modal:hover {
     color: black;
 }

 .modal-body h3 {
     color: var(--primary);
     border-bottom: 2px solid var(--accent);
     padding-bottom: 10px;
 }

 .modal-body {
     max-height: 70vh;
     overflow-y: auto;
 }

 @keyframes modalFade {
     from {
         opacity: 0;
         transform: translateY(-20px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 /* --- Toast Notification --- */
 .toast {
     visibility: hidden;
     min-width: 250px;
     background-color: #333;
     color: #fff;
     text-align: center;
     border-radius: 50px;
     padding: 16px;
     position: fixed;
     z-index: 3000;
     left: 50%;
     bottom: 30px;
     transform: translateX(-50%);
     font-size: 17px;
     opacity: 0;
     transition: opacity 0.5s, bottom 0.5s;
 }

 .toast.show {
     visibility: visible;
     opacity: 1;
     bottom: 50px;
 }

 /* --- Responsive --- */
 @media (max-width: 992px) {
     .hero-content {
         grid-template-columns: 1fr;
         text-align: center;
     }

     .hero-buttons,
     .trust-badges {
         justify-content: center;
     }

     .appointment-section {
         grid-template-columns: 1fr;
     }

     .plan-card.premium {
         transform: scale(1);
     }
 }

 @media (max-width: 768px) {
     .nav-menu {
         position: absolute;
         top: 100%;
         left: 0;
         width: 100%;
         background: var(--white);
         flex-direction: column;
         padding: 20px 0;
         box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
         display: none;
     }

     .nav-menu.active {
         display: flex;
     }

     .mobile-toggle {
         display: block;
     }

     .about-content {
         grid-template-columns: 1fr;
     }

     .hero-text h1 {
         font-size: 2.5rem;
     }
 }