* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #f77115;     
    --secondary-blue: #fb923c;   
    --accent-cyan: #facc15;      
    --dark-gray: #1f2937;
    --medium-gray: #6b7280;
    --light-gray: #f3f4f6;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #f77115 0%, #fb923c 100%);
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    overflow-x: hidden;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    font-size: 1.8rem;
    color: var(--accent-cyan);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.cta-button {
    background: var(--gradient);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 0.9rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Mobile Navigation */
.topnav {
    display: none;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.topnav .logo-mobile {
    padding: 14px 16px;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.3rem;
}

.topnav #myLinks {
    display: none;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.topnav a {
    color: var(--dark-gray);
    padding: 14px 16px;
    text-decoration: none;
    font-size: 16px;
    display: block;
    transition: background-color 0.3s ease;
}

.topnav a:hover {
    background-color: var(--light-gray);
    color: var(--primary-blue);
}

.topnav a.icon {
    background: transparent;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    color: var(--dark-gray);
    font-size: 18px;
}

.topnav .cta-button {
    margin: 10px 16px;
    padding: 10px 20px;
    border-radius: 25px;
    text-align: center;
    font-size: 14px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f1117 0%, #1a1f25 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(to bottom, rgba(10, 10, 10, 0.6), rgba(10, 10, 10, 0.9)),
        url('/assets/images/nos\ services.webp') center/cover no-repeat;
    z-index: 0;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    z-index: 2;
    position: relative;
}

.hero-content {
    max-width: 600px;
    color: white;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: white;
    color: var(--primary-blue);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 0.8rem 1.5rem;
    border: 2px solid white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-blue);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Services Detail Section */
.services-detail {
    padding: 4rem 0;
    background: white;
}

.service-item {
    margin-bottom: 4rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.service-content {
    padding: 1rem;
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon i {
    font-size: 1.5rem;
    color: white;
}

.service-title h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.service-title h3 {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: #64748b;
    font-weight: 500;
}

.service-description {
    color: #64748b;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    background: #040478;
    padding: 1.2rem;
    border-radius: 12px;
    border-left: 4px solid #f74b16ee;
}

.feature-item h4 {
    color: orange;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.feature-item p {
    color: white;
    font-size: 0.85rem;
    line-height: 1.5;
}

.service-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.step {
    text-align: center;
    padding: 1rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #040478;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h4 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.step p {
    color: #64748b;
    font-size: 0.8rem;
}

/* Treatment Types Section */
.treatment-types {
    padding: 4rem 0;
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}

.treatment-types::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.header-accent {
    width: 40px;
    height: 3px;
    background: #040478;
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 6vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.section-header p {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: white;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    font-weight: 400;
}

.header-divider {
    width: 150px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #475569, transparent);
    margin: 0 auto;
}

/* Tabs Container */
.tabs-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

/* Tab Menu */
.tab-menu {
    display: flex;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    position: relative;
    flex-wrap: wrap;
}

.tab-link {
    flex: 1;
    min-width: 120px;
    padding: 1rem 0.5rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    overflow: hidden;
}

.tab-link:hover {
    color: rgba(255, 255, 255, 0.9);
}

.tab-link.active {
    color: #ffffff;
    background: #040478;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.tab-icon {
    font-size: 1.2rem;
    filter: grayscale(1);
    transition: filter 0.3s ease;
}

.tab-link.active .tab-icon,
.tab-link:hover .tab-icon {
    filter: grayscale(0);
}

.tab-text {
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    text-align: center;
}

/* Tab Content */
.tab-content {
    display: none;
    padding: 2rem 1rem;
    animation: fadeIn 0.6s ease-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

/* Tab Info */
.info-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tab-info h3 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.02em;
}

.process-badge {
    background: #040478;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tab-info p {
    color: #64748b;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Process List */
.process-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.process-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(248, 250, 252, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.process-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: #040478;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.process-item:hover::before {
    transform: scaleY(1);
}

.process-number {
    background: #f77115;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.process-content h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.3rem;
    letter-spacing: -0.01em;
}

.process-content p {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

/* Tab Image */
.tab-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    order: -1;
}

.tab-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-image:hover .image-overlay {
    opacity: 0.7;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: #040478;
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem;
    font-size: 0.9rem;
}

.btn-white {
    background: white;
    color: #2563eb;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: #2563eb;
}

/* Footer */
.footer {
    background: #040478;
    color: white;
    padding: 2rem 0 1rem;
}

.footer img {
    height: auto;
    max-width: 200px;
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-cyan);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

/* Responsive Design - Tablet */
@media (min-width: 600px) {
    .container {
        padding: 0 2rem;
    }
    
    .nav-container {
        padding: 0 2rem;
        height: 80px;
    }
    
    .hero-container {
        padding: 0 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-image img {
        height: 350px;
    }
    
    .tab-image img {
        height: 300px;
    }
}

/* Responsive Design - Desktop */
@media (min-width: 1024px) {
    .nav-container {
        display: flex;
    }
    
    .topnav {
        display: none;
    }
    
    .service-item {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        margin-bottom: 6rem;
    }
    
    .service-item:nth-child(even) {
        direction: rtl;
    }
    
    .service-item:nth-child(even) > * {
        direction: ltr;
    }
    
    .service-content {
        padding: 2rem;
    }
    
    .service-header {
        margin-bottom: 2rem;
    }
    
    .service-icon {
        width: 80px;
        height: 80px;
        border-radius: 20px;
        margin-right: 1.5rem;
    }
    
    .service-icon i {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .feature-item {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .service-image img {
        height: 400px;
    }
    
    .process-steps {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        flex-direction: row;
    }
    
    .treatment-types {
        padding: 8rem 0;
    }
    
    .section-header {
        margin-bottom: 5rem;
    }
    
    .tab-menu {
        flex-wrap: nowrap;
    }
    
    .tab-link {
        padding: 2rem 1.5rem;
        font-size: 1rem;
        min-width: auto;
    }
    
    .tab-content {
        padding: 4rem;
    }
    
    .tab-inner {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    
    .tab-image {
        order: 0;
        transform: perspective(1000px) rotateY(-5deg);
    }
    
    .tab-image:hover {
        transform: perspective(1000px) rotateY(0deg) scale(1.02);
    }
    
    .tab-image img {
        height: 400px;
    }
    
    .process-item {
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .process-item:hover {
        transform: translateX(8px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        background: rgba(255, 255, 255, 0.9);
    }
    
    .process-number {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        font-size: 0.9rem;
    }
    
    .cta-section {
        padding: 6rem 0;
    }
    
    .footer {
        padding: 3rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .services-detail {
        padding: 6rem 0;
    }
    
    .service-image img {
        height: 600px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

html {
    scroll-behavior: smooth;
}

/* Utility classes for mobile navigation */
.mobile-menu-toggle {
    display: none;
}

@media (max-width: 1023px) {
    .nav-container {
        display: none;
    }
    
    .topnav {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}