i/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3daaaf;
    --primary-dark: #015b6d;
    --secondary-color: #015b6d;
    --secondary-light: #8bbce1;
    --accent-color: white;
    --icon-bg-color: #97e3d6;
    --light-bg: #fafafa;
    --white: #ffffff;
    --text-primary: #333;
    --text-secondary: #666;
    --text-light: #999;
}

body {
    font-family: 'Noto Sans Arabic', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-primary);
    line-height: 1.6;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

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

/* Header */
.header {
    background: var(--white);
    color: var(--text-primary);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(23, 121, 195, 0.15);
}

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

.logo {
    flex-shrink: 0;
}

.logo-img {
    max-width: 160px;
    height: auto;
}

.menu-icon {
    width: 30px;
    height: 30px;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
    padding: 4px;
    position: relative;
}

.menu-icon:hover {
    color: var(--secondary-color);
    background: rgba(30, 24, 98, 0.1);
    transform: scale(1.1);
}

.menu-icon[aria-expanded="true"] {
    color: var(--secondary-color);
    background: rgba(30, 24, 98, 0.1);
}

.menu-icon svg {
    width: 100%;
    height: 100%;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: subtleZoom 20s ease-in-out infinite alternate;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(61, 170, 175, 0.85) 0%, rgba(1, 91, 109, 0.9) 100%);
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: white;
    width: 100%;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.hero-logo {
    text-align: center;
    animation: slideInDown 1s ease-out;
    width: 100%;
}

.clean-logo-img {
    width: 69%;
    max-width: 400px;
    height: auto;
}

.hero-message {
    font-size: clamp(1.2rem, 4vw, 2rem);
    font-weight: 600;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    animation: slideInUp 1s ease-out 0.3s both;
}

.hero-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 400px;
    margin: 0 auto;
    animation: fadeInScale 1s ease-out 0.6s both;
}

.hero-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.hero-icon:nth-child(1) { animation: bounceIn 0.8s ease-out 0.8s both; }
.hero-icon:nth-child(2) { animation: bounceIn 0.8s ease-out 1s both; }
.hero-icon:nth-child(3) { animation: bounceIn 0.8s ease-out 1.2s both; }
.hero-icon:nth-child(4) { animation: bounceIn 0.8s ease-out 1.4s both; }

.icon-circle {
    width: 80px;
    height: 80px;
    background: var(--icon-bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid white;
    box-shadow: 0 4px 15px rgba(61, 170, 175, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-circle:hover {
    transform: scale(1.15) rotate(5deg);
    background: var(--primary-dark);
    box-shadow: 0 8px 25px rgba(61, 170, 175, 0.4);
}

.icon-circle svg {
    width: 32px;
    height: 32px;
    fill: white;
    stroke: black;
    stroke-width: 1.5;
    transition: transform 0.3s ease;
}

.hero-icon:hover .icon-circle svg {
    transform: scale(1.1);
}

.hero-icon span {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
}

.hero-icon:hover span {
    transform: translateY(-2px);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Bottom Sticky Contact Bar */
.bottom-contact-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(1, 91, 109, 0.95) 0%, rgba(1, 91, 109, 0.98) 100%);
    border-top: 3px solid var(--accent-color);
    padding: 10px 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.contact-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    text-decoration: none;
    color: white;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: transparent;
    gap: 6px;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease-out forwards;
}

.contact-btn:nth-child(1) { animation-delay: 1.7s; }
.contact-btn:nth-child(2) { animation-delay: 1.9s; }
.contact-btn:nth-child(3) { animation-delay: 2.1s; }

.contact-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}



.contact-btn:active {
    transform: translateY(0);
}

.contact-icon {
    width: 24px;
    height: 24px;
    fill: white;
    stroke: black;
    stroke-width: 1.5;
}

.contact-btn span {
    font-size: 0.8rem;
    color: white;
}

/* Main Content */
.main-content {
    /* padding: 50px 0 100px 0; */
    overflow-x: hidden;
}

.services-section {
    margin-bottom: 56px;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 2px;
}

/* About Section */
.about-section {
    background: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(61, 170, 175, 0.02) 0%, rgba(1, 91, 109, 0.05) 100%);
    z-index: 1;
}

.specialist-profile {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
    padding: 40px;
    background: var(--white);
    border-radius: 20px;
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(61, 170, 175, 0.1);
    border: 1px solid rgba(61, 170, 175, 0.1);
    position: relative;
    z-index: 2;
}

