
/* ==================================================================
   SECURITY & PROTECTION
   ================================================================== */
body {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}
img {
    pointer-events: none; /* Disable right-click on images */
    -webkit-user-drag: none; /* Disable drag and drop */
}
.g-item { pointer-events: auto; }
.g-item img { pointer-events: none; }


/* ==================================================================
   VARIABLES & BASE STYLES
   ================================================================== */
:root {
    --primary-color: #0284c7;
    --primary-dark: #0369a1;
    --primary-light: #e0f2fe;
    
    --secondary-color: #0f172a;
    --text-color: #334155;
    --text-light: #64748b;
    
    --white: #ffffff;
    --bg-color: #f8fafc;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-blue: 0 10px 25px -5px rgba(2, 132, 199, 0.4);
    
    --radius-md: 12px;
    --radius-lg: 24px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--text-color); background-color: var(--bg-color); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { color: var(--secondary-color); font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* UTILITY CLASSES */
.mt-4 { margin-top: 1.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-5 { margin-top: 3rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.text-center { text-align: center; }
.text-light { color: var(--text-light) !important; }
.w-100 { width: 100%; }
.justify-center { justify-content: center; }
.py-100 { padding: 100px 0; }
.badge { display: inline-block; background: rgba(2, 132, 199, 0.1); color: var(--primary-color); padding: 6px 16px; border-radius: 30px; font-weight: 600; font-size: 0.875rem; margin-bottom: 1rem; }
.sub-heading { display: block; color: var(--primary-color); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.875rem; margin-bottom: 0.5rem; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 50px; font-weight: 600; font-size: 0.95rem; cursor: pointer; border: 2px solid transparent; transition: var(--transition); }
.btn-primary { background-color: var(--primary-color); color: var(--white); }
.btn-primary:hover { background-color: var(--primary-dark); transform: translateY(-2px); }
.btn-glow { box-shadow: var(--shadow-blue); }
.btn-outline { background-color: transparent; border-color: var(--primary-color); color: var(--primary-color); }
.btn-outline:hover { background-color: var(--primary-color); color: var(--white); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* HEADER & TOP BAR */
.top-bar { background-color: var(--secondary-color); color: #94a3b8; padding: 10px 0; font-size: 0.875rem; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.contact-info { display: flex; gap: 24px; }
.contact-info span { display: flex; align-items: center; gap: 8px; }
.contact-info i { color: var(--primary-color); }
.social-links a { color: #94a3b8; margin-left: 16px; }
.social-links a:hover { color: var(--white); }

.header { background-color: var(--white); position: sticky; top: 0; z-index: 1000; box-shadow: var(--shadow-sm); }
.header-container { display: flex; justify-content: space-between; align-items: center; height: 90px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { width: 45px; height: 45px; background: var(--primary-light); color: var(--primary-color); display: flex; align-items: center; justify-content: center; border-radius: 12px; font-size: 24px; }
.logo-text h1 { font-size: 1.25rem; margin-bottom: 0; letter-spacing: -0.5px; }
.logo-text span { font-size: 0.75rem; color: var(--text-light); font-weight: 500; }

.main-nav ul { display: flex; gap: 32px; }
.main-nav a { font-weight: 600; color: var(--text-color); padding: 10px 0; position: relative; }
.main-nav a:hover, .main-nav a.active { color: var(--primary-color); }
.main-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--primary-color); transition: var(--transition); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.dropdown { position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: -20px; background: var(--white); min-width: 220px; box-shadow: var(--shadow-lg); border-radius: var(--radius-md); padding: 10px 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition); display: flex; flex-direction: column; gap: 0; z-index: 999; }
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { padding: 12px 24px; display: block; font-weight: 500; }
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover { background-color: var(--primary-light); color: var(--primary-color); }

.header-action { display: flex; align-items: center; gap: 24px; }
.phone-block { display: flex; align-items: center; gap: 12px; }
.phone-block i { font-size: 24px; color: var(--primary-color); }
.phone-label { display: block; font-size: 0.75rem; color: var(--text-light); }
.phone-number { font-weight: 700; color: var(--secondary-color); font-size: 1.1rem; }

/* PAGE BANNER */
.page-banner { position: relative; background: url('https://images.unsplash.com/photo-1606811841689-23dfddce3e95?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover; padding: 100px 0; text-align: center; color: var(--white); overflow: hidden; }
.banner-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(2, 132, 199, 0.85); z-index: 1; }
.page-banner-inner { position: relative; z-index: 2; }
.page-banner h1 { color: var(--white); font-size: 3rem; margin-bottom: 16px; }
.breadcrumbs { font-size: 0.95rem; font-weight: 500; }
.breadcrumbs a { color: rgba(255,255,255,0.8); }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs i { font-size: 10px; margin: 0 8px; color: rgba(255,255,255,0.6); }

/* HERO SECTION */
.hero { background: linear-gradient(135deg, var(--primary-light) 0%, rgba(255,255,255,1) 100%); padding: 80px 0 160px; position: relative; overflow: hidden; }
.hero-container { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.hero-content { flex: 1; max-width: 600px; }
.hero-content h2 { font-size: 3.5rem; margin-bottom: 24px; letter-spacing: -1px; }
.highlight { color: var(--primary-color); }
.hero-content p { font-size: 1.125rem; color: var(--text-light); margin-bottom: 40px; }
.hero-buttons { display: flex; gap: 16px; }
.hero-image-wrapper { flex: 1; position: relative; }
.image-blob { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; overflow: hidden; box-shadow: var(--shadow-lg); animation: morph 8s ease-in-out infinite; }
.image-blob img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes morph { 0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; } 34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; } 67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; } }
.experience-badge { position: absolute; bottom: 30px; left: -30px; background: var(--white); padding: 20px; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; }
.experience-badge .number { font-size: 2.5rem; font-weight: 800; color: var(--primary-color); line-height: 1; }
.experience-badge .text { font-size: 0.875rem; font-weight: 600; line-height: 1.2; }

/* SERVICES (Index) */
.services { position: relative; z-index: 10; margin-top: -100px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card { background: var(--white); padding: 40px 30px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); transition: var(--transition); border-bottom: 4px solid transparent; }
.service-card:hover, .service-card.active { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-bottom-color: var(--primary-color); }
.icon-wrapper { width: 64px; height: 64px; background: var(--primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--primary-color); margin-bottom: 24px; transition: var(--transition); }
.service-card:hover .icon-wrapper, .service-card.active .icon-wrapper { background: var(--primary-color); color: var(--white); }
.service-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.service-card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 24px; }
.service-link { color: var(--secondary-color); font-weight: 700; font-size: 0.875rem; display: inline-flex; align-items: center; gap: 8px; }
.service-link:hover { color: var(--primary-color); }

/* TREATMENTS GRID */
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.t-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); }
.t-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.t-card img { width: 100%; height: 220px; object-fit: cover; }
.t-content { padding: 30px; }
.t-content h3 { font-size: 1.3rem; margin-bottom: 12px; }
.t-content p { color: var(--text-light); margin-bottom: 20px; font-size: 0.95rem; }

/* ABOUT PAGE */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image-wrapper { position: relative; }
.about-image-wrapper .main-img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.floating-card { position: absolute; bottom: -30px; right: -30px; background: var(--white); padding: 30px; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); text-align: center; border-bottom: 4px solid var(--primary-color); }
.floating-card i { font-size: 30px; color: var(--primary-color); margin-bottom: 10px; }
.floating-card h4 { font-size: 2rem; color: var(--secondary-color); margin-bottom: 5px; }
.floating-card p { font-size: 0.85rem; font-weight: 600; color: var(--text-light); }
.lead { font-size: 1.15rem; font-weight: 500; margin-bottom: 20px; color: var(--secondary-color); }
.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.check-list i { color: var(--primary-color); background: var(--primary-light); width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 10px; }

