@font-face {
    font-family: 'IRANSans';
    src: url('../fonts/IranSans/eot/IRANSansWeb.eot');
    src: url('../fonts/IranSans/eot/IRANSansWeb.eot?#iefix') format('embedded-opentype'),
    url('../fonts/IranSans/woff2/IRANSansWeb.woff2') format('woff2'),
    url('../fonts/IranSans/woff/IRANSansWeb.woff') format('woff'),
    url('../fonts/IranSans/ttf/IRANSansWeb.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'IRANSans';
    src: url('../fonts/IranSans/eot/IRANSansWeb_Light.eot');
    src: url('../fonts/IranSans/eot/IRANSansWeb_Light.eot?#iefix') format('embedded-opentype'),
    url('../fonts/IranSans/woff2/IRANSansWeb_Light.woff2') format('woff2'),
    url('../fonts/IranSans/woff/IRANSansWeb_Light.woff') format('woff'),
    url('../fonts/IranSans/ttf/IRANSansWeb_Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'IRANSans';
    src: url('../fonts/IranSans/eot/IRANSansWeb_UltraLight.eot');
    src: url('../fonts/IranSans/eot/IRANSansWeb_UltraLight.eot?#iefix') format('embedded-opentype'),
    url('../fonts/IranSans/woff2/IRANSansWeb_UltraLight.woff2') format('woff2'),
    url('../fonts/IranSans/woff/IRANSansWeb_UltraLight.woff') format('woff'),
    url('../fonts/IranSans/ttf/IRANSansWeb_UltraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'IRANSans';
    src: url('../fonts/IranSans/eot/IRANSansWeb_Medium.eot');
    src: url('../fonts/IranSans/eot/IRANSansWeb_Medium.eot?#iefix') format('embedded-opentype'),
    url('../fonts/IranSans/woff2/IRANSansWeb_Medium.woff2') format('woff2'),
    url('../fonts/IranSans/woff/IRANSansWeb_Medium.woff') format('woff'),
    url('../fonts/IranSans/ttf/IRANSansWeb_Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'IRANSans';
    src: url('../fonts/IranSans/eot/IRANSansWeb_Bold.eot');
    src: url('../fonts/IranSans/eot/IRANSansWeb_Bold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/IranSans/woff2/IRANSansWeb_Bold.woff2') format('woff2'),
    url('../fonts/IranSans/woff/IRANSansWeb_Bold.woff') format('woff'),
    url('../fonts/IranSans/ttf/IRANSansWeb_Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* ===== Variables ===== */
:root {
    --primary: #9333ea;
    --primary-light: #a855f7;
    --primary-dark: #7c3aed;
    --secondary: #c084fc;
    --accent: #e879f9;
    --dark: #0f0a1f;
    --darker: #0a0614;
    --light: #f3e8ff;
    --text: #e9d5ff;
    --text-secondary: #c4b5fd;
    --glass-bg: rgba(147, 51, 234, 0.1);
    --glass-border: rgba(168, 85, 247, 0.2);
}
/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'IRANSans', sans-serif;
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    color: var(--text);
    overflow-x: hidden;
    direction: rtl;
    width: 100%;
    max-width: 100vw;
}

/* ===== Loading Screen ===== */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
    position: relative;
}

.sparkle {
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    position: absolute;
    animation: sparkle 1.5s infinite;
}

.sparkle:nth-child(1) {
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.sparkle:nth-child(2) {
    bottom: -40px;
    left: 20%;
    animation-delay: 0.5s;
}

.sparkle:nth-child(3) {
    bottom: -40px;
    right: 20%;
    animation-delay: 1s;
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(0) translateY(0);
        opacity: 0;
    }
    50% {
        transform: scale(1) translateY(-10px);
        opacity: 1;
    }
}

.loading-text {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient 3s ease infinite;
    background-size: 200% auto;
    margin-top: 60px;
}

@keyframes gradient {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

/* ===== Glass Effect ===== */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(147, 51, 234, 0.2);
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 0;
    backdrop-filter: blur(10px);
    background: rgba(10, 10, 15, 0.8);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(147, 51, 234, 0.1);
    z-index: 1000;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 5px 30px rgba(147, 51, 234, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-nav {
    gap: 0.5rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--secondary) !important;
    background: rgba(147, 51, 234, 0.1);
    transform: translateY(-2px);
}

.navbar-cta {
    margin-right: 1rem;
    display: flex;
    gap: 0.5rem;
}

.navbar-toggler {
    padding: 0.25rem 0.5rem;
    border: none !important;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}
.btn-outline-gradient {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary) !important;
    padding: 0.625rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline-gradient:hover {
    background: var(--secondary);
    color: #fff !important;
    box-shadow: 0 5px 20px rgba(147, 51, 234, 0.4);
    transform: translateY(-2px);
}

.btn-outline-gradient i {
    font-size: 1.1rem;
}

.btn-gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: 2px solid transparent;
    color: white !important;
    padding: 0.625rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.5);
    border-color: var(--secondary);
}

.btn-gradient i {
    font-size: 1.1rem;
}

/* Mobile Navbar */
@media (max-width: 991px) {
    .navbar {
        padding: 0.75rem 0;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        background: rgba(20, 20, 30, 0.95);
        border-radius: 15px;
        border: 1px solid rgba(147, 51, 234, 0.2);
    }

    .navbar-nav {
        gap: 0;
    }

    .nav-link {
        padding: 0.75rem 1rem !important;
        margin-bottom: 0.5rem;
    }

    .navbar-cta {
        margin-right: 0;
        margin-top: 0.5rem;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .navbar-cta .btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
        justify-content: center;
    }

    .navbar-cta .btn i {
        font-size: 1.2rem;
    }
}

/* ===== Hero Section ===== */
.hero-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    min-height: 100vh;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section .row {
    padding-top: 60px;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    margin-top: 0;
    animation: fadeInUp 1s ease;
}

.hero-title .highlight {
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient 3s ease infinite;
    background-size: 200% auto;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-features {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.feature-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(147, 51, 234, 0.3);
}

.feature-badge i {
    color: var(--primary-light);
    font-size: 1.2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

/* Mobile Hero */
@media (max-width: 991px) {
    .hero-section {
        padding-top: 100px;
    }

    .hero-section .row {
        padding-top: 40px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-features {
        gap: 1rem;
    }

    .feature-badge {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 80px;
    }

    .hero-section .row {
        padding-top: 30px;
    }

    .hero-title {
        font-size: 1.75rem;
    }
}


.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.5);
}

.btn-outline-light {
    border: 2px solid var(--primary);
    color: var(--light);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.5);
}

/* Hero Image */
.hero-image-container {
    position: relative;
    animation: fadeInRight 1s ease 0.8s both;
}

.hero-image {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(147, 51, 234, 0.4);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.floating-card {
    background: linear-gradient(135deg,
    rgba(139, 92, 246, 0.25) 0%,
    rgba(124, 58, 237, 0.20) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1.5px solid rgba(167, 139, 250, 0.3);
    box-shadow:
        0 8px 32px 0 rgba(139, 92, 246, 0.37),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-card:hover {
    background: linear-gradient(135deg,
    rgba(139, 92, 246, 0.35) 0%,
    rgba(124, 58, 237, 0.30) 100%);
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 40px 0 rgba(139, 92, 246, 0.5),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(167, 139, 250, 0.5);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.floating-card i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.6));
}

.floating-card h4 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #a78bfa 0%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    text-shadow: 0 2px 10px rgba(167, 139, 250, 0.3);
    filter: drop-shadow(0 0 10px rgba(167, 139, 250, 0.4));
}

.floating-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--primary-light);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== Section Styles ===== */
.services-section,
.about-section,
.why-us-section,
.contact-section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* ===== Featured Service ===== */
.featured-service {
    padding: 3rem;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.featured-service::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.featured-service:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(147, 51, 234, 0.4);
}

.service-featured-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(147, 51, 234, 0.3);
}

.featured-content {
    position: relative;
    z-index: 1;
}

.badge-popular {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.featured-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.featured-title i {
    color: var(--primary-light);
    margin-left: 1rem;
}

.featured-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.feature-list li {
    padding: 0.75rem 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-list i {
    color: var(--primary-light);
    font-size: 1.2rem;
}

/* ===== Service Cards ===== */
.service-card {
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(147, 51, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(147, 51, 234, 0.4);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h4 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 0.5rem 0;
    padding-right: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.service-list li::before {
    content: '◆';
    position: absolute;
    right: 0;
    color: var(--primary-light);
}

/* ===== About Doctor ===== */
.doctor-image-container {
    position: relative;
}

.doctor-image {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(147, 51, 234, 0.4);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.experience-badge i {
    font-size: 3rem;
    color: var(--primary-light);
}

.experience-badge h4 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
}

.experience-badge p {
    margin: 0;
    color: var(--text-secondary);
}

.about-content {
    padding: 2rem;
}

.doctor-specialty {
    color: var(--primary-light);
    margin-bottom: 2rem;
    font-size: 1.3rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.doctor-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.doctor-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.doctor-feature:hover {
    transform: translateX(-10px);
    box-shadow: 0 5px 20px rgba(147, 51, 234, 0.3);
}

.doctor-feature i {
    font-size: 1.5rem;
    color: var(--primary-light);
}

/* ===== Why Us ===== */
.why-card {
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 60px rgba(147, 51, 234, 0.4);
}

.why-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.why-card:hover .why-icon {
    transform: rotate(360deg);
}

.why-icon i {
    font-size: 2.5rem;
    color: white;
}

.why-card h4 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.why-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== Contact ===== */
.contact-card {
    padding: 3rem 2rem;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(147, 51, 234, 0.4);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(10deg);
}

.contact-icon i {
    font-size: 2rem;
    color: white;
}

.contact-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-link {
    color: var(--primary-light);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--accent);
    transform: scale(1.1);
}

.address-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.map-responsive {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===== Footer ===== */
.footer {
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.footer-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px) rotate(10deg);
    box-shadow: 0 10px 25px rgba(147, 51, 234, 0.5);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(-5px);
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-contact i {
    color: var(--primary-light);
    font-size: 1.2rem;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.copyright-text {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.tech-credit {
    color: var(--text-secondary);
    margin: 0;
}

.tech-link {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* ===== Tech Modal ===== */
.modal-content {
    background: var(--dark);
    border: none;
}

.tech-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(147, 51, 234, 0.4);
}

/* ===== Scroll to Top ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.5);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .featured-title {
        font-size: 2rem;
    }

    .floating-card {
        right: 10px;
        bottom: 10px;
    }

    .about-content {
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-features {
        flex-direction: column;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

    .featured-service {
        padding: 2rem;
    }

    .service-card {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .featured-title {
        font-size: 1.5rem;
    }

    .floating-card {
        position: static;
        margin-top: 1rem;
    }

    .scroll-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }
}