.profile-image {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    box-shadow: 0 8px 25px rgba(61, 170, 175, 0.3);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.specialist-info {
    flex: 1;
}

.specialist-info h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.specialist-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.specialist-description {
    margin-top: 20px;
}

.specialist-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.specialist-description p:last-child {
    margin-bottom: 0;
}

/* Stats Grid inside Doctor Profile Card */
.specialist-info .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.specialist-info .stat-card {
    text-align: center;
    padding: 20px 15px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: white;
    transition: all 0.8s ease;
    opacity: 0;
    transform: scale(0.8) translateY(30px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.specialist-info .stat-card.animate {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.specialist-info .stat-card.animate:nth-child(1) { transition-delay: 0.1s; }
.specialist-info .stat-card.animate:nth-child(2) { transition-delay: 0.2s; }
.specialist-info .stat-card.animate:nth-child(3) { transition-delay: 0.3s; }

.specialist-info .stat-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.specialist-info .stat-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.specialist-info .stat-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.specialist-info .stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(10deg);
    background: rgba(255, 255, 255, 0.3);
}

.specialist-info .stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: white;
}

.specialist-info .stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 60px 0;
    margin-bottom: 40px;
    border-radius: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.8s ease;
    opacity: 0;
    transform: scale(0.8) translateY(30px);
}

.stat-card.animate {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.stat-card.animate:nth-child(1) { transition-delay: 0.1s; }
.stat-card.animate:nth-child(2) { transition-delay: 0.2s; }
.stat-card.animate:nth-child(3) { transition-delay: 0.3s; }

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.stat-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(10deg);
    background: rgba(255, 255, 255, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: white;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* Services Section */
.services-section {
    background: linear-gradient(135deg, rgba(61, 170, 175, 0.05) 0%, rgba(1, 91, 109, 0.08) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(61, 170, 175, 0.02) 0%, rgba(1, 91, 109, 0.05) 100%);
    z-index: 1;
}

.services-intro {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    position: relative;
    z-index: 2;
}

.services-intro.animate {
    opacity: 1;
    transform: translateY(0);
}

.services-intro p {
    font-size: 1.3rem;
    color: var(--primary-dark);
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(61, 170, 175, 0.1);
    border: 1px solid rgba(61, 170, 175, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.service-card.animate:nth-child(1) { transition-delay: 0.1s; }
.service-card.animate:nth-child(2) { transition-delay: 0.2s; }
.service-card.animate:nth-child(3) { transition-delay: 0.3s; }
.service-card.animate:nth-child(4) { transition-delay: 0.4s; }

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(61, 170, 175, 0.2);
    border-color: rgba(61, 170, 175, 0.3);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 4px solid var(--primary-color);
    box-shadow: 0 8px 25px rgba(61, 170, 175, 0.3);
    overflow: hidden;
    position: relative;
}

.service-card:hover .service-icon {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 12px 35px rgba(61, 170, 175, 0.4);
}

.service-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 50%;
    pointer-events: none;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    color: white;
    position: relative;
    z-index: 1;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.service-card h3 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 400;
}

/* Additional Services Section */
.additional-services {
    margin-top: 60px;
    padding: 40px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(61, 170, 175, 0.1);
    border: 1px solid rgba(61, 170, 175, 0.1);
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.additional-services.animate {
    opacity: 1;
    transform: translateY(0);
}

.additional-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 20px 20px 0 0;
}

.additional-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

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

.additional-card {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    border: 1px solid rgba(61, 170, 175, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    display: flex;
    align-items: flex-end;
}

.additional-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.additional-card.animate:nth-child(1) { transition-delay: 0.1s; }
.additional-card.animate:nth-child(2) { transition-delay: 0.2s; }
.additional-card.animate:nth-child(3) { transition-delay: 0.3s; }

.additional-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(61, 170, 175, 0.8) 0%, rgba(1, 91, 109, 0.9) 100%);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.additional-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 35px rgba(61, 170, 175, 0.3);
    border-color: rgba(61, 170, 175, 0.3);
}

.additional-card:hover::before {
    opacity: 0.85;
}

.card-overlay {
    position: relative;
    z-index: 2;
    padding: 25px;
    color: white;
    width: 100%;
}

.card-overlay h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.card-overlay p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}





/* Responsive Design */
@media (max-width: 480px) {
    .hero-banner {
        height: calc(100vh - 160px);
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        padding: 0;
    }
    
    .hero-overlay {
        padding: 10px;
    }
    
    .hero-content {
        padding: 0 10px;
        height: 100%;
    }
    
    .hero-message {
        white-space: normal;
        line-height: 1.2;
    }
    
    .specialist-profile {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .profile-image {
        width: 150px;
        height: 150px;
    }
    
    .specialist-info h3 {
        font-size: 1.8rem;
    }
    
    .specialist-title {
        font-size: 1.1rem;
    }
    
    .specialist-info .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        margin-top: 20px;
    }
    
    .specialist-info .stat-card {
        padding: 15px 10px;
    }
    
    .specialist-info .stat-number {
        font-size: 1.8rem;
    }
    
    .specialist-info .stat-label {
        font-size: 0.8rem;
    }
}

@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
    
    .logo-img {
        max-width: 180px;
    }
    
    .hero-banner {
        min-height: 600px;
    }
    
    .clean-logo-img {
        max-width: 400px;
    }
    
    .hero-message {
        font-size: clamp(1.4rem, 5vw, 2.5rem);
    }
    
    .hero-icons {
        grid-template-columns: repeat(4, 1fr);
        max-width: 600px;
    }
    
    .contact-buttons {
        max-width: 600px;
        padding: 0 40px;
    }
    
    .contact-btn {
        padding: 15px 12px;
    }
    
    .contact-icon {
        width: 28px;
        height: 28px;
    }
    
    .contact-btn span {
        font-size: 0.9rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .additional-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .specialist-profile {
        flex-direction: row;
        text-align: right;
        gap: 40px;
    }
    
    .profile-image {
        width: 200px;
        height: 200px;
    }
    
    .specialist-info .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .hero-banner {
        min-height: 700px;
    }
    
   
    
    .hero-message {
        font-size: clamp(1.6rem, 6vw, 3rem);
    }
    
    .hero-icons {
        grid-template-columns: repeat(4, 1fr);
        max-width: 800px;
    }
    
    .contact-buttons {
        max-width: 800px;
        padding: 0 60px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .additional-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}

/* Animations */
html {
    scroll-behavior: smooth;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(50px);
    }
    50% {
        opacity: 1;
        transform: scale(1.05) translateY(-10px);
    }
    70% {
        transform: scale(0.95) translateY(5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes subtleZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

@keyframes pulseBorder {
    0%, 100% {
        border-top-color: var(--secondary-color);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }
    50% {
        border-top-color: var(--secondary-light);
        box-shadow: 0 -4px 20px rgba(30, 24, 98, 0.3);
    }
}

/* Page Load Animation */
.hero-overlay {
    animation: fadeInScale 1.2s ease-out;
}

.service-card {
    transition: all 0.3s ease;
}



/* Scroll-based animations */
.main-content {
    animation: slideInUp 0.8s ease-out 0.5s both;
}

.bottom-contact-bar {
    animation: slideInUp 0.6s ease-out 1.5s both, pulseBorder 3s ease-in-out 3s infinite;
}

/* Floating Contact Buttons (Desktop only) */
.floating-contact-buttons {
    display: none;
}

@media (min-width: 1024px) {
    .floating-contact-buttons {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 50%;
        right: 32px;
        transform: translateY(-50%);
        z-index: 1200;
        gap: 18px;
    }
    .floating-btn {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: var(--icon-bg-color);
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 16px rgba(30,24,98,0.18);
        color: #fff;
        font-size: 1.5rem;
        transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
        border: 2px solid white;
        cursor: pointer;
        text-decoration: none;
    }
    .floating-btn:hover {
        background: var(--primary-dark);
        box-shadow: 0 8px 25px rgba(61, 170, 175, 0.4);
        transform: translateY(-2px) scale(1.07);
    }
    

    .floating-btn .contact-icon {
        width: 28px;
        height: 28px;
        fill: white;
        stroke: black;
        stroke-width: 1.5;
    }
    .bottom-contact-bar {
        display: none !important;
    }
}

@media (max-width: 1023px) {
    .floating-contact-buttons {
        display: none !important;
    }
    .bottom-contact-bar {
        display: block;
    }
}

/* Accessibility */
.contact-btn:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.menu-icon:focus {
    outline: 3px solid rgba(61, 170, 175, 0.5);
    outline-offset: 2px;
}

.icon-circle:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .bottom-contact-bar {
        position: relative;
        background: var(--white) !important;
        border-top: 2px solid var(--text-primary) !important;
    }
    
    .hero-overlay {
        background: var(--white) !important;
        color: var(--text-primary) !important;
    }
    
    .contact-btn {
        color: var(--text-primary) !important;
    }
    
    .contact-icon {
        color: var(--text-primary) !important;
    }
} 

/* Slide up animation for additional-item */
 

/* Footer Styles */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 32px 0;
    margin-top: 0;
    position: relative;
    overflow: hidden;
    z-index: 1001;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        var(--secondary-color) 0%, 
        var(--secondary-light) 50%, 
        var(--secondary-color) 100%);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright p,
.powered-by p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.powered-by a {
    color: var(--white) !important;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.powered-by a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-light);
    transition: width 0.3s ease;
}

.powered-by a:hover {
    color: var(--white) !important;
    transform: translateY(-1px);
}

.powered-by a:hover::after {
    width: 100%;
}

/* Footer responsive */
@media (max-width: 768px) {
    .footer {
        padding: 24px 0;
        margin-top: 0;
        margin-bottom: 90px; /* Space for bottom contact bar on mobile only */
        position: relative;
        z-index: 10;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .copyright p,
    .powered-by p {
        font-size: 0.85rem;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .footer {
        padding: 20px 0;
    }
    
    .footer-content {
        padding: 0 15px;
        gap: 10px;
    }
    
    .copyright p,
    .powered-by p {
        font-size: 0.8rem;
    }
}







