/* 
  Dr. M. Shahnawaz Ansari Clinic Landing Page
  Design System: Medical, Premium, High-Converting
*/

:root {
    --primary: #2563eb; /* Strong trustworthy blue */
    --primary-light: #eff6ff;
    --secondary: #10b981; /* Healthy peaceful green */
    --secondary-light: #ecfdf5;
    --navy: #1e3a8a;
    --dark: #1e293b;
    --gray: #64748b;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px 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);
    --radius: 12px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--navy);
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

/* Header */
.main-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

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

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

.logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 50%;
    background: white;
    padding: 2px;
    box-shadow: var(--shadow-sm);
}

.logo-text h1 {
    font-size: 1.25rem;
    line-height: 1.2;
}

.tagline {
    font-size: 0.75rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.desktop-nav {
    display: flex;
    gap: 32px;
    font-weight: 500;
    color: var(--gray);
}

.desktop-nav a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--navy);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

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

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

.btn-success:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 14px 32px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
    padding: 60px 0 100px;
    background: linear-gradient(135deg, #fff 0%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 600px;
}

.badge-container {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
}

.primary-badge {
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.secondary-badge {
    background: var(--secondary-light);
    color: var(--secondary);
    border: 1px solid var(--secondary);
}

.hero-ctas {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.trust-indicators {
    display: flex;
    gap: 32px;
}

.indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 500;
}

.indicator i {
    color: var(--primary);
    width: 20px;
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    background: white;
    padding: 10px;
    box-shadow: var(--shadow-lg);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: calc(var(--radius-lg) - 10px);
    display: block;
}

.floating-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: white;
    padding: 16px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    border-left: 5px solid var(--secondary);
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.card-icon {
    width: 40px;
    height: 40px;
    background: var(--secondary-light);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-title {
    font-weight: 700;
    font-size: 1rem;
}

.card-desc {
    font-size: 0.8rem;
    color: var(--gray);
}

/* About Section */
.about-section {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: center;
}

.sub-title {
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.about-list {
    margin-top: 32px;
    display: grid;
    gap: 16px;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-list li i {
    color: var(--secondary);
    width: 22px;
    margin-top: 2px;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stat-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: scale(1.05);
}

.stat-card.highlighted {
    background: var(--navy);
    color: white;
}

.stat-card.highlighted h4, .stat-card.highlighted p {
    color: white;
}

.stat-card h4 {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.stat-card p {
    font-weight: 500;
    color: var(--gray);
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: var(--white);
}

.header-center {
    text-align: center;
    max-width: 700px;
    margin-bottom: 60px;
}

.section-desc {
    color: var(--gray);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--light-bg);
    padding: 40px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
    display: block;
    cursor: pointer;
}

.service-card:hover {
    background: white;
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
}

.service-card h4 {
    margin-bottom: 16px;
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Testimonials */
.testimonials-section {
    padding: 100px 0;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    position: relative;
}

.stars {
    margin-bottom: 20px;
    color: #fbbf24;
}

.review-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--dark);
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 16px;
}

.reviewer-initial {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.reviewer-info .name {
    font-weight: 700;
}

.reviewer-info .location {
    font-size: 0.8rem;
    color: var(--gray);
}

/* CTA Banner */
.cta-banner {
    padding: 80px 0;
    background: linear-gradient(rgba(30, 58, 138, 0.95), rgba(30, 58, 138, 0.95)), url('assets/doctor.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-content h3 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta-urgent {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 99px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pulse {
    width: 10px;
    height: 10px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.cta-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Gallery Preview Home Section */
.gallery-preview-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.preview-item {
    border-radius: var(--radius);
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.preview-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mt-40 { margin-top: 40px; }
.text-center { text-align: center; }

/* Location Section */
.location-section {
    padding: 100px 0;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.contact-details {
    margin: 40px 0;
    display: grid;
    gap: 24px;
}

.contact-details .item {
    display: flex;
    gap: 16px;
}

.item i {
    color: var(--primary);
    width: 24px;
}

.item .label {
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--gray);
}

.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: var(--primary-light);
}

.faq-container {
    max-width: 800px;
    display: grid;
    gap: 16px;
}

.faq-item {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.faq-question:hover {
    background: #fdfdfd;
    color: var(--primary);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    color: var(--gray);
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px;
    max-height: 200px;
}

.faq-item.active .faq-question {
    color: var(--primary);
}

/* Footer */
.main-footer {
    background: #0f172a;
    color: white;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-brand h5 {
    color: white;
    font-size: 1.2rem;
}

.footer-about {
    margin-top: 20px;
    opacity: 0.7;
}

.footer-links h6, .footer-contact h6 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-links h6::after, .footer-contact h6::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

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

.footer-links ul li a {
    opacity: 0.7;
}

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

.footer-contact p {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    opacity: 0.7;
}

.footer-contact i {
    color: var(--primary);
    width: 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Floating Buttons Common */
.whatsapp-float, .amazon-float {
    position: fixed;
    right: 40px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    transition: var(--transition);
    color: white;
}

.whatsapp-float:hover, .amazon-float:hover {
    transform: scale(1.1) rotate(10deg);
}

.whatsapp-float {
    bottom: 40px;
    background: #25d366;
    font-size: 1.5rem;
}

.amazon-float {
    bottom: 110px;
    background: #FF9900;
    font-size: 1.75rem;
}

/* Mobile Sticky Bar */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    z-index: 1002;
    padding: 12px 16px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 40px;
    left: 40px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--navy);
    transform: translateY(-5px);
}

/* Gallery Specific Styles */
.mini-hero {
    padding: 80px 0 40px;
}

.gallery-section {
    padding: 80px 0;
}

.gallery-header {
    margin-bottom: 40px;
}

.section-title-sm {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.gallery-grid, .video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-card, .video-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.gallery-card:hover, .video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.placeholder-img, .placeholder-video, .card-image {
    background: #e2e8f0;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-align: center;
    padding: 0;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-card:hover .card-image img {
    transform: scale(1.05);
}

.placeholder-img i, .placeholder-video i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.placeholder-video {
    background: #1e293b;
    color: #f8fafc;
}

.placeholder-video:hover {
    color: var(--primary);
}

.card-info {
    padding: 20px;
}

.card-info h4 {
    margin-bottom: 5px;
}

.card-info p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Results (Before/After) */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.result-pair {
    background: white;
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.pair-label {
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--navy);
}

.pair-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.placeholder-img.mini {
    height: 180px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.placeholder-img.mini.highlighted {
    background: var(--primary-light);
    color: var(--primary);
    border: 2px dashed var(--primary);
}

.result-image {
    width: 100%;
    height: 250px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 15px;
    background: #e2e8f0;
}

.result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-note {
    font-size: 0.85rem;
    color: var(--gray);
    text-align: center;
    font-style: italic;
}

/* Animations */
[data-reveal="left"] { transform: translateX(-50px); opacity: 0; transition: all 0.8s ease-out; }
[data-reveal="right"] { transform: translateX(50px); opacity: 0; transition: all 0.8s ease-out; }
[data-reveal="up"] { transform: translateY(50px); opacity: 0; transition: all 0.8s ease-out; }
[data-reveal="fade"] { opacity: 0; transition: all 1s ease-out; }

.revealed { transform: translate(0, 0) !important; opacity: 1 !important; }

/* Responsive Media Queries */
@media (max-width : 992px) {
    .container { padding: 0 20px; }
    .hero-container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-content { display: flex; flex-direction: column; align-items: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-ctas { width: 100%; justify-content: center; }
    .trust-indicators { justify-content: center; flex-wrap: wrap; }
    .floating-card { left: 50%; transform: translateX(-50%); bottom: -20px; }
    .about-grid, .location-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width : 768px) {
    .desktop-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        transition: 0.4s;
    }
    
    .desktop-nav.active { left: 0; }
    .menu-toggle { display: block; }
    .header-call-btn { display: none; }
    
    .section-title { font-size: 2rem; }
    .hero-title { font-size: 2.2rem; }
    
    .hero-ctas { flex-direction: column; }
    .btn-large { width: 100%; justify-content: center; }
    
    .mobile-sticky-bar { display: flex; gap: 8px; }
    .sticky-btn {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 8px 4px;
        border-radius: 10px;
        color: white;
        font-weight: 700;
        font-size: 0.75rem;
    }
    .sticky-btn i { width: 18px; height: 18px; }
    .gallery-btn { background: var(--navy); }
    .call-btn { background: var(--primary); }
    .whatsapp-btn { background: var(--secondary); }
    
    .mobile-hide { display: none; }
    
    .whatsapp-float { bottom: 85px; right: 20px; width: 50px; height: 50px; font-size: 1.25rem; }
    .amazon-float { bottom: 145px; right: 20px; width: 50px; height: 50px; font-size: 1.5rem; }
    
    .cta-actions { flex-direction: column; }
    .cta-actions .btn { width: 100%; }
    
    .about-stats { flex-direction: row; }
    .stat-card { flex: 1; padding: 20px; }
    .stat-card h4 { font-size: 1.5rem; }
}

@media (max-width : 480px) {
    .about-stats { flex-direction: column; }
}

/* Video Responsiveness */
.video-container {
    width: 100%;
    aspect-ratio: 16 / 9; /* Standard widescreen */
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #000;
    margin-bottom: 20px;
}

/* Portrait orientation for mobile clips - improved to prevent excessive height */
.video-container.portrait {
    aspect-ratio: 9 / 16;
    max-width: 280px; /* Reduced from 350px */
    max-height: 480px; /* Added limit to prevent "too long" look */
    margin-left: auto;
    margin-right: auto;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr; /* Default full width for feature videos */
    gap: 30px;
    margin-top: 30px;
}

@media (min-width: 768px) {
    .video-grid.split-layout {
        grid-template-columns: 1.5fr 1fr; /* Video bigger, images smaller */
    }
}

/* Service Gallery Navigation & Enhancements */
.service-nav {
    background: white;
    padding: 15px 0;
    position: sticky;
    top: 80px;
    z-index: 99;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.service-nav::-webkit-scrollbar {
    display: none;
}

.service-nav-container {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.nav-link {
    padding: 10px 20px;
    border-radius: 99px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray);
    transition: var(--transition);
    border: 1px solid #e2e8f0;
    background: white;
}

.nav-link:hover, .nav-link.active {
    background: var(--primary);
    color: white !important;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.gallery-section {
    scroll-margin-top: 160px;
    padding: 100px 0;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 350px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    background: #e2e8f0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    padding: 24px;
    color: white;
    opacity: 0;
    transition: var(--transition);
    transform: translateY(10px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-overlay h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 6px;
    font-family: 'Outfit', sans-serif;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

@media (max-width: 992px) {
    .service-nav-container {
        justify-content: flex-start;
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 768px) {
    .gallery-item {
        height: 300px;
    }
    
    .gallery-overlay {
        opacity: 1;
        transform: translateY(0);
        padding: 15px;
    }
    
    .gallery-overlay h4 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-item {
        height: 250px;
    }
}
