/* =========================================
   VARIABLES & DESIGN TOKENS
   ========================================= */
:root {
    --primary-color: #0d848a; /* Deep Teal */
    --primary-light: #16b5bc;
    --primary-dark: #0a6b70;
    --secondary-color: #f7a399; /* Soft Coral */
    --accent-color: #eabc54; /* Gold */
    --text-dark: #1a202c;
    --text-light: #4a5568;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;

    /* Glassmorphism 2.0 - Refined */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 25px 50px -12px rgba(13, 132, 138, 0.15);
    --card-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scroll Reveal Base */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    animation: slideUpFade 0.8s ease-out forwards;
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.float-anim {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}


/* =========================================
   RESET & BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 132, 138, 0.4);
    color: var(--white);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--accent-color), #d9a43a);
    color: var(--white);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(234, 188, 84, 0.4);
}

/* =========================================
   HEADER & NAVIGATION 
   ========================================= */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.glass-header.scrolled {
    box-shadow: var(--glass-shadow);
    padding: 10px 0;

}

.glass-header.scrolled .nav-links a {
    color: var(--primary-color);
}

.glass-header.scrolled .logo,
.glass-header.scrolled .mobile-toggle {
    color: var(--text-dark);
}


.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--secondary-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

.nav-spacer {
    height: 80px;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 50px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
}

.hero-content h1 {
    margin-bottom: 20px;
    color: var(--text-dark);
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

.hero-stats-wrapper {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 20;
}

.hero-stats {
    display: flex;
    gap: 30px;
}

.stat-item {
    background: var(--white);
    padding: 20px 40px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    text-align: center;
    border-top: 3px solid var(--primary-color);
}

.stat-item h3 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.stat-item p {
    margin-bottom: 0;
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* =========================================
   SECTIONS
   ========================================= */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    color: var(--primary-color);
    display: inline-block;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 5px;
}

/* =========================================
   CARDS & GRIDS
   ========================================= */
.grid {
    display: grid;
    gap: 30px;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.glass-card {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    text-align: center;
    position: relative;
    z-index: 1;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 132, 138, 0.03), transparent);
    border-radius: 24px;
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(13, 132, 138, 0.12);
    border-color: var(--primary-light);
}

.glass-card:hover::before {
    opacity: 1;
}

.glass-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.glass-card h3 {
    color: var(--primary-color);
}

/* =========================================
   BREADCRUMBS
   ========================================= */
.breadcrumb-wrapper {
    background: var(--white);
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumbs li::after {
    content: '\f105';
    font-family: 'FontAwesome';
    font-size: 0.8rem;
    color: #cbd5e0;
}

.breadcrumbs li:last-child::after {
    display: none;
}

.breadcrumbs a {
    color: var(--text-light);
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs li:last-child {
    color: var(--primary-color);
    font-weight: 600;
}

/* =========================================
   IMAGE BLOCKS
   ========================================= */
.image-text-block {
    display: flex;
    align-items: center;
    gap: 50px;
}

.image-wrapper {
    flex: 1;
    position: relative;
}

.image-wrapper img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    z-index: -1;
}

.text-wrapper {
    flex: 1;
}

.text-wrapper ul {
    list-style: none;
    margin-top: 20px;
}

.text-wrapper li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

.text-wrapper li::before {
    content: '\f00c';
    font-family: 'FontAwesome';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* =========================================
   FOOTER
   ========================================= */
.main-footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 50px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-light);
    margin: 15px 0;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-light);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--text-light);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* =========================================
   INTERACTIVE FLOATING ACTION BUTTON (FAB)
   ========================================= */
.fab-wrapper {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fab-main {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(13, 132, 138, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulse-shadow 2s infinite;
}

.fab-main:hover {
    transform: scale(1.05);
}

.fab-main .close-icon {
    display: none;
}

.fab-wrapper.active .fab-main {
    transform: rotate(90deg);
    animation: none;
}

.fab-wrapper.active .fab-main .fa-message {
    display: none;
}

.fab-wrapper.active .fab-main .close-icon {
    display: block;
}

.fab-menu {
    position: absolute;
    bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.fab-wrapper.active .fab-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    color: var(--primary-color);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    text-decoration: none;
}

.fab-item:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* =========================================
   LEFT FLOATING CONTACT (WhatsApp & Call)
   ========================================= */
.floating-contact-left {
    position: fixed;
    left: 30px;
    bottom: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.float-left-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    text-decoration: none;
}

.float-left-whatsapp {
    background-color: #25D366;
    animation: pulse-shadow 2s infinite;
}

.float-left-whatsapp:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: white;
}

.float-left-call {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.float-left-call:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(13, 132, 138, 0.5);
    color: white;
}

/* Tooltips */
[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 100%;
    margin-right: 15px;
    background: var(--text-dark);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-family: var(--font-body);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    transform: translateX(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

[data-tooltip]::after {
    content: '';
    position: absolute;
    right: 100%;
    margin-right: 9px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--text-dark);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    transform: translateX(10px);
}

[data-tooltip]:hover::before,
[data-tooltip]:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* =========================================
   CUSTOM MODALS
   ========================================= */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.custom-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 450px;
    position: relative;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.custom-modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.2s;
    line-height: 1;
}

.modal-close:hover {
    color: var(--primary-color);
}

/* =========================================
   DROPDOWN MENU
   ========================================= */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 10px;
    list-style: none;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background: rgba(13, 132, 138, 0.05);
    color: var(--primary-color);
    padding-left: 25px;
}

