/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --header-height: 80px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    padding-top: var(--header-height);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    color: #2c5aa0;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.nav-brand p {
    color: #666;
    font-size: 12px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 18px;
    flex-wrap: nowrap;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
    font-size: 14px;
}

.nav-link:hover,
.nav-link.active {
    color: #2c5aa0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #2c5aa0;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.book-now-btn {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    animation: pulse-book-now 2s infinite;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.book-now-btn::after {
    display: none;
}

@keyframes pulse-book-now {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Careers Menu Highlighting */
.careers-highlight {
    position: relative;
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    animation: careers-glow 3s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
}

.careers-highlight::after {
    display: none;
}

.careers-highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(40, 167, 69, 0.5);
    background: linear-gradient(45deg, #20c997, #28a745);
}

.careers-highlight i {
    margin-right: 6px;
    animation: briefcase-shake 2s ease-in-out infinite;
}

@keyframes careers-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(40, 167, 69, 0.3);
        background: linear-gradient(45deg, #28a745, #20c997);
    }
    50% {
        box-shadow: 0 0 30px rgba(40, 167, 69, 0.6);
        background: linear-gradient(45deg, #20c997, #17a2b8);
    }
}

@keyframes briefcase-shake {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    75% {
        transform: rotate(5deg);
    }
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: backgroundMove 20s ease-in-out infinite;
}

@keyframes backgroundMove {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(-20px) translateY(-10px);
    }
    50% {
        transform: translateX(-10px) translateY(-20px);
    }
    75% {
        transform: translateX(-30px) translateY(-5px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.animated-text {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    animation: slideInUp 1s ease-out;
}

.animated-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: slideInUp 1s ease-out 0.3s both;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    animation: slideInUp 1s ease-out 0.6s both;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-item i {
    font-size: 1.5rem;
    color: #ffd700;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: slideInUp 1s ease-out 0.9s both;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-btn.primary {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.animated-book-now {
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    }
    50% {
        box-shadow: 0 8px 35px rgba(255, 107, 107, 0.6);
    }
}

/* Floating Medical Icons */
.hero-image {
    position: relative;
    height: 400px;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.medical-icon {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ffd700;
    animation: float 6s ease-in-out infinite;
}

.medical-icon:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.medical-icon:nth-child(2) {
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.medical-icon:nth-child(3) {
    bottom: 20%;
    left: 40%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

/* Floating Book Now Button */
.floating-book-now {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.floating-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    animation: float-button 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.6);
}

@keyframes float-button {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 15px;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

/* About Section */
.about-section {
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
}

.director-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.director-card:hover {
    transform: translateY(-10px);
}

.director-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid #2c5aa0;
}

.director-info h3 {
    color: #2c5aa0;
    margin-bottom: 10px;
}

.director-credentials {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
}

.director-credentials span {
    background: #e3f2fd;
    color: #1976d2;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9rem;
}

.director-message {
    font-style: italic;
    color: #666;
    line-height: 1.5;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-item i {
    color: #2c5aa0;
    font-size: 1.5rem;
    margin-top: 5px;
}

.feature-item h4 {
    color: #333;
    margin-bottom: 8px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item i {
    color: #2c5aa0;
    width: 20px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    transition: left 0.3s ease;
}

.service-card:hover::before {
    left: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.service-card h3 {
    color: #2c5aa0;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-price {
    font-weight: bold;
    color: #ff6b6b;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.service-book-btn {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 25px;
    transition: all 0.3s ease;
    animation: pulse-book-now 2s infinite;
}

.service-book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
}

/* Reviews Section */
.reviews-section {
    background: #f8f9fa;
}

.reviews-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    animation: scrollReviews 15s linear infinite;
}

@keyframes scrollReviews {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100px);
    }
}

.review-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.reviewer-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-info h4 {
    color: #333;
    margin-bottom: 5px;
}

.rating {
    color: #ffd700;
}

.review-card p {
    color: #666;
    font-style: italic;
    line-height: 1.6;
}

/* Why Choose Us */
.why-choose-us {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.why-choose-us .section-header h2 {
    color: white;
}

.why-choose-us .section-header h2::after {
    background: #ffd700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.feature-card i {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    opacity: 0.9;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #2c5aa0;
    margin-bottom: 20px;
}

.footer-section h4 {
    margin-bottom: 15px;
    color: #ccc;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #2c5aa0;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.social-link.facebook:hover {
    background: #1877f2;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.contact-details p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-details i {
    color: #2c5aa0;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #ccc;
}

.footer-bottom a {
    color: #2c5aa0;
    text-decoration: none;
}

/* Navigation responsive breakpoint adjustment */
@media (max-width: 1100px) {
    .nav-menu {
        gap: 12px;
    }
    
    .nav-link {
        font-size: 13px;
    }
    
    .book-now-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .careers-highlight {
        padding: 6px 12px;
        font-size: 13px;
    }
}

@media (max-width: 950px) {
    .nav-menu {
        gap: 8px;
    }
    
    .nav-link {
        font-size: 12px;
    }
    
    .book-now-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .careers-highlight {
        padding: 5px 10px;
        font-size: 12px;
    }
}

/* Responsive Design */
@media (max-width: 850px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .animated-text {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .floating-book-now {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-btn span {
        display: none;
    }
    
    .floating-btn {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .animated-text {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Technology section responsive */
    .tech-item {
        min-width: 200px;
        padding: 15px;
    }
    
    .tech-image {
        height: 100px;
    }
    
    .tech-item h4 {
        font-size: 1rem;
    }
    
    .tech-description-panel {
        padding: 20px;
        margin-top: 20px;
    }
    
    #description-title {
        font-size: 1.3rem;
    }
    
    #description-text {
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .floating-book-now,
    .hero {
        display: none;
    }
    
    body {
        color: black;
        background: white;
    }
}

/* Advanced Medical Technologies Section */
.technologies-section {
    background: #f8f9fa;
    /* allow description panel to render beyond internal scrollers if needed */
    overflow: visible;
    position: relative; /* create a stacking context */
    margin-bottom: 20px; /* provide breathing room above the external panel */
}

/* Wrapper for the description panel placed below the scrolling bar */
.technologies-description-wrapper {
    background: #f8f9fa;
    padding-top: 0;
    padding-bottom: 60px;
}

.tech-instruction {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 12px 20px;
    background: linear-gradient(45deg, #2c5aa0, #667eea);
    color: white;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    animation: pulse-instruction 3s ease-in-out infinite;
}

.tech-instruction i {
    font-size: 1.1rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes pulse-instruction {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
    }
    50% {
        box-shadow: 0 8px 25px rgba(44, 90, 160, 0.5);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-4px);
    }
    60% {
        transform: translateY(-2px);
    }
}

.tech-scroll-container {
    margin: 40px 0;
    overflow: hidden;
    position: relative;
    z-index: 1; /* below description panel */
}

.tech-scroll-row {
    display: flex;
    gap: 30px;
    animation-duration: 60s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    width: max-content;
    position: relative;
    z-index: 1; /* ensure it doesn't overlay the panel */
}

.scroll-left-to-right {
    animation-name: scrollLeftToRight;
}

.scroll-right-to-left {
    animation-name: scrollInfinite;
}

@keyframes scrollLeftToRight {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100vw);
    }
}

@keyframes scrollRightToLeft {
    0% {
        transform: translateX(100vw);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Seamless infinite scroll for duplicated content */
@keyframes scrollInfinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.tech-item {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 250px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    transition: left 0.3s ease;
}

.tech-item:hover::before {
    left: 0;
}

.tech-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    z-index: 10;
    border-color: #2c5aa0;
}

.tech-item:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 20px rgba(44, 90, 160, 0.3);
}

.tech-image {
    width: 100%;
    height: 120px;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.tech-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tech-item:hover .tech-image img {
    transform: scale(1.1);
}

.tech-item h4 {
    color: #2c5aa0;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.3;
    font-weight: 600;
}

.tech-item h4::after {
    content: ' 💡';
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 0.9rem;
}

.tech-item:hover h4::after {
    opacity: 1;
}

.tech-item::after {
    content: 'Click to learn more';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(44, 90, 160, 0.9);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    z-index: 5;
}

.tech-item:hover::after {
    opacity: 1;
    bottom: -25px;
}

.tech-item:active {
    transform: translateY(-8px) scale(1.02);
    transition: all 0.1s ease;
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pause animation on hover */
.tech-scroll-container:hover .tech-scroll-row {
    animation-play-state: paused;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .tech-scroll-row {
        animation: none !important;
    }
}

/* Blog Styles */
.blog-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.blog-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.blog-header p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb span {
    opacity: 0.6;
}

.blog-main {
    padding: 80px 0;
    background: #f8f9fa;
}

.blog-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.blog-post {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.featured-post {
    border: 3px solid #ff6b6b;
    position: relative;
}

.featured-post::before {
    content: '🌟 Featured Article';
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff6b6b;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
}

.post-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post:hover .post-image img {
    transform: scale(1.05);
}

.post-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(44, 90, 160, 0.9);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.post-content {
    padding: 30px;
}

.post-content h2,
.post-content h3 {
    margin-bottom: 15px;
    line-height: 1.3;
}

.post-content h2 {
    font-size: 1.8rem;
}

.post-content h3 {
    font-size: 1.5rem;
}

.post-content h2 a,
.post-content h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-content h2 a:hover,
.post-content h3 a:hover {
    color: #2c5aa0;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-meta i {
    color: #2c5aa0;
}

.post-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #2c5aa0, #667eea);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.read-more-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 15px;
    background: white;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.page-link:hover,
.page-link.active {
    background: #2c5aa0;
    color: white;
    border-color: #2c5aa0;
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.sidebar-widget h3 {
    color: #2c5aa0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-form {
    position: relative;
}

.search-form input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.search-form input:focus {
    outline: none;
    border-color: #2c5aa0;
}

.search-form::after {
    content: '\f002';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.categories-list {
    list-style: none;
}

.categories-list li {
    margin-bottom: 10px;
}

.categories-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #333;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.categories-list a:hover {
    background: #f0f0f0;
    color: #2c5aa0;
}

.category-count {
    background: #e3f2fd;
    color: #1976d2;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.recent-posts {
    list-style: none;
}

.recent-post-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.recent-post-item:last-child {
    border-bottom: none;
}

.recent-post-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-info h4 {
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 5px;
}

.recent-post-info h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-post-info h4 a:hover {
    color: #2c5aa0;
}

.recent-post-date {
    font-size: 0.8rem;
    color: #999;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-block;
    background: #f0f0f0;
    color: #333;
    padding: 5px 12px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #2c5aa0;
    color: white;
}

/* Newsletter Signup */
.newsletter-signup {
    background: linear-gradient(45deg, #2c5aa0, #667eea);
    color: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
}

/* Hospital Widget */
.hospital-widget {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    text-align: center;
}

.hospital-widget h3 {
    color: white;
    margin-bottom: 15px;
}

.hospital-widget p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.hospital-contact {
    margin: 20px 0;
}

.hospital-contact p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
    font-weight: 500;
}

.appointment-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ff6b6b;
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 600;
    margin-top: 15px;
}

.appointment-btn:hover {
    background: #ee5a24;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

/* Meet Our Doctors Section Styles */
.doctors-section {
    background: white;
    position: relative;
    overflow: hidden;
}

.doctors-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(45deg, transparent 45%, rgba(44, 90, 160, 0.05) 50%, transparent 55%);
    z-index: 1;
}

.doctors-section .container {
    position: relative;
    z-index: 2;
}

.doctors-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Group image placeholder styling */
.doctors-image {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #dee2e6;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.doctors-image:hover {
    border-color: #2c5aa0;
    background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(44, 90, 160, 0.1);
}

.doctors-image-inner {
    text-align: center;
    padding: 40px;
    color: #666;
}

.doctors-image-inner i {
    font-size: 4rem;
    color: #2c5aa0;
    margin-bottom: 20px;
    opacity: 0.7;
}

.doctors-image-inner h3 {
    color: #2c5aa0;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.doctors-image-inner p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.img-path {
    font-family: monospace;
    background: rgba(44, 90, 160, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem !important;
    color: #2c5aa0 !important;
    margin-top: 15px !important;
}

/* Doctors list styling */
.doctors-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.doctor-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.doctor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    transition: left 0.3s ease;
}

.doctor-card:hover::before {
    left: 0;
}

.doctor-card:hover {
    transform: translateY(-8px) translateX(5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #2c5aa0;
    background: white;
}

.doctor-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.doctor-card:hover .doctor-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.5);
}

.doctor-card h3 {
    color: #2c5aa0;
    margin-bottom: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.doctor-card:hover h3 {
    color: #1a4480;
}

.doctor-role {
    color: #28a745;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.doctor-qual {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive design for doctors section */
@media (max-width: 968px) {
    .doctors-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .doctors-image {
        min-height: 300px;
        order: -1;
    }
}

@media (max-width: 768px) {
    .doctors-wrapper {
        gap: 30px;
    }
    
    .doctor-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }
    
    .doctor-icon {
        align-self: center;
    }
    
    .doctors-image {
        min-height: 250px;
    }
    
    .doctors-image-inner {
        padding: 30px 20px;
    }
    
    .doctors-image-inner i {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .doctors-list {
        gap: 20px;
    }
    
    .doctor-card {
        padding: 18px;
    }
    
    .doctor-icon {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
    
    .doctor-card h3 {
        font-size: 1.15rem;
    }
    
    .doctors-image {
        min-height: 200px;
    }
    
    .doctors-image-inner {
        padding: 20px 15px;
    }
    
    .doctors-image-inner i {
        font-size: 2.5rem;
    }
    
    .doctors-image-inner h3 {
        font-size: 1.1rem;
    }
}

/* Insurance Section Styles */
.insurance-section {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8ff 100%);
    position: relative;
    overflow: hidden;
}

.insurance-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="insurance-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="rgba(40,167,69,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23insurance-pattern)"/></svg>');
    opacity: 0.5;
    z-index: 1;
}

.insurance-section .container {
    position: relative;
    z-index: 2;
}

.insurance-info {
    margin-bottom: 50px;
}

.insurance-benefits {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 15px 25px;
    border-radius: 25px;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.15);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(40, 167, 69, 0.25);
    border-color: #28a745;
}

.benefit-item i {
    color: #28a745;
    font-size: 1.2rem;
}

.benefit-item span {
    color: #2c5aa0;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Auto-scrolling insurance logos */
.insurance-scroll-container {
    margin: 40px 0;
    overflow: hidden;
    position: relative;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px 0;
}

.insurance-scroll-container::before,
.insurance-scroll-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.insurance-scroll-container::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.insurance-scroll-container::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.insurance-scroll-track {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: scrollInsurance 60s linear infinite;
    width: max-content;
}

@keyframes scrollInsurance {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.insurance-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
    padding: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.insurance-logo:hover {
    transform: translateY(-5px) scale(1.05);
}

.insurance-logo img {
    width: 80px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 10px;
    filter: grayscale(20%) brightness(1.1);
    transition: all 0.3s ease;
}

.insurance-logo:hover img {
    filter: grayscale(0%) brightness(1.2);
    transform: scale(1.1);
}

.insurance-logo span {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.insurance-logo:hover span {
    color: #2c5aa0;
    font-weight: 600;
}

/* Pause animation on hover */
.insurance-scroll-container:hover .insurance-scroll-track {
    animation-play-state: paused;
}

.insurance-contact {
    text-align: center;
    background: linear-gradient(45deg, #2c5aa0, #667eea);
    color: white;
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(44, 90, 160, 0.3);
}

.insurance-contact p {
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.insurance-contact i {
    color: #ffd700;
    font-size: 1.2rem;
}

.insurance-contact strong {
    color: #ffd700;
    font-weight: 700;
}

/* Responsive design for insurance section */
@media (max-width: 768px) {
    .insurance-benefits {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .benefit-item {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .insurance-scroll-track {
        gap: 25px;
    }
    
    .insurance-logo {
        min-width: 100px;
        padding: 10px;
    }
    
    .insurance-logo img {
        width: 60px;
        height: 40px;
    }
    
    .insurance-contact {
        padding: 15px 20px;
    }
    
    .insurance-contact p {
        font-size: 1rem;
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .insurance-benefits {
        gap: 10px;
    }
    
    .benefit-item {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    .insurance-scroll-track {
        gap: 20px;
    }
    
    .insurance-logo {
        min-width: 80px;
        padding: 8px;
    }
    
    .insurance-logo img {
        width: 50px;
        height: 35px;
    }
    
    .insurance-logo span {
        font-size: 0.75rem;
    }
    
    .insurance-contact {
        padding: 12px 15px;
    }
    
    .insurance-contact p {
        font-size: 0.9rem;
    }
}

/* Network Section Styles */
.network-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.network-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(44, 90, 160, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.network-section .container {
    position: relative;
    z-index: 2;
}

.network-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.network-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.network-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    transition: left 0.3s ease;
    z-index: 3;
}

.network-card:hover::before {
    left: 0;
}

.network-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: #2c5aa0;
}

.network-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.network-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.network-card:hover .network-image img {
    transform: scale(1.1);
}

.network-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
}

.network-badge {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(40, 167, 69, 0.5);
    }
}

.network-info {
    padding: 30px;
    position: relative;
}

.location-icon {
    position: absolute;
    top: -25px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    border: 4px solid white;
}

.network-info h3 {
    color: #2c5aa0;
    margin: 20px 0 10px;
    font-size: 1.4rem;
    font-weight: 700;
}

.network-address {
    color: #666;
    font-size: 1rem;
    margin-bottom: 20px;
    font-style: italic;
}

.network-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #e3f2fd;
    color: #1976d2;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: #1976d2;
    color: white;
    transform: translateY(-2px);
}

.feature-tag i {
    font-size: 0.9rem;
}

.network-contact {
    margin-bottom: 25px;
    border-top: 1px solid #e9ecef;
    padding-top: 20px;
}

.network-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: #666;
    font-size: 0.95rem;
}

.network-contact i {
    color: #2c5aa0;
    width: 16px;
}

.network-btn {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    animation: pulse-network-btn 3s ease-in-out infinite;
}

.network-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5);
    background: linear-gradient(45deg, #ee5a24, #ff6b6b);
}

@keyframes pulse-network-btn {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    }
    50% {
        box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5);
    }
}

/* Network Stats */
.network-stats {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    text-align: center;
    position: relative;
    padding: 20px;
    border-radius: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    background: white;
    color: #667eea;
    transform: scale(1.1);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.stat-card:hover .stat-number {
    color: white;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.stat-card:hover .stat-label {
    color: rgba(255, 255, 255, 0.9);
}

/* Network Section Responsive Design */
@media (max-width: 768px) {
    .network-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .network-card {
        margin: 0 10px;
    }
    
    .network-features {
        flex-direction: column;
        gap: 8px;
    }
    
    .feature-tag {
        justify-content: center;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .network-stats {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .network-grid {
        margin-bottom: 40px;
    }
    
    .network-info {
        padding: 20px;
    }
    
    .location-icon {
        width: 40px;
        height: 40px;
        top: -20px;
        left: 20px;
        font-size: 1rem;
    }
    
    .network-info h3 {
        font-size: 1.2rem;
        margin: 15px 0 8px;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

.newsletter-signup h3 {
    color: white;
    margin-bottom: 15px;
}

.newsletter-signup p {
    margin-bottom: 20px;
    opacity: 0.9;
    font-size: 0.9rem;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form button {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.newsletter-form button:hover {
    background: #ee5a24;
    transform: translateY(-2px);
}

/* Blog Responsive Design */
@media (max-width: 992px) {
    .blog-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .blog-sidebar {
        position: static;
        top: auto;
    }
    
    .post-meta {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 2.5rem;
    }
    
    .blog-header p {
        font-size: 1.1rem;
    }
    
    .post-content {
        padding: 20px;
    }
    
    .post-content h2 {
        font-size: 1.5rem;
    }
    
    .post-content h3 {
        font-size: 1.3rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .post-meta span {
        font-size: 0.8rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .page-link {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .blog-header h1 {
        font-size: 2rem;
    }
    
    .blog-main {
        padding: 40px 0;
    }
    
    .recent-post-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .recent-post-thumb {
        width: 100%;
        height: 120px;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .hero {
        background: #000080;
    }
    
    .cta-btn.primary {
        background: #ff0000;
    }
    
    .feature-card {
        background: rgba(255, 255, 255, 0.9);
        color: #000;
    }
}