/* WHY US GRID */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.feature-card { background: var(--white); padding: 40px 20px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: var(--transition); }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.f-icon { width: 70px; height: 70px; margin: 0 auto 20px; background: var(--primary-light); color: var(--primary-color); font-size: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: var(--transition); }
.feature-card:hover .f-icon { background: var(--primary-color); color: var(--white); }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature-card p { font-size: 0.9rem; color: var(--text-light); }

/* CONTACT PAGE */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; }
.info-item { display: flex; gap: 20px; margin-bottom: 30px; }
.i-icon { width: 50px; height: 50px; background: var(--primary-light); color: var(--primary-color); font-size: 20px; display: flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; }
.i-text h4 { font-size: 1.1rem; margin-bottom: 5px; }
.i-text p { color: var(--text-light); }
.shadow-box { background: var(--white); padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.9rem; }
.form-control { width: 100%; padding: 14px 20px; border: 1px solid #e2e8f0; border-radius: var(--radius-md); outline: none; font-family: inherit; font-size: 0.95rem; transition: var(--transition); background: var(--bg-color); }
.form-control:focus { border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1); background: var(--white); }

/* GALLERY PAGE */
.g-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.g-item { position: relative; border-radius: var(--radius-md); overflow: hidden; cursor: pointer; aspect-ratio: 4/3; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.g-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(2, 132, 199, 0.7); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); }
.g-overlay i { color: var(--white); font-size: 30px; transform: scale(0); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.g-item:hover .g-overlay { opacity: 1; }
.g-item:hover img { transform: scale(1.1); }
.g-item:hover .g-overlay i { transform: scale(1); }

/* FOOTER */
/* ADDED: margin-top: 80px to ensure gap between content and footer on all pages */
.footer { background: var(--secondary-color); color: #94a3b8; padding: 80px 0 0 0; margin-top: 80px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 60px; }
.footer-brand p { margin-top: 20px; line-height: 1.8; }
.footer h4 { color: var(--white); font-size: 1.25rem; margin-bottom: 24px; }
.footer-links ul { display: grid; gap: 16px; }
.footer-links a { display: flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--primary-color); padding-left: 5px; }
.footer-contact ul { display: grid; gap: 20px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact i { color: var(--primary-color); font-size: 1.25rem; margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; }
.social-links-footer { display: flex; gap: 16px; }
.social-links-footer a { width: 40px; height: 40px; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--white); }
.social-links-footer a:hover { background: var(--primary-color); }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .services-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
    .t-grid, .g-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .floating-card { right: 20px; bottom: -20px; }
}
@media (max-width: 768px) {
    .top-bar, .phone-block, .main-nav { display: none; }
    .hero-container { flex-direction: column; text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero { padding-bottom: 100px; }
    .hero-content h2 { font-size: 2.5rem; }
    .services { margin-top: 40px; }
    .services-grid, .features-grid, .t-grid, .g-grid, .footer-top { grid-template-columns: 1fr; }
    .page-banner { padding: 60px 0; }
    .form-row { grid-template-columns: 1fr; }
}