/* =========================================
   SIDEBAR LAYOUT
   ========================================= */
.service-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: start;
}

.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    border-top: 4px solid var(--primary-color);
}

/* Horizontal Scroll for Videos & Cards */
.horizontal-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 15px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f0f0f0;
}

.horizontal-scroll::-webkit-scrollbar {
    height: 6px;
}

.horizontal-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.scroll-item {
    flex: 0 0 300px;
}

.video-item {
    flex: 0 0 350px;
}

@media (max-width: 768px) {
    .scroll-item, .video-item {
        flex: 0 0 280px;
    }
}

/* Elegant Location Buttons */
.location-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 25px;
}

.location-actions .btn {
    padding: 10px 15px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    min-width: 0 !important; /* Reset previous min-width */
}

.btn-visit { background: var(--primary-color); color: white; }
.btn-dir { background: var(--primary-light); color: var(--primary-color); }
.btn-call-alt { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.btn-wa-alt { background: #f0f9ff; color: #0369a1; border: 1px solid #bae6fd; }


.sidebar-widget h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* =========================================
   CAROUSEL (TESTIMONIALS & VIDEOS)
   ========================================= */
.horizontal-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-light);
}

.horizontal-scroll.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.horizontal-scroll.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.horizontal-scroll:not(.hide-scrollbar)::-webkit-scrollbar {
    height: 8px;
}

.horizontal-scroll:not(.hide-scrollbar)::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 10px;
}

.horizontal-scroll:not(.hide-scrollbar)::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}

.scroll-item {
    min-width: 300px;
    scroll-snap-align: start;
}

.video-item {
    min-width: 350px;
}

.testimonial-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
}

.testimonial-card .stars {
    color: #FFD700;
    margin-bottom: 15px;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: var(--text-dark);
    transition: var(--transition);
}

.carousel-nav:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.carousel-nav.prev {
    left: -10px;
}

.carousel-nav.next {
    right: -10px;
}

