/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #f9f9f9;
    line-height: 1.6;
}

/* Header */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Navbar */
.navbar .nav-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff0d25;
}

.logo i {
    margin-right: 10px;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-menu li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: #ff0d25;
}

/* Book Appointment Button */
.btn-nav {
    background-color: #ff0d25;
    color: #fff !important;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-nav:hover {
    background-color: #e60c22;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background-color: #fbe6e8;
    padding: 4rem 2rem;
}

.hero-content {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.hero-text {
    flex: 1 1 500px;
}

.hero-text h1 {
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-primary,
.btn-secondary {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: #ff0d25;
    color: white;
}

.btn-primary:hover {
    background-color: #e60c22;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #ff0d25;
    color: #ff0d25;
}

.btn-secondary:hover {
    background-color: #ff0d25;
    color: white;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.stat h3 {
    color: #ff0d25;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 1rem;
    color: #555;
}

/* Hero Image */
.hero-image {
    flex: 1 1 400px;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 2rem;
        background-color: #fff;
        padding: 1rem;
        box-shadow: 0 8px 16px rgba(0,0,0,0.2);
        border-radius: 8px;
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }
}

/*****About****/

/* About Section */
.about {
    background-color: #ffffff;
    padding: 4rem 2rem;
}

.about .container {
    max-width: 1200px;
    margin: auto;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

/* About Content Layout */
.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

/* About Text */
.about-text {
    flex: 1 1 500px;
}

.about-text h3 {
    font-size: 1.8rem;
    color: #ff0d25;
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 2rem;
}

/* About Features */
.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background-color: #fbe6e8;
    padding: 1rem;
    border-left: 4px solid #ff0d25;
    border-radius: 6px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

.feature-item i {
    font-size: 1.8rem;
    color: #ff0d25;
    flex-shrink: 0;
}

.feature-item h4 {
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
    color: #2c3e50;
}

.feature-item p {
    font-size: 0.95rem;
    color: #666;
}

/* About Image */
.about-image {
    flex: 1 1 400px;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-features {
        align-items: center;
    }

    .feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/********Services**********/

/* Services Section */
.services {
    background-color: #fbe6e8;
    padding: 4rem 2rem;
}

.services .container {
    max-width: 1200px;
    margin: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Service Card */
.service-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* Icon */
.service-icon {
    font-size: 2.5rem;
    color: #ff0d25;
    margin-bottom: 1rem;
}

/* Title */
.service-card h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

/* Description */
.service-card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
}

/* List */
.service-card ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.service-card ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #444;
}

.service-card ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #ff0d25;
    font-size: 0.9rem;
}

/* Book Now Button */
.btn-service {
    align-self: flex-start;
    background-color: #ff0d25;
    color: #fff;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-service:hover {
    background-color: #e60c22;
}

/* Why Choose Us Section */
.why-choose {
    background-color: #ffffff;
    padding: 4rem 2rem;
}

.why-choose .container {
    max-width: 1200px;
    margin: auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Individual Feature */
.feature {
    background-color: #fbe6e8;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 2.5rem;
    color: #ff0d25;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.feature p {
    font-size: 1rem;
    color: #555;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .btn-service {
        width: 100%;
        text-align: center;
    }
}

/****Health Insurance****/

/* Health Care Plans Section */
.health-plans {
    background-color: #fbe6e8;
    padding: 4rem 2rem;
}

.health-plans .container {
    max-width: 1200px;
    margin: auto;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

/* Plans Grid */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Plan Card */
.plan-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
    position: relative;
}

.plan-card:hover {
    transform: translateY(-5px);
}

/* Plan Header */
.plan-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.plan-header h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.8rem;
    color: #ff0d25;
    font-weight: bold;
}

.price .currency {
    font-size: 1rem;
    vertical-align: top;
}

.price .amount {
    font-size: 2.5rem;
}

.price .period {
    font-size: 0.9rem;
    color: #777;
}

/* Plan Features */
.plan-features ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.plan-features li {
    font-size: 1rem;
    color: #444;
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plan-features li i {
    color: #ff0d25;
}

/* Choose Plan Button */
.btn-plan {
    background-color: #ff0d25;
    color: #ffffff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    align-self: center;
    transition: background-color 0.3s ease;
}

.btn-plan:hover {
    background-color: #e60c22;
}

/* Featured Plan Highlight */
.featured {
    border: 2px solid #ff0d25;
    background-color: #fbe6e8;
    position: relative;
}

.plan-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background-color: #ff0d25;
    color: white;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .btn-plan {
        width: 100%;
    }

    .plan-header {
        margin-bottom: 1rem;
    }

    .price .amount {
        font-size: 2rem;
    }
}

/**********Contact & Book An Appointment*********/
/* Contact & Appointment Sections */
.contact, .appointment {
    background-color: #ffffff;
    padding: 4rem 2rem;
}

.contact .container, .appointment .container {
    max-width: 1200px;
    margin: auto;
}

/* Section Header (shared) */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

/* Contact Content Layout */
.contact-content {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Contact Info Panel */
.contact-info {
    flex: 1 1 350px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info h3 {
    font-size: 1.6rem;
    color: #ff0d25;
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.8rem;
    color: #ff0d25;
    margin-top: 4px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.15rem;
    color: #2c3e50;
    margin-bottom: 0.2rem;
}

.contact-item p {
    font-size: 1rem;
    color: #555;
    line-height: 1.4;
}

/* Contact Form */
.contact-form {
    flex: 1 1 500px;
    background-color: #fbe6e8;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.contact-form h3 {
    font-size: 1.6rem;
    color: #ff0d25;
    margin-bottom: 1.5rem;
}

/* Form Fields (common) */
form .form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.form-group {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    margin-bottom: 1.2rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    color: #333;
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'><path fill='%23333' d='M2 0L0 2h4L2 0z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.6rem auto;
}

input:focus, textarea:focus, select:focus {
    border-color: #ff0d25;
    outline: none;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.2);
}

/* Checkbox / Terms Label */
.checkbox-group .checkbox-label {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: #555;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 0.5rem;
    width: 18px;
    height: 18px;
}



/* Buttons (shared) */
.btn-primary {
    background-color: #ff0d25;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: #e60c22;
    transform: translateY(-2px);
}

/* Appointment form specific tweaks */
.appointment-form {
    background-color: #fbe6e8;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: auto;
}

.appointment-form .form-row {
    gap: 1rem;
}

.appointment-form .form-group {
    flex: 1 1 45%;
}

/* Responsive Behavior */
@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
    }
    .form-row {
        flex-direction: column;
    }
    .form-group {
        flex: 1 1 100%;
    }
    .appointment-form {
        padding: 1.5rem;
    }
}

