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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #6C757D;
    background-color: #F5F5F5;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    color: #2C3E50;
}

h3 {
    font-size: 1.5rem;
    color: #6C757D;
}

p {
    margin-bottom: 1rem;
    color: #6C757D;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #007BFF, #0056b3);
    color: white;
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.btn-primary:disabled:hover {
    transform: none !important;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3) !important;
}

.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;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056b3, #003d82);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #007BFF;
    border: 2px solid #007BFF;
}

.btn-secondary:hover {
    background-color: #007BFF;
    color: white;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(156, 39, 176, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(156, 39, 176, 0.4);
    border-bottom: 1px solid rgba(156, 39, 176, 0.3);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(156, 39, 176, 0.98) !important;
    box-shadow: 0 2px 20px rgba(156, 39, 176, 0.4) !important;
}

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

.nav-logo h2 {
    color: white;
    font-size: 1.8rem;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #B2EBF2;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #B2EBF2;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #F5F5F5 0%, #E6E6FA 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Animated background elements */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(156, 39, 176, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 123, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(76, 175, 80, 0.1) 0%, transparent 50%);
    animation: backgroundFloat 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes backgroundFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

.hero-container {
    width: 100%;
    margin: 0;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: none;
}

.hero-content {
    animation: fadeInUp 1s ease;
    position: relative;
    z-index: 2;
}

.hero-title {
    animation: slideInLeft 1.2s ease-out;
}

.hero-subtitle {
    animation: slideInLeft 1.4s ease-out;
}

.hero-description {
    animation: slideInLeft 1.6s ease-out;
}

.hero-features {
    animation: slideInLeft 1.8s ease-out;
}

.hero-buttons {
    animation: slideInLeft 2s ease-out;
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    color: #2C3E50;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #007BFF;
    margin-bottom: 1rem;
    font-weight: 800;
}

.hero-description {
    font-size: 1.2rem;
    color: #6C757D;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #2C3E50;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: fadeInUp 2.2s ease-out;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.feature-item i {
    font-size: 1.2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease;
}

.hero-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #007BFF, #9C27B0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.3);
}

.hero-placeholder i {
    font-size: 6rem;
    color: white;
}

/* Hero Carousel */
.hero-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1.5s ease;
    position: relative;
    z-index: 2;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 700px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    animation: float 6s ease-in-out infinite;
}

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

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    pointer-events: none;
}


.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #007BFF;
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.4rem;
    color: #6C757D;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 600;
}

.about .section-header h2 {
    font-size: 3.2rem;
    font-weight: 800;
}