.carousel-dots .dot {
    width: 8px;
    height: 8px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dots .dot.active {
    background: var(--primary-color);
    width: 20px;
    border-radius: 10px;
}

/* =========================================
   FAQ ACCORDION
   ========================================= */
.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.faq-question:hover,
.faq-question.active {
    color: var(--primary-color);
    background: rgba(13, 132, 138, 0.02);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    color: var(--text-light);
}

.faq-question.active+.faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

/* =========================================
   FORMS & SHADOWS (Premium Upgrade)
   ========================================= */
.premium-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.premium-form input,
.premium-form select,
.premium-form textarea {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.premium-form input:focus,
.premium-form select:focus,
.premium-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(13, 132, 138, 0.1);
    background: var(--white);
}

/* =========================================
   ANIMATIONS & FLOATING WIDGETS
   ========================================= */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse-shadow {
    0% {
        box-shadow: 0 0 0 0 rgba(13, 132, 138, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(13, 132, 138, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(13, 132, 138, 0);
    }
}

.float-anim {
    animation: float 4s ease-in-out infinite;
}

.floating-widget {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 20;
    border-left: 4px solid var(--primary-color);
    animation: float 5s ease-in-out infinite;
}

.floating-widget i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.floating-widget h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin: 0;
}

.floating-widget p {
    font-size: 0.85rem;
    margin: 0;
    color: var(--text-light);
    font-weight: 500;
}

/* Scroll Animations */
.slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-up.appear {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   TOP BAR & OVERHAULED COMPONENTS
   ========================================= */
.top-bar {
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
    font-weight: 500;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: var(--white);
    margin-left: 15px;
}

.top-bar a:hover {
    color: var(--accent-color);
}

.glass-header.with-topbar {
    top: 35px;
    /* Height of top bar */
}

.glass-header.with-topbar.scrolled {
    top: 0;
}

/* =========================================
   NEW BUTTON HOVER EFFECTS (Dr Rukkayal Style)
   ========================================= */
.btn-whatsapp {
    background: transparent;
    border: 2px solid #25D366;
    color: #25D366;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-whatsapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #25D366;
    transition: var(--transition);
    z-index: -1;
}

.btn-whatsapp:hover {
    color: white;
}

.btn-whatsapp:hover::before {
    width: 100%;
}

.btn-call {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-call::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-color);
    transition: var(--transition);
    z-index: -1;
}

.btn-call:hover {
    color: white;
}

.btn-call:hover::before {
    width: 100%;
}

/* =========================================
   TIMELINE UI
   ========================================= */
.timeline-container {
    position: relative;
    padding-left: 30px;
    margin: 40px 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: var(--primary-light);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(247, 163, 153, 0.2);
}

.timeline-item h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* =========================================
   GALLERY ZOOM
   ========================================= */
.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.gallery-item img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* =========================================
   TEXT ANIMATIONS
   ========================================= */
.text-reveal {
    overflow: hidden;
    display: inline-block;
}

.text-reveal span {
    display: inline-block;
    transform: translateY(100%);
    animation: revealUp 0.8s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes revealUp {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Base style reset for block reveals */
.hero-content h1 span:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-content p {
    animation: revealUp 0.8s 0.4s forwards;
    opacity: 0;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .image-text-block {
        flex-direction: column;
    }

    .service-layout {
        grid-template-columns: 1fr;
    }

    .hero::before {
        background: rgba(255, 255, 255, 0.9);
    }
}

@media (max-width: 768px) {
    .d-none-mobile {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: var(--transition);
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .nav-links li {
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links a {
        display: block;
        padding: 15px;
    }

    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .location-actions {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .hero {
        text-align: center;
        flex-direction: column;
        justify-content: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-stats-wrapper {
        position: relative;
        bottom: 0;
        margin-top: 40px;
        margin-bottom: -40px;
        width: 100%;
        padding: 0 20px;
        padding-bottom: 10px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    /* Fix image wrapper pseudo elements on mobile */
    .image-wrapper::before {
        display: none;
    }
}

/* =========================================
   FAQ SEARCH BAR
   ========================================= */
.faq-search-container {
    max-width: 600px;
    margin: 30px auto 0;
    position: relative;
    z-index: 10;
}

.faq-search-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.faq-search-wrapper:focus-within {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.faq-search-wrapper i {
    padding: 0 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
}

.faq-search-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 0;
    color: white;
    font-size: 1.1rem;
    font-family: var(--font-body);
}

.faq-search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.faq-search-input:focus {
    outline: none;
}

#no-results {
    text-align: center;
    padding: 40px 20px;
    display: none;
}

#no-results i {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 20px;
    opacity: 0.5;
}

#no-results h4 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

#no-results p {
    color: var(--text-light);
}

/* =========================================
   PAGINATION
   ========================================= */
.btn-pagination {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--text-dark);
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.btn-pagination:hover,
.btn-pagination.active {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(13, 132, 138, 0.2);
    border-color: var(--primary-color);
}

/* =========================================
   HEALTH TOOLS & CALCULATORS
   ========================================= */
.calculator-container {
    max-width: 900px;
    margin: 40px auto;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 768px) {
    .calc-grid {
        grid-template-columns: 1fr;
    }
}

.calculator-card {
    background: var(--white);
    padding: 35px;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.calculator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.calc-input-group {
    margin-bottom: 25px;
}

.calc-input-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

.calc-input-group input,
.calc-input-group select {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-family: var(--font-body);
    transition: var(--transition);
}

.calc-input-group input:focus,
.calc-input-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(13, 132, 138, 0.1);
    background: var(--white);
}

.result-card {
    background: linear-gradient(135deg, #f0fdfa, #fdf4ff);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(13, 132, 138, 0.1);
    display: none; /* Hidden by default */
    animation: slideUp 0.5s ease-out forwards;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.result-header {
    text-align: center;
    margin-bottom: 25px;
}

.result-header i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.result-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
    margin: 10px 0;
}

.result-details {
    display: grid;
    gap: 15px;
    margin-top: 20px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #cbd5e1;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--text-light);
    font-weight: 500;
}

.detail-value {
    color: var(--text-dark);
    font-weight: 600;
}

.fertility-meter {
    height: 12px;
    background: #e2e8f0;
    border-radius: 10px;
    margin: 20px 0;
    overflow: hidden;
    position: relative;
}

.fertility-progress {
    height: 100%;
    background: linear-gradient(90deg, #fbbf24, #10b981, #fbbf24);
    width: 0;
    transition: width 1s ease-in-out;
}

.medical-disclaimer {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    padding: 15px;
    margin-top: 30px;
    border-radius: 0 10px 10px 0;
    font-size: 0.85rem;
    color: #92400e;
}

.calculator-content-wrap {
    background: var(--white);
    padding: 50px;
    border-radius: 30px;
    margin-bottom: 60px;
    box-shadow: var(--glass-shadow);
}

.calculator-content-wrap h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
}

.calculator-content-wrap p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.calculator-content-wrap ul {
    list-style: none;
    margin-bottom: 25px;
}

.calculator-content-wrap li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 12px;
}

.calculator-content-wrap li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.consult-cta-tool {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--white);
    padding: 50px;
    border-radius: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.consult-cta-tool h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.consult-cta-tool p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 30px;
}

.consult-cta-tool::after {
    content: '\f48e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 10rem;
    opacity: 0.1;
    transform: rotate(-15deg);
}