/***********testimonial*******/
/* Testimonials Section */
.testimonials {
    background-color: #fbe6e8;
    padding: 4rem 2rem;
}

.testimonials .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Section Header */
.testimonials .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials .section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.testimonials .section-header p {
    font-size: 1.1rem;
    color: #666;
}

/* Grid of Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Individual Testimonial Card */
.testimonial {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Stars */
.testimonial .stars {
    color: #f1c40f; /* gold/yellow */
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial .stars i {
    margin-right: 0.2rem;
}

/* Testimonial Text */
.testimonial-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1; /* to make cards roughly equal height if content differs */
}

/* Author */
.testimonial-author {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
}

.testimonial-author h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin: 0;
}

.testimonial-author span {
    display: block;
    font-size: 0.95rem;
    color: #888;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .testimonial {
        padding: 1.5rem;
    }
    .testimonials .section-header h2 {
        font-size: 2rem;
    }
    .testimonials .section-header p {
        font-size: 1rem;
    }
}

/*************Footer***********/
/* Footer Section */
.footer {
    background-color: #1a1a1a; /* dark background */
    color: #ddd; /* light text */
    padding: 3rem 2rem 1.5rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.95rem;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Footer Content Grid */
.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-bottom: 2rem;
}

/* Footer Sections */
.footer-section h3 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #ff0d25; /* accent green underline */
    padding-bottom: 0.3rem;
}

/* Logo & Description */
.footer-section .logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    color: #ff0d25; /* accent green */
    margin-bottom: 1rem;
}

.footer-section .logo i {
    margin-right: 0.5rem;
}

/* Description Paragraph */
.footer-section p {
    color: #bbb;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #bbb;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ff0d25;
}

/* Lists in Footer */
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: #ff0d25;
    border-bottom: 1px solid #ff0d25;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-section .logo {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

/***************Privacy Policy Model***********/

/* Modal Overlay */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000; /* On top of other content */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto; /* Scroll if content is tall */
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent dark background */
  backdrop-filter: blur(3px); /* Optional blur effect */
}

/* Modal Content Box */
.modal-content {
  background-color: #fff;
  margin: 4rem auto;
  padding: 2rem 2.5rem;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: modalFadeIn 0.3s ease forwards;
}

/* Fade-in animation for modal content */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.8rem;
  font-weight: bold;
  color: #666;
  cursor: pointer;
  transition: color 0.3s ease;
  user-select: none;
}

.close:hover {
  color: #e74c3c; /* Red color on hover */
}

/* Modal Headings */
.modal-content h2 {
  margin-top: 0;
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 700;
}

.modal-content h3 {
  color: #34495e;
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
}

/* Modal Paragraphs */
.modal-body p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Scrollbar Styling for Webkit Browsers (optional) */
.modal::-webkit-scrollbar {
  width: 8px;
}

.modal::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.3);
  border-radius: 4px;
}

.modal::-webkit-scrollbar-track {
  background: transparent;
}

/* Responsive Adjustments */
@media (max-width: 480px) {
  .modal-content {
    padding: 1.5rem 1.5rem;
    width: 95%;
  }
  .close {
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
  }
}

/*********Newsletter**********/
/* Overlay */
.popup-overlay {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease-out forwards;
}

/* Popup Content */
.popup-content {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  animation: slideUp 0.3s ease-out forwards;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
  transition: color 0.3s;
}

.close-btn:hover {
  color: #e74c3c;
}

/* Heading */
.popup-content h2 {
  text-align: center;
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Form */
#newsletterForm {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#newsletterForm label {
  font-size: 0.9rem;
  color: #555;
}

#newsletterForm input[type="text"],
#newsletterForm input[type="email"],
#newsletterForm input[type="date"] {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  color: #333;
  width: 100%;
  box-sizing: border-box;
}

#newsletterForm input[type="checkbox"] {
  margin-right: 0.5rem;
}

#newsletterForm button {
  padding: 0.8rem;
  background: #3498db;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

#newsletterForm button:hover {
  background: #2980b9;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 480px) {
  .popup-content {
    width: 90%;
    padding: 1.5rem;
  }

  .popup-content h2 {
    font-size: 1.3rem;
  }

  #newsletterForm button {
    padding: 0.7rem;
    font-size: 0.9rem;
  }
}

