
:root {
    --primary: #003366;
    --secondary: #FFD700;
    --accent: #FF5722;
    --light: #f8f9fa;
    --dark: #343a40;
    --text: #333333;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--primary);
}

img {
    max-width: 100%;
}

/* Header Styles */
header {
    background-color: var(--primary);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    color: white;
    font-size: 1.8rem;
}

.logo span {
    color: var(--secondary);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 1.5rem; /* Standardize the margin between menu items */
}

.nav-menu a {
    color: white;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0; /* Add consistent padding */
    display: inline-block; /* Ensures padding works properly */
}


.nav-menu a:hover {
    color: var(--secondary);
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}



/* Enhanced Hero Section Styles */
.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-icon {
    font-size: 1.5rem;
    margin-right: 0.7rem;
}

.cta-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 1.8rem;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--primary);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-primary:hover {
    background-color: white;
    transform: translateY(-3px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Mobile Responsive Adjustments */
@media screen and (max-width: 768px) {
    .hero {
        padding: 5rem 1rem;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .feature {
        width: 100%;
        max-width: 300px;
    }
      /* Optimize all images for mobile devices */
    img {
        max-width: 100% ; /* Ensure images don't overflow their containers */
        height: auto ; /* Maintain aspect ratio */
        transform: translateZ(0); /* Force hardware acceleration */
      }
      
      /* Optimize hero section images */
      .hero img, .hero-content img {
        max-width: 85% ; /* Slightly smaller on mobile */
        margin: 0 auto; /* Center images */
      }
      
      /* Optimize background images */
      .hero, .section-bg, [style*="background-image"] {
        background-size: cover;
        background-position: center;
      }
      
      /* Reduce image quality for faster rendering on sections that aren't critical */
      .featured-blog img, .blog-image img {
        image-rendering: auto; /* Use browser default, typically optimized for speed */
      }
      
      /* Add loading attribute to images for native lazy loading */
      img:not([loading]) {
        loading: "lazy";
      }
}

/* Enhanced Services Section Styles */
.services {
    padding: 5rem 1rem 0;
    background-color: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title .subtitle {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    left: 25%;
    bottom: -15px;
    width: 50%;
    height: 3px;
    background-color: var(--secondary);
}

.section-description {
    max-width: 700px;
    margin: 1.5rem auto 0;
    font-size: 1.1rem;
    color: #555;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card.premium {
    border-top: 4px solid var(--secondary);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    position: relative;
    text-align: center;
}

.service-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-features {
    list-style: none;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.service-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: #555;
}

.service-features li::before {
    content: '✓';
    color: var(--accent);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Comparison section */
.compare-packages {
    background-color: white;
    padding: 3rem 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin: 0 0 3rem;
}

.compare-packages h3 {
    text-align: center;
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.comparison-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 8px;
    background-color: var(--light);
    transition: transform 0.3s;
}

.comparison-item:hover {
    transform: translateY(-5px);
}

.comparison-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.comparison-item h4 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.comparison-item p {
    color: #555;
    font-size: 0.95rem;
}


.btn-primary {
    background-color: var(--secondary);
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: white;
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media screen and (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .section-title h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .compare-packages {
        padding: 2rem 1rem;
    }
}
/* Pricing Section Styles - SPACING ADJUSTED */
.pricing {
    padding: 2rem 1rem 1rem;
    background-color: var(--light);
    margin-top: -2rem;
}

.pricing-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.pricing-header h3 {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.pricing-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.featured {
    border: 3px solid var(--secondary);
    /* Removed the scale transform to keep all boxes the same size */
    z-index: 2;
}

.featured:hover {
    transform: translateY(-10px);
}

.ribbon {
    position: absolute;
    top: 20px;
    right: -30px;
    background-color: var(--accent);
    color: white;
    padding: 5px 30px;
    font-size: 0.9rem;
    font-weight: bold;
    transform: rotate(45deg);
    z-index: 1;
}

.package-name {
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 1.5rem;
    font-size: 1.5rem;
    margin: 0;
}

.price-container {
    text-align: center;
    padding: 1.5rem;
    background-color: rgba(0, 51, 102, 0.05);
}

.original-price {
    text-decoration: line-through;
    color: #888;
    font-size: 1.2rem;
    margin: 0;
}

.discounted-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
    margin: 0.5rem 0 0;
}

.pricing-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    margin-bottom: 0.8rem;
    padding-left: 0.5rem;
    display: flex;
    align-items: center;
    min-height: 28px; /* Ensures consistent height across all list items */
}

.pricing-btn {
    display: block;
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 0.8rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: auto;
}

.pricing-btn:hover {
    background-color: var(--secondary);
    color: var(--primary);
}

.pricing-notes {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

.pricing-notes p {
    margin: 0.5rem 0;
}

/* Media Queries */
@media screen and (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .featured {
        transform: scale(1);
        grid-row: 1;
    }
    
    .featured:hover {
        transform: translateY(-10px);
    }
}

@media screen and (max-width: 768px) {
    .pricing-header h3 {
        font-size: 1.5rem;
    }
    
    .discounted-price {
        font-size: 2rem;
    }
}


/* Process Section */
.process {
    padding: 5rem 1rem;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 1rem 2rem;
    position: relative;
    width: 50%;
    margin-bottom: 2rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-content {
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.timeline-item:nth-child(odd) .timeline-content {
    border-right: 4px solid var(--secondary);
}

.timeline-item:nth-child(even) .timeline-content {
    border-left: 4px solid var(--secondary);
}

.timeline-circle {
    position: absolute;
    width: 30px;
    height: 30px;
    right: -15px;
    background-color: var(--secondary);
    border: 4px solid var(--primary);
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even) .timeline-circle {
    left: -15px;
}

.timeline-number {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary);
}

@media screen and (max-width: 768px) {
    .timeline::after {
        left: 40px; /* Move vertical line to the left */
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 80px; /* Make room for the circle */
        padding-right: 0;
    }
    
    .timeline-item:nth-child(even) {
        left: 0; /* Reset horizontal positioning */
    }
    
    .timeline-circle {
        left: 25px; /* Base position */
        right: auto;
    }
    
    .timeline-item:nth-child(even) .timeline-circle {
        left: 25px; /* Shift 2nd, 4th, 6th circles slightly to the right */
    }
    
    .timeline-item:nth-child(odd) .timeline-content {
        border-left: 4px solid var(--secondary);
        border-right: none;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        border-left: 4px solid var(--secondary);
        border-right: none;
    }
}


/* Why Germany Section - FIXED GRID LAYOUT */
.why-germany {
    padding: 5rem 1rem;
    background-color: var(--light);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.info-item {
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.info-item:hover {
    transform: scale(1.03);
}

.info-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

  
/* Testimonials Section */
.testimonials {
    padding: 5rem 1rem;
    background-color: #f8f9fa;
}

.testimonials-slider-container {
    position: relative;
    max-width: 800px; /* You can adjust this width as needed */
    margin: 3rem auto 0;
    overflow: hidden;
}

.testimonials-slider {
    display: flex;
    transition: transform 0.5s ease;
    /* We don't set width here anymore, to fix the shifting issue */
}

.testimonial-card {
    width: 100%; /* Each card takes the full width of the container */
    min-width: 100%; /* This ensures each card is exactly the width of the container */
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    /* No margin here to prevent shifting */
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.testimonial-img {
    width: 70px; /* Reduced from 80px */
    height: 70px; /* Reduced from 80px */
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #003366;
    margin-right: 1rem;
}

.testimonial-info h3 {
    margin: 0;
    font-size: 1.1rem; /* Reduced from 1.2rem */
    color: #003366;
}

.testimonial-info p {
    margin: 0.3rem 0 0.5rem;
    font-size: 0.9rem;
    color: #555;
}

.testimonial-rating {
    color: #FFD700;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem; /* Slightly reduced font size */
}

.testimonial-achievement {
    background-color: rgba(0, 51, 102, 0.05);
    padding: 0.7rem; /* Reduced from 0.8rem */
    border-radius: 5px;
    color: #003366;
    font-size: 0.85rem; /* Reduced from 0.9rem */
}

.testimonial-achievement span {
    font-weight: 600;
}

/* Slider Navigation */
.slider-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
}

.slider-prev, .slider-next {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #003366;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s;
}

.slider-prev:hover, .slider-next:hover {
    color: #FFD700;
}

.slider-dots {
    display: flex;
    margin: 0 1rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background-color: #003366;
    transform: scale(1.2);
}


/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-header {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-info {
        margin-top: 1rem;
    }
    
    .testimonial-img {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}



/* Contact Form */
.contact {
    padding: 5rem 1rem;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

.submit-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.submit-btn:hover {
    background-color: #002855;
}
    



/* Featured Blog Section Styles */
.featured-blog {
    padding: 5rem 1rem;
    background-color: var(--light);
}

.blog-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

.featured-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.featured-blog-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.featured-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.featured-blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary);
    line-height: 1.4;
}

.blog-excerpt {
    margin-bottom: 1.5rem;
    color: #555;
    flex-grow: 1;
}

.blog-read-more {
    font-weight: 600;
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-right: 20px;
    align-self: flex-start;
    transition: color 0.3s;
}

.blog-read-more::after {
    content: '→';
    position: absolute;
    right: 0;
    transition: transform 0.3s;
}

.blog-read-more:hover {
    color: var(--accent);
}

.blog-read-more:hover::after {
    transform: translateX(5px);
}

.view-all-container {
    text-align: center;
}

/* Media Queries */
@media screen and (max-width: 992px) {
    .featured-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .featured-blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-image {
        height: 220px;
    }
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary);
        padding: 1rem;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }

    
    .nav-menu li {
        margin: 0.5rem 0;
    }
    
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .timeline::after {
        left: 40px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 80px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-circle {
        left: 25px;
        right: auto;
    }
    
    .timeline-item:nth-child(odd) .timeline-content {
        border-right: none;
        border-left: 4px solid var(--secondary);
    }
}


/* Featured chat Section Styles */        
.chat-widget {
position: fixed;
bottom: 80px;
right: 20px;
z-index: 9999;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.chat-button {
background-color: var(--secondary);
color: var(--primary);
border-radius: 50px;
padding: 12px 20px;
display: flex;
align-items: center;
cursor: pointer;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
transition: all 0.3s;
}

.chat-button:hover {
transform: translateY(-2px);
}

.chat-button i {
margin-right: 8px;
font-size: 1.2rem;
}

.chat-container {
position: absolute;
bottom: 80px;
right: 0;
width: 320px;
background-color: white;
border-radius: 10px;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
display: none;
overflow: hidden;
}

.chat-header {
background-color: #003366;
color: white;
padding: 15px;
display: flex;
justify-content: space-between;
align-items: center;
}

.chat-header h3 {
margin: 0;
font-size: 1.1rem;
}

.chat-header button {
background: none;
border: none;
color: white;
cursor: pointer;
font-size: 1.1rem;
}

.chat-body {
padding: 15px;
}

.chat-messages {
margin-bottom: 15px;
max-height: 200px;
overflow-y: auto;
}

.message {
margin-bottom: 10px;
padding: 10px 15px;
border-radius: 18px;
max-width: 80%;
word-wrap: break-word;
}

.message p {
margin: 0;
}

.received {
background-color: #f0f2f5;
margin-right: auto;
}

.sent {
background-color: #e3f2fd;
margin-left: auto;
text-align: right;
}

.form-group {
margin-bottom: 12px;
}

.form-group input,
.form-group textarea {
width: 100%;
padding: 10px;
border: 1px solid #ddd;
border-radius: 4px;
font-family: inherit;
font-size: 0.9rem;
}

.form-group textarea {
resize: none;
}

.chat-submit {
width: 100%;
background-color: #003366;
color: white;
border: none;
padding: 10px;
border-radius: 4px;
cursor: pointer;
font-weight: 600;
transition: background-color 0.3s;
}

.chat-submit:hover {
background-color: #002244;
}

.chat-success {
text-align: center;
display: none;
}

.chat-success i {
font-size: 3rem;
color: #4CAF50;
margin-bottom: 10px;
}

.chat-success p {
margin-bottom: 15px;
}

#chat-new-message {
background-color: #003366;
color: white;
border: none;
padding: 8px 16px;
border-radius: 4px;
cursor: pointer;
font-weight: 600;
transition: background-color 0.3s;
}

#chat-new-message:hover {
background-color: #002244;
}

/* Animations */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}

.chat-container.active {
display: block;
animation: fadeIn 0.3s ease-out forwards;
}

/* Responsive adjustments */
@media screen and (max-width: 480px) {
.chat-container {
    width: 300px;
    right: 0;
}

.chat-button span {
    display: none;
}

.chat-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    justify-content: center;
    padding: 0;
}

.chat-button i {
    margin-right: 0;
}
}

.floating-whatsapp {
    position: fixed;
    bottom: 85px; /* Position above the back-to-top button */
    right: 25px;
    z-index: 999;
}

.whatsapp-float {
    width: 50px;
    height: 50px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Smaller button on mobile */
@media screen and (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 60px;
        right: 10px;
    }
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    max-height: 30px;
    width: auto;
    object-fit: contain;
}

/* Hide text visually but keep it for screen readers */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}