/* Base Styles & Variables */
:root {
    --primary-color: #0d6efd;      /* Blue */
    --secondary-color: #0f172a;    /* Dark Navy */
    --accent-color: #38bdf8;       /* Light Blue */
    --text-color: #475569;         /* Slate */
    --light-bg: #f8fafc;           /* Very light gray */
    --white: #ffffff;
    --font-family: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.flex-between {
    display: flex;
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--light-bg);
}

.section-padding {
    padding: 100px 0;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--secondary-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
}

.section-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #0b5ed7;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #1e293b;
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--secondary-color);
}

/* Top Bar */
.top-bar {
    background-color: var(--secondary-color);
    color: #94a3b8;
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar .contact-info span {
    margin-right: 20px;
}

.top-bar .contact-info i {
    color: var(--accent-color);
    margin-right: 5px;
}

.social-links a {
    margin-left: 15px;
}

.social-links a:hover {
    color: var(--white);
}

/* Header */
.header {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--secondary-color);
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.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, .nav-links a.active::after {
    width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
    z-index: 1001;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
}

.hero-slider .swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    color: var(--white);
    display: flex;
    align-items: center;
}

.swiper-slide .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15,23,42,0.65); /* Uniform dark overlay for centered text */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 100px;
}

.hero-content .subtitle {
    color: var(--accent-color);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.hero-content h1 {
    color: var(--white);
    font-size: 4.5rem;
    margin-bottom: 25px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: #e2e8f0;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Swiper Customizations */
.swiper-button-next, .swiper-button-prev {
    color: var(--white) !important;
    background: rgba(255,255,255,0.1);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: var(--transition);
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--primary-color);
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 1.5rem !important;
}

.swiper-pagination-bullet {
    background: var(--white) !important;
    opacity: 0.5 !important;
    width: 10px !important;
    height: 10px !important;
    transition: var(--transition) !important;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
    width: 30px !important;
    border-radius: 5px !important;
    background: var(--primary-color) !important;
}

/* Quick Info (Overlapping) */
.quick-info {
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1px) /* To fix: syntax, changing below */
}

/* Fixing Grid Syntax */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.info-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

.info-card.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.info-card.active h3, .info-card.active i {
    color: var(--white);
}

/* About Section */
.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-text {
    padding-left: 50px;
}

.check-list {
    margin: 30px 0;
}

.check-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    color: var(--secondary-color);
}

.check-list i {
    color: var(--white);
    background-color: var(--primary-color);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

/* Services */
.mt-4 { margin-top: 40px; }

.service-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-content {
    padding: 30px;
    text-align: left;
}

.read-more {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.service-card:hover .read-more i {
    transform: translateX(5px);
}

/* Page Header */
.page-header {
    position: relative;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    color: var(--white);
    margin-bottom: 50px;
}
.page-header h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 15px;
}
.page-header p {
    font-size: 1.2rem;
    color: #e2e8f0;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: #cbd5e1;
    padding-top: 80px;
}

.footer h3 {
    color: var(--white);
    margin-bottom: 25px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.footer-logo span {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-col p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-col i {
    color: var(--primary-color);
}

.footer-bottom {
    background-color: #0b1120;
    padding: 20px 0;
    text-align: center;
    margin-top: 50px;
}

/* Responsive Grid Utilities */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Responsive */
@media (max-width: 991px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .hero-content h1 { font-size: 3.5rem; }
    .about .flex-between { flex-direction: column; }
    .about-text { padding-left: 0; margin-top: 40px; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .grid-3 { grid-template-columns: 1fr; }
    
    /* Mobile Menu */
    .mobile-menu-btn { display: block; }
    .header .btn { display: none; } /* Hide appointment button on mobile header */
    
    .nav-links { 
        position: fixed;
        top: 80px; /* Below header */
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: var(--transition);
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    /* Typography */
    .hero-content h1 { font-size: 2.5rem; margin-bottom: 15px; }
    .hero-content p { font-size: 1rem; margin-bottom: 25px; }
    .section-title { font-size: 2rem; }
    .page-header h1 { font-size: 2.5rem; }
    .page-header { padding: 80px 0; }
    
    /* Layout */
    .hero-slider { min-height: 500px; height: auto; }
    .hero-content { padding-top: 60px; padding-bottom: 60px; }
    .hero-buttons { flex-direction: column; width: 100%; padding: 0 20px; }
    .hero-buttons .btn { width: 100%; margin-bottom: 10px; }
    
    .quick-info { margin-top: -30px; }
    .top-bar { display: none; }
    
    /* Utility grids */
    .form-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
}