/* About Section */
.about {
    padding: 80px 0;
    background-image: url('./Carousel/5.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.about::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(156, 39, 176, 0.1), rgba(0, 123, 255, 0.1));
    animation: shimmer 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.about .container {
    position: relative;
    z-index: 2;
}

/* Achievements within About Section */
.achievements-in-about {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
}

.achievements-in-about .section-header {
    margin-bottom: 3rem;
}

.achievements-in-about .section-header h2 {
    color: #2C3E50;
    font-weight: 800;
    text-shadow: none;
}

.achievements-in-about .section-header p {
    color: #6C757D;
    font-weight: 600;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h3 {
    color: #2C3E50 !important;
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-size: 2.2rem;
    font-weight: 800;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    font-weight: 700;
    color: #2C3E50;
}

.qualifications {
    list-style: none;
    margin: 1rem 0;
}

.qualifications li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #2C3E50;
    font-size: 1.1rem;
    font-weight: 700;
}

.qualifications i {
    color: #007BFF;
    margin-right: 1rem;
    width: 20px;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background-color: #F5F5F5;
    border-radius: 12px;
    border: 4px solid #007BFF;
    transition: all 0.3s ease;
    cursor: pointer;
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.95);
    border: 4px solid #0056b3;
}

.stat-item h3 {
    font-size: 3rem;
    color: #007BFF;
    margin-bottom: 0.5rem;
    font-weight: 800;
    transition: all 0.3s ease;
}

.stat-item:hover h3 {
    color: #0056b3;
    transform: scale(1.1);
}

.stat-item p {
    color: #2C3E50;
    font-weight: 700;
    margin: 0;
    transition: all 0.3s ease;
}

.stat-item:hover p {
    color: #1a252f;
    transform: translateY(-2px);
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #E6E6FA;
}

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

.service-card {
    background-color: #F5F5F5;
    padding: 2.5rem;
    border-radius: 12px;
    border: 4px solid #007BFF;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #0056b3;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007BFF, #009688);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    color: white;
    margin-bottom: 1rem;
    background-color: #007BFF;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.service-card p {
    color: #6C757D;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.service-image {
    width: 100%;
    height: 200px;
    margin: 1.5rem 0;
    border-radius: 8px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

.service-card:hover h3 {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.learn-more-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: auto;
    transition: all 0.3s ease;
    width: 100%;
}

.learn-more-btn:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: #F5F5F5;
    margin: 5% auto;
    padding: 0;
    border: 4px solid #007BFF;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background-color: #007BFF;
    color: white;
    padding: 1.5rem;
    border-radius: 8px 8px 0 0;
    position: relative;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.close {
    color: white;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    transition: color 0.3s ease;
}

.close:hover {
    color: #B2EBF2;
}

.modal-body {
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.modal-image {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.modal-text h3 {
    color: #2C3E50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.modal-text p {
    color: #6C757D;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.modal-features ul {
    list-style: none;
    padding: 0;
}

.modal-features li {
    color: #6C757D;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.modal-features li::before {
    content: "✓";
    color: #007BFF;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.modal-footer {
    padding: 1.5rem;
    text-align: center;
    border-top: 1px solid #E6E6FA;
    background-color: rgba(255, 255, 255, 0.5);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .modal-image {
        height: 200px;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: #F5F5F5;
}

.testimonials-container {
    overflow: hidden;
    position: relative;
    margin-top: 3rem;
}

.testimonials-scroll {
    display: flex;
    gap: 2rem;
    animation: scroll 30s linear infinite;
    width: calc(400px * 10); /* 5 cards * 2 for seamless loop */
}

.testimonial-card {
    background-color: #F5F5F5;
    padding: 2rem;
    border-radius: 12px;
    border: 3px solid #007BFF;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 350px;
    flex-shrink: 0;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.3);
}

.testimonial-author {
    margin-bottom: 1.5rem;
    text-align: center;
}

.testimonial-author h4 {
    color: #2C3E50;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 0.2rem;
    margin-bottom: 1rem;
}

.star {
    color: #FFD700;
    font-size: 1.2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.testimonial-content p {
    color: #6C757D;
    font-style: italic;
    line-height: 1.6;
    text-align: center;
    position: relative;
}


@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-400px * 5)); /* Move by 5 card widths */
    }
}

.achievements-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.achievement-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 12px;
    border: 4px solid #9C27B0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(10px);
}

.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #7B1FA2;
}

.achievement-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #9C27B0, #F8BBD0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.achievement-icon i {
    font-size: 1.5rem;
    color: white;
}

.achievement-details h3 {
    color: #2C3E50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.achievement-details p {
    color: #6C757D;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #E6E6FA 0%, #F0F8FF 50%, #E6E6FA 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Animated background elements for contact section */
.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 123, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(156, 39, 176, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(76, 175, 80, 0.1) 0%, transparent 50%);
    animation: contactBackgroundFloat 15s ease-in-out infinite;
    z-index: 1;
}

.contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(0, 123, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, rgba(156, 39, 176, 0.1) 1.5px, transparent 1.5px),
        radial-gradient(circle at 10% 90%, rgba(76, 175, 80, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 90% 10%, rgba(255, 193, 7, 0.1) 1px, transparent 1px);
    background-size: 50px 50px, 30px 30px, 40px 40px, 35px 35px, 45px 45px;
    animation: contactParticles 20s linear infinite;
    z-index: 1;
}

@keyframes contactBackgroundFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.7;
    }
    33% { 
        transform: translateY(-15px) rotate(1deg); 
        opacity: 0.9;
    }
    66% { 
        transform: translateY(10px) rotate(-1deg); 
        opacity: 0.8;
    }
}

@keyframes contactParticles {
    0% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(-10px) translateY(-5px); }
    50% { transform: translateX(5px) translateY(-10px); }
    75% { transform: translateX(-5px) translateY(5px); }
    100% { transform: translateX(0) translateY(0); }
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid rgba(0, 123, 255, 0.1);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    animation: contactItemSlideIn 0.8s ease-out;
    opacity: 0;
    transform: translateX(-30px);
}

.contact-item:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(2) { animation-delay: 0.2s; }
.contact-item:nth-child(3) { animation-delay: 0.3s; }
.contact-item:nth-child(4) { animation-delay: 0.4s; }
.contact-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes contactItemSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.2);
    border-color: rgba(0, 123, 255, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #007BFF, #009688);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
    animation: contactIconPulse 3s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.contact-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #007BFF, #009688);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.contact-item:hover .contact-icon::before {
    opacity: 0.3;
    animation: contactIconRipple 1s ease-out;
}

.contact-icon i {
    color: white;
    font-size: 1.4rem;
    transition: transform 0.3s ease;
    z-index: 1;
}

.contact-item:hover .contact-icon i {
    transform: scale(1.1) rotate(5deg);
}

@keyframes contactIconPulse {
    0%, 100% { 
        box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
        transform: scale(1.05);
    }
}

@keyframes contactIconRipple {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.contact-details h3 {
    color: #2C3E50;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #6C757D;
    margin: 0;
    line-height: 1.5;
}

.contact-details a {
    color: #007BFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* WhatsApp Contact Item Styling */
.whatsapp-contact {
    cursor: pointer;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1), rgba(18, 140, 126, 0.1)) !important;
    border: 2px solid rgba(37, 211, 102, 0.2) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-contact:hover {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.15), rgba(18, 140, 126, 0.15)) !important;
    border-color: rgba(37, 211, 102, 0.4) !important;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.2);
}

.whatsapp-icon {
    background: linear-gradient(135deg, #25D366, #128C7E) !important;
    animation: whatsappIconPulse 2s ease-in-out infinite;
}

.whatsapp-icon i {
    color: white;
    font-size: 1.4rem;
}

.whatsapp-contact:hover .whatsapp-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-subtitle {
    font-size: 0.9rem;
    color: #25D366;
    font-weight: 600;
    margin-top: 0.5rem;
    font-style: italic;
}

.whatsapp-contact .contact-details a {
    color: #25D366;
    font-weight: 600;
}

.whatsapp-contact .contact-details a:hover {
    color: #128C7E;
    text-decoration: none;
}

@keyframes whatsappIconPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
        transform: scale(1.05);
    }
}

/* Enhanced contact section header */
.contact .section-header {
    position: relative;
    z-index: 2;
    margin-bottom: 5rem;
}

.contact .section-header h2 {
    background: linear-gradient(135deg, #007BFF, #9C27B0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
    animation: contactTitleGlow 3s ease-in-out infinite alternate;
}

.contact .section-header p {
    font-size: 1.3rem;
    color: #6C757D;
    font-weight: 600;
    margin-top: 1rem;
    position: relative;
}

.contact .section-header p::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #007BFF, #9C27B0);
    border-radius: 2px;
    animation: contactUnderline 2s ease-in-out infinite;
}

@keyframes contactTitleGlow {
    0% {
        text-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
    }
    100% {
        text-shadow: 0 4px 8px rgba(0, 123, 255, 0.4), 0 0 20px rgba(156, 39, 176, 0.2);
    }
}

@keyframes contactUnderline {
    0%, 100% {
        width: 80px;
        opacity: 0.7;
    }
    50% {
        width: 120px;
        opacity: 1;
    }
}

/* Floating decorative elements for contact section */
.contact .floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.contact .floating-elements::before {
    content: '🏥';
    position: absolute;
    top: 10%;
    left: 5%;
    font-size: 2rem;
    opacity: 0.1;
    animation: floatElement1 8s ease-in-out infinite;
}

.contact .floating-elements::after {
    content: '💊';
    position: absolute;
    top: 20%;
    right: 8%;
    font-size: 1.5rem;
    opacity: 0.1;
    animation: floatElement2 10s ease-in-out infinite;
}

@keyframes floatElement1 {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

@keyframes floatElement2 {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(-10deg);
    }
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    animation: slideInRight 0.3s ease;
}

.notification-content {
    background-color: #F5F5F5;
    border: 2px solid #007BFF;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.notification-success .notification-content {
    border-color: #4CAF50;
    background-color: #f8fff8;
}

.notification-error .notification-content {
    border-color: #f44336;
    background-color: #fff8f8;
}

.notification-message {
    color: #2C3E50;
    font-weight: 500;
    flex: 1;
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6C757D;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.notification-close:hover {
    color: #2C3E50;
}

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

.contact-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.1);
    border: 2px solid rgba(0, 123, 255, 0.1);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: contactFormSlideIn 1s ease-out 0.5s both;
    opacity: 0;
    transform: translateX(30px);
}

@keyframes contactFormSlideIn {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05), rgba(156, 39, 176, 0.05));
    z-index: 1;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 123, 255, 0.15);
    border-color: rgba(0, 123, 255, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(0, 123, 255, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: inherit;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007BFF;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 1);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: rgba(0, 123, 255, 0.4);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Fix button z-index issue in contact form */
.contact-form button {
    position: relative;
    z-index: 10;
}

/* Floating label effect */
.form-group {
    position: relative;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    transition: all 0.3s ease;
    color: #6C757D;
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    transform: translateY(-20px);
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Enhanced form input animations */
.form-group {
    position: relative;
    overflow: hidden;
}

.form-group::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #007BFF, #9C27B0);
    transition: width 0.3s ease;
    z-index: 3;
}

.form-group:focus-within::before {
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007BFF;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1), 0 0 20px rgba(0, 123, 255, 0.1);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 1);
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: #F5F5F5;
    background-image: url('Carousel/4.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(245, 245, 245, 0.3);
    z-index: 1;
}

.faq .container {
    position: relative;
    z-index: 2;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #F5F5F5 0%, #E6E6FA 100%);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(156, 39, 176, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.faq-item:hover::before {
    opacity: 1;
}

.faq-item:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(0, 123, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.2);
    background: linear-gradient(135deg, #F8F9FA 0%, #E3F2FD 100%);
}

.faq-item.active {
    transform: translateY(-3px) scale(1.01);
    border-color: rgba(0, 123, 255, 0.5);
    box-shadow: 0 12px 30px rgba(0, 123, 255, 0.3);
    background: linear-gradient(135deg, #E3F2FD 0%, #F3E5F5 100%);
    animation: faqItemActive 0.4s ease-out;
}

@keyframes faqItemActive {
    0% {
        transform: translateY(0) scale(1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: translateY(-8px) scale(1.03);
        box-shadow: 0 15px 35px rgba(0, 123, 255, 0.4);
    }
    100% {
        transform: translateY(-3px) scale(1.01);
        box-shadow: 0 12px 30px rgba(0, 123, 255, 0.3);
    }
}

.faq-item.active .faq-question {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.15), rgba(156, 39, 176, 0.15));
    border-bottom: 1px solid rgba(0, 123, 255, 0.2);
}

.faq-item.active .faq-question h3 {
    color: #007BFF;
    font-weight: 700;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(240, 248, 255, 0.8));
    backdrop-filter: blur(10px);
}

.faq-question:hover {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(156, 39, 176, 0.1));
    transform: translateX(5px);
}

.faq-question:active {
    transform: translateX(2px) scale(0.98);
}

.faq-question h3 {
    color: #2C3E50;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover h3 {
    color: #007BFF;
    transform: translateX(3px);
}

.faq-question i {
    color: #007BFF;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.2rem;
    background: linear-gradient(135deg, #007BFF, #9C27B0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.faq-question:hover i {
    transform: scale(1.2);
    filter: drop-shadow(0 2px 4px rgba(0, 123, 255, 0.3));
}

.faq-item.active .faq-question i {
    transform: rotate(180deg) scale(1.1);
    animation: faqIconSpin 0.5s ease-in-out;
}

@keyframes faqIconSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(90deg) scale(1.2); }
    100% { transform: rotate(180deg) scale(1.1); }
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 248, 255, 0.9));
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
    border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 123, 255, 0.2);
    animation: faqAnswerSlide 0.5s ease-out;
}

@keyframes faqAnswerSlide {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-answer p {
    color: #6C757D;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.faq-item.active .faq-answer p {
    animation: faqTextFade 0.6s ease-out 0.2s both;
}

@keyframes faqTextFade {
    0% {
        opacity: 0;
        transform: translateX(-10px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Diabetes-Specific Accent Colors */
.diabetes-accent {
    color: #6C757D !important;
}

.about-text h3.diabetes-accent {
    color: #2C3E50 !important;
    font-weight: 800;
}

.qualifications i.diabetes-accent {
    color: #007BFF !important;
}

.sugar-accent {
    color: #F8BBD0 !important;
}

.healthy-accent {
    color: #4CAF50 !important;
}

.insulin-accent {
    background: linear-gradient(135deg, #9C27B0, #F8BBD0) !important;
}

/* Additional Medical Theme Enhancements */
.medical-highlight {
    background: linear-gradient(135deg, #B2EBF2, #E6E6FA);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.trust-accent {
    color: #6C757D !important;
    font-weight: 700;
}

.success-indicator {
    color: #6C757D !important;
    font-weight: 700;
}

/* Enhanced button hover effects with medical theme */
.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.btn-primary {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}

.btn-secondary:hover {
    background-color: #007BFF;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.2);
}

/* Footer */
.footer {
    background-color: rgba(156, 39, 176, 0.98);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 2rem;
    justify-items: center;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: white;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #007BFF;
}

.footer-section p i {
    margin-right: 0.5rem;
    color: #007BFF;
}

.footer-section p a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section p a:hover {
    color: #B2EBF2;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #6C757D;
}

.footer-bottom p {
    color: #bdc3c7;
    margin: 0;
}

/* 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 Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(156, 39, 176, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(156, 39, 176, 0.3);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 20px;
    }
    
    .carousel-container {
        max-width: 650px;
        height: 600px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-features {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .achievements-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-scroll {
        animation-duration: 25s; /* Faster on mobile */
    }
    
    .testimonial-card {
        min-width: 280px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }

    .about-stats {
        flex-direction: column;
    }

    .service-card,
    .contact-form {
        padding: 1.5rem;
    }

    .hero-placeholder {
        width: 200px;
        height: 200px;
    }

    .hero-placeholder i {
        font-size: 4rem;
    }
    
    .carousel-container {
        max-width: 450px;
        height: 400px;
    }
    
}

/* Loading Animation */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #9C27B0, #007BFF);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOut 1s ease-in-out 2s forwards;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-logo {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: pulse 1.5s infinite;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
}

/* Smooth scrolling for anchor links */
html {
    scroll-padding-top: 80px;
}

/* Loading animation for form submission */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007BFF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 35px;
    z-index: 10001;
}

.floating-button {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    margin: 0;
    flex-shrink: 0;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    animation: floatingButtonPulse 3s ease-in-out infinite;
}

.call-btn {
    background: linear-gradient(135deg, #007BFF, #0056b3);
    animation: floatingButtonPulse 3s ease-in-out infinite 1.5s;
}

.floating-button:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E, #25D366);
}

.call-btn:hover {
    background: linear-gradient(135deg, #0056b3, #003d82);
}

.floating-button:active {
    transform: translateY(-1px) scale(1.02);
}

.floating-button-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    z-index: 2;
}

.floating-button-content i {
    font-size: 1.5rem;
    margin-bottom: 2px;
    transition: transform 0.3s ease;
}

/* WhatsApp button - center icon without text */
.whatsapp-btn .floating-button-content i {
    margin-bottom: 0;
    font-size: 1.8rem;
}

.floating-button:hover .floating-button-content i {
    transform: scale(1.2) rotate(10deg);
}

.floating-button-text {
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.floating-button-tooltip {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1001;
}

.floating-button-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.9);
}

.floating-button:hover .floating-button-tooltip {
    opacity: 1;
    visibility: visible;
    right: 85px;
}

/* Floating button ripple effect */
.floating-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.floating-button:active::before {
    width: 100px;
    height: 100px;
}

@keyframes floatingButtonPulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 0 10px rgba(0, 0, 0, 0.1);
    }
}

/* Responsive floating buttons */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 20px;
        right: 20px;
        gap: 30px;
    }
    
    .floating-button {
        width: 60px;
        height: 60px;
    }
    
    .floating-button-content i {
        font-size: 1.3rem;
    }
    
    .whatsapp-btn .floating-button-content i {
        font-size: 1.5rem;
    }
    
    .floating-button-text {
        font-size: 0.6rem;
    }
    
    .floating-button-tooltip {
        display: none; /* Hide tooltip on mobile */
    }
}
