
/****************Heade******************/
/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Montserrat:wght@400;600&display=swap');

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: 'Montserrat', sans-serif;
    color: #2c3e50;
    background-color: #fff;
    line-height: 1.6;
}

/* Header Styling */
.modern-header {
    background-color: #f8f9fa;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Logo Section */
.logo-section {
    text-align: center;
    margin-bottom: 1rem;
}

.logo-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #2c3e50;
}

.tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #7f8c8d;
    letter-spacing: 1px;
    margin-top: 0.3rem;
}

/* Navigation */
.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #c349ea;
}

/* CTA Button */
.header-cta {
    margin-top: 0.5rem;
}

.quote-btn {
    background-color: #c349ea;
    color: #fff;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.quote-btn:hover {
    background-color: #840cac;
}

/* ------------------------------------ */
/* Responsive Design: Tablet & Desktop */
/* ------------------------------------ */

@media (min-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .logo-section {
        text-align: left;
        margin-bottom: 0;
    }

    .main-nav {
        gap: 1.5rem;
        margin: 0;
    }

    .tagline {
        font-size: 1rem;
    }
    
    .logo-section h1 {
        font-size: 2.5rem;
    }

    .quote-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

/* ------------------------------------ */
/* Responsive Design: Large Screens */
/* ------------------------------------ */

@media (min-width: 1024px) {
    .main-nav .nav-link {
        font-size: 1rem;
    }

    .logo-section h1 {
        font-size: 3rem;
    }

    .tagline {
        font-size: 1.05rem;
    }
}

/***********************hero**************/

/* ---------- Hero Section ---------- */
/* Hero Section Container */
.modern-hero {
  
  padding: 60px 20px;
  font-family: 'Georgia', serif;
  color: #222;
}

/* Overlay and container */
.hero-background {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
}

.hero-overlay {
  
  padding: 40px;
  border-radius: 12px;
  
}

/* Flex container for two columns */
.hero-container {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Left: Text content */
.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 16px;
  font-weight: normal;
  color: #1a1a1a;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #555;
  line-height: 1.5;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 30px;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: #2c3e50;
  display: block;
}

.stat-label {
  font-size: 1rem;
  color: #777;
}

/* Buttons */
.hero-actions {
  display: flex;
  gap: 20px;
}

.primary-action,
.secondary-action {
  padding: 12px 28px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 6px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  user-select: none;
}

.primary-action {
  background-color: #2c3e50;
  color: white;
  border-color: #2c3e50;
}

.primary-action:hover,
.primary-action:focus {
  background-color: white;
  color: #2c3e50;
  border-color: #2c3e50;
  outline: none;
}

.secondary-action {
  background-color: transparent;
  color: #2c3e50;
  border-color: #2c3e50;
}

.secondary-action:hover,
.secondary-action:focus {
  background-color: #2c3e50;
  color: white;
  outline: none;
}

/* Right: Image + floating icon */
.hero-visual {
  flex: 1;
  position: relative;
  max-width: 600px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Floating icon badge */
.card-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #050049;
  color: white;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: bold;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  user-select: none;
  pointer-events: none;
  transform: translateZ(0);
  animation: floatBadge 3s ease-in-out infinite;
}

/* Simple floating animation */
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Responsive stack */
@media (max-width: 900px) {
  .hero-container {
    flex-direction: column;
  }

  .hero-text,
  .hero-visual {
    max-width: 100%;
  }

  .hero-stats {
    justify-content: space-around;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }
}


/**************About****************/

/* ---------- About Section ---------- */
.about-modern {
    background-color: #f9f9f9;
    padding: 4rem 1.5rem;
}

.about-modern .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-header {
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    background-color: #c349ea;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.about-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.about-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(40px);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.8rem;
}

.about-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* ---------- Responsive Layout ---------- */
@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .about-card h3 {
        font-size: 1.4rem;
    }
}

/* ---------- Animation on Scroll ---------- */
.about-card.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/****************Services******************/

/* ---------- Services Section ---------- */
.services-modern {
    padding: 5rem 1.5rem;
    background-color: #ffffff;
}

.services-modern .container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-modern .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services-modern .section-badge {
    display: inline-block;
    background-color: #c349ea;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.services-modern .section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.services-modern .section-header p {
    font-size: 1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ---------- Category Headings ---------- */
.service-category {
    margin-bottom: 4rem;
}

.service-category h3 {
    font-size: 1.6rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border-left: 4px solid #c349ea;
    padding-left: 0.75rem;
}

/* ---------- Service Cards Grid ---------- */
.service-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Card Styling */
.service-card {
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(40px);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Card Image */
.service-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Card Content */
.service-content {
    padding: 1.5rem;
}

.service-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.service-content p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1rem;
}

.service-content ul {
    padding-left: 1.2rem;
    list-style-type: disc;
    color: #444;
}

.service-content ul li {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.3rem;
}

/* ---------- Responsive Layout ---------- */
@media (min-width: 576px) {
    .service-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .service-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-content h4 {
        font-size: 1.3rem;
    }
}

/* ---------- Scroll Animation ---------- */
.service-card.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ---------- Why Choose Us Section ---------- */
.why-us-modern {
    padding: 5rem 1.5rem;
    background-color: #f7f9fc;
}

.why-us-modern .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(40px);
    text-align: left;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.advantage-card.featured {
    border-left: 6px solid #c349ea;
}

.advantage-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.advantage-card h3 {
    font-size: 1.25rem;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.advantage-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.advantage-stats {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #c349ea;
}


/* ---------- Warranty Section ---------- */
.warranty-modern {
    padding: 5rem 1.5rem;
    background-color: #ffffff;
}

.warranty-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.warranty-visual {
    text-align: center;
}

.warranty-visual img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.warranty-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    background-color: #c349ea;
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 30px;
    margin-bottom: 1rem;
}

.warranty-badge .badge-icon {
    font-size: 1.2rem;
}

.warranty-content {
    max-width: 700px;
}

.warranty-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 1rem 0;
}

.warranty-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.warranty-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.warranty-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    font-size: 1.5rem;
    background-color: #e6f0ff;
    color: #c349ea;
    padding: 0.7rem;
    border-radius: 50%;
}

.feature-content h4 {
    font-size: 1rem;
    color: #2c3e50;
    margin-bottom: 0.3rem;
}

.feature-content p {
    font-size: 0.9rem;
    color: #666;
}

.warranty-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.warranty-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.warranty-btn.primary {
    background-color: #c349ea;
    color: white;
    border: none;
}

.warranty-btn.primary:hover {
    background-color: #840cac;
}

.warranty-btn.secondary {
    background-color: transparent;
    color: #c349ea;
    border: 2px solid #c349ea;
}

.warranty-btn.secondary:hover {
    background-color: #c349ea;
    color: white;
}


/* ---------- Responsive Layout ---------- */
@media (min-width: 768px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .warranty-layout {
        flex-direction: row;
        align-items: flex-start;
    }

    .warranty-visual {
        flex: 1;
    }

    .warranty-content {
        flex: 1;
        padding-left: 2rem;
    }

    .warranty-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .warranty-actions {
        flex-direction: row;
        justify-content: flex-start;
    }

    .warranty-btn {
        width: auto;
    }
}

@media (min-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---------- Scroll Animation ---------- */
.advantage-card.fade-in,
.warranty-feature.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Quote Form Section Styles */
/* Container and layout */
.quote-modern {
  padding: 60px 20px;
  background: #f9f9f9;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

.quote-modern .container {
  max-width: 1200px;
  margin: 0 auto;
}

.quote-layout {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.quote-intro {
  flex: 1 1 400px;
  max-width: 450px;
}

.section-badge {
  display: inline-block;
  background: #c349ea;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.quote-intro h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.quote-intro p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 24px;
}

.quote-benefits {
  display: grid;
  gap: 10px;
  font-size: 1rem;
  color: #555;
}

.benefit {
  background: #eec3fb;
  border-left: 4px solid #c349ea;
  padding: 10px 15px;
  border-radius: 4px;
}

/* Form container */
.quote-form-container {
  flex: 1 1 450px;
  background: white;
  padding: 30px 35px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.modern-quote-form .form-header h3 {
  margin: 0 0 6px 0;
  font-size: 1.8rem;
  color: #222;
}

.modern-quote-form .form-header p {
  margin: 0 0 20px 0;
  color: #666;
  font-size: 1rem;
}

/* Form sections */
.form-section {
  margin-bottom: 20px;
}

.form-section h4 {
  margin-bottom: 10px;
  font-weight: 600;
  color: #444;
  border-bottom: 2px solid #c349ea;
  display: inline-block;
  padding-bottom: 4px;
}

/* Form grid */
.form-grid {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

/* Inputs and selects */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
  resize: vertical;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  border-color: #c349ea;
  outline: none;
}

/* Textarea */
textarea {
  min-height: 100px;
}

/* Form actions */
.form-actions {
  margin-top: 25px;
  text-align: center;
}

.submit-quote-btn {
  background-color: #c349ea;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  padding: 14px 30px;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-quote-btn:hover {
  background-color: #050049;
}

.form-note {
  margin-top: 12px;
  font-size: 0.85rem;
  color: #777;
}

/* Confirmation message */
.quote-confirmation {
  text-align: center;
  padding: 30px 20px;
  border-radius: 8px;
  background-color: #eec3fb;
  color: #050049;
  box-shadow: 0 6px 18px rgba(195, 73, 255, 0.2);
}

.confirmation-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.next-steps {
  margin-top: 20px;
  text-align: left;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.next-steps h4 {
  margin-bottom: 10px;
  font-weight: 600;
}

.next-steps ul {
  list-style: none;
  padding-left: 0;
  color: #050049;
}

.next-steps ul li {
  margin-bottom: 8px;
  font-size: 1rem;
}

/* --- Testimonials Section Styles --- */

.testimonials-modern {
  background: #fff;
  padding: 60px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #222;
}

.testimonials-modern .container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Section header */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-badge {
  display: inline-block;
  background-color: #c349ea;
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-header h2 {
  font-size: 2.6rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.section-header p {
  font-size: 1.1rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Testimonials showcase */
.testimonials-showcase {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Featured testimonial card */
.testimonial-card {
  background: #f7f9f7;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgb(0 0 0 / 0.08);
  padding: 28px 32px 32px;
  flex: 1 1 320px;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
}

/* Featured card larger */
.testimonial-card.featured {
  background: #c349ea;
  color: white;
  max-width: 600px;
  flex: 1 1 600px;
  box-shadow: 0 12px 32px rgb(0 0 0 / 0.15);
}

.testimonial-card.featured blockquote {
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.6;
  margin: 20px 0 28px;
  color: #e0f2e9;
}

/* Testimonial header */
.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.client-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #c349ea;
}

.testimonial-card.featured .client-photo {
  border-color: #a5d6a7;
}

.client-details h4 {
  margin: 0 0 4px 0;
  font-weight: 700;
  font-size: 1.15rem;
}

.client-details span {
  font-size: 0.9rem;
  color: #666;
}

.testimonial-card.featured .client-details span {
  color: #c8e6c9;
}

.rating {
  font-size: 1.1rem;
  margin-top: 4px;
  color: #ffb400;
}

/* Featured badge */
.testimonial-badge {
  background: #050049;
  padding: 5px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  user-select: none;
}

/* Blockquote style */
blockquote {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.5;
  color: #444;
  margin-bottom: 20px;
}

/* Featured blockquote overrides */
.testimonial-card.featured blockquote {
  font-size: 1.15rem;
  color: #d0f0d8;
}

/* Project details (only featured) */
.project-details {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #c349ea;
}

.testimonial-card.featured .project-details span {
  color: #c8e6c9;
}

/* Testimonials grid (smaller cards) */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
  gap: 24px;
  flex: 1 1 580px;
}

/* Stats below */
.testimonials-stats {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  text-align: center;
}

.stat-item {
  flex: 1 1 140px;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #c349ea;
  display: block;
}

.stat-label {
  font-size: 1rem;
  color: #555;
  margin-top: 6px;
}

/* Responsive */
@media (max-width: 900px) {
  .testimonials-showcase {
    flex-direction: column;
    align-items: center;
  }
  .testimonial-card.featured {
    max-width: 100%;
  }
  .testimonials-grid {
    max-width: 100%;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/***************Newsletter****************/
/* --- Newsletter Section Styles --- */

.newsletter-modern {
  background: #f0f7f4;
  padding: 60px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #2e2e2e;
}

.newsletter-modern .container {
  max-width: 700px;
  margin: 0 auto;
}

.newsletter-content {
  background: #fff;
  border-radius: 14px;
  padding: 40px 36px;
  box-shadow: 0 8px 25px rgb(0 0 0 / 0.08);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Intro */
.newsletter-intro h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #c349ea;
}

.newsletter-intro p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.5;
  max-width: 500px;
}

.newsletter-benefits {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: #388e3c;
  font-weight: 600;
  font-size: 1rem;
}

.newsletter-benefits span {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Form styles */
.modern-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.newsletter-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
  gap: 18px;
}

.modern-newsletter-form input[type="text"],
.modern-newsletter-form input[type="email"],
.modern-newsletter-form input[type="date"] {
  padding: 14px 16px;
  font-size: 1rem;
  border: 2px solid #ccc;
  border-radius: 8px;
  transition: border-color 0.3s ease;
  font-family: inherit;
  outline-offset: 2px;
}

.modern-newsletter-form input[type="text"]:focus,
.modern-newsletter-form input[type="email"]:focus,
.modern-newsletter-form input[type="date"]:focus {
  border-color: #c349ea;
  outline: none;
}

/* Checkbox container */
.newsletter-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: #444;
  user-select: none;
  cursor: pointer;
  position: relative;
  line-height: 1.3;
}

/* Hide the default checkbox */
.newsletter-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Custom checkmark */
.checkmark {
  position: relative;
  height: 22px;
  width: 22px;
  background-color: #eee;
  border-radius: 6px;
  flex-shrink: 0;
  box-shadow: inset 0 0 3px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease;
}

.newsletter-checkbox input[type="checkbox"]:checked ~ .checkmark {
  background-color: #c349ea;
  box-shadow: none;
}

.checkmark::after {
  content: "";
  position: absolute;
  display: none;
}

.newsletter-checkbox input[type="checkbox"]:checked ~ .checkmark::after {
  display: block;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* Submit button */
.newsletter-submit-btn {
  background-color: #c349ea;
  color: white;
  padding: 16px;
  font-size: 1.15rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 5px 12px rgb(76 175 80 / 0.4);
  transition: background-color 0.3s ease;
  user-select: none;
}

.newsletter-submit-btn:hover,
.newsletter-submit-btn:focus {
  background-color: #388e3c;
  outline: none;
}

/* Confirmation message */
.newsletter-confirmation {
  text-align: center;
  padding: 40px 24px;
  background-color: #e8f5e9;
  border-radius: 14px;
  color: #050049;
  box-shadow: 0 8px 25px rgb(46 125 50 / 0.15);
}

.newsletter-confirmation .confirmation-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.newsletter-confirmation h3 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.newsletter-confirmation p {
  font-size: 1.1rem;
  margin-bottom: 18px;
  color: #1b5e20;
}

.welcome-gift {
  font-size: 1.1rem;
  font-weight: 600;
  color: #050049;
  background: #c8e6c9;
  padding: 12px 20px;
  border-radius: 8px;
  display: inline-block;
  box-shadow: 0 3px 6px rgb(46 125 50 / 0.25);
}

/* Responsive */
@media (max-width: 480px) {
  .newsletter-form-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-benefits {
    flex-direction: column;
  }
}

/*****************Footer******************/

/* --- Footer Styles --- */
.modern-footer {
  background-color: #222;
  color: #eee;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding: 60px 20px 40px;
  font-size: 15px;
  line-height: 1.6;
  user-select: none;
}

.modern-footer .container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Footer main grid */
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  margin-bottom: 40px;
  justify-content: space-between;
}

/* Brand section */
.footer-brand {
  flex: 1 1 280px;
  max-width: 320px;
}

.footer-brand h3 {
  font-size: 1.9rem;
  font-weight: 700;
  color: #c349ea;
  margin-bottom: 16px;
}

.footer-brand p {
  color: #ccc;
  font-size: 1rem;
  margin-bottom: 20px;
}

/* Certifications badges */
.footer-certifications {
  display: flex;
  gap: 12px;
}

.cert-badge {
  background-color: #c349ea;
  color: white;
  padding: 5px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 20px;
  box-shadow: 0 2px 5px rgb(76 175 80 / 0.5);
  user-select: none;
}

/* Footer links grid */
.footer-links {
  flex: 3 1 600px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-column {
  min-width: 140px;
  max-width: 180px;
}

.footer-column h4 {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 18px;
  color: #c349ea;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-column ul li a:hover,
.footer-column ul li a:focus {
  color: #81c784;
  outline: none;
  text-decoration: underline;
  cursor: pointer;
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 20px;
}

.footer-bottom-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
  color: #aaa;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 24px;
}

.social-icon {
  color: #ccc;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background-color 0.3s ease, color 0.3s ease;
  user-select: none;
}

.social-icon:hover,
.social-icon:focus {
  background-color: #c349ea;
  color: white;
  outline: none;
  cursor: pointer;
}

/* --- Modal Styles --- */
/* Modal base styles */
.modern-modal {
  display: none; /* hidden initially */
  position: fixed;
  inset: 0; /* top/right/bottom/left 0 */
  background-color: rgba(0, 0, 0, 0.6); /* dark translucent overlay */
  z-index: 10000;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.modern-modal.show {
  display: flex; /* visible */
}

.modal-overlay {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 25px 30px 30px;
  box-sizing: border-box;
  position: relative;
  animation: modalFadeIn 0.3s ease forwards;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.modal-header h2 {
  font-size: 1.8rem;
  color: #333;
  margin: 0;
  font-weight: 700;
  user-select: none;
}

.modal-close {
  background: none;
  border: none;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  color: #666;
  transition: color 0.3s ease;
  user-select: none;
}

.modal-close:hover,
.modal-close:focus {
  color: #c349ea;
  outline: none;
}

.modal-content {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  user-select: text;
}

.modal-content p {
  margin: 12px 0;
}

.modal-content ul {
  list-style: disc inside;
  margin: 12px 0 16px 0;
  padding-left: 0;
}

.modal-content h3 {
  margin-top: 20px;
  font-size: 1.25rem;
  color: #050049;
  font-weight: 600;
}

/* Scrollbar styling */
.modal-overlay::-webkit-scrollbar {
  width: 8px;
}

.modal-overlay::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 8px;
}

.modal-overlay::-webkit-scrollbar-thumb {
  background-color: #c349ea;
  border-radius: 8px;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .modal-overlay {
    max-width: 95vw;
    padding: 20px 15px 25px;
  }

  .modal-header h2 {
    font-size: 1.5rem;
  }

  .modal-close {
    font-size: 24px;
  }
}


/* Responsive */
@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
    gap: 36px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-column {
    max-width: 100%;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-brand {
    max-width: 100%;
  }
}

/* Container and layout */
.contact-modern {
  padding: 60px 20px;
  background-color: #f9f9f9;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

.contact-modern .container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-layout {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}

/* Contact Info Section */
.contact-info {
  flex: 1 1 380px;
  max-width: 480px;
}

.section-badge {
  display: inline-block;
  background: #c349ea;
  color: white;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  margin-bottom: 14px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.contact-info h2 {
  font-size: 2.25rem;
  margin-bottom: 14px;
  font-weight: 700;
  color: #050049;
}

.contact-info p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.5;
  color: #555;
}

/* Contact Methods */
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 35px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.method-icon {
  font-size: 2.5rem;
  color: #c349ea;
  line-height: 1;
  user-select: none;
}

.method-content h4 {
  margin: 0 0 4px;
  font-weight: 600;
  color: #050049;
}

.method-content p {
  margin: 0 0 4px;
  color: #444;
  line-height: 1.3;
}

.method-note {
  font-size: 0.9rem;
  color: #777;
  font-style: italic;
}

/* Social Connect */
.social-connect h4 {
  font-weight: 600;
  color: #050049;
  margin-bottom: 10px;
}

.social-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.social-link {
  text-decoration: none;
  background-color: #c349ea;
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.3s ease;
  user-select: none;
}

.social-link:hover,
.social-link:focus {
  background-color: #388e3c;
  outline: none;
}

/* Contact Form Section */
.contact-form-section {
  flex: 1 1 380px;
  max-width: 500px;
  background-color: white;
  padding: 30px 30px 35px;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
}

.modern-contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-header h3 {
  margin: 0 0 6px;
  color: #050049;
  font-weight: 700;
  font-size: 1.5rem;
}

.form-header p {
  margin: 0 0 20px;
  color: #555;
  font-size: 1rem;
}

/* Form grid for name and email */
.form-grid {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.form-grid input {
  flex: 1 1 48%;
  padding: 12px 15px;
  font-size: 1rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.form-grid input:focus {
  border-color: #c349ea;
  outline: none;
}

/* Single inputs and textarea */
.modern-contact-form input[type="text"]:not(.form-grid input),
.modern-contact-form input[type="email"]:not(.form-grid input),
.modern-contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  font-size: 1rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.modern-contact-form input[type="text"]:focus,
.modern-contact-form input[type="email"]:focus,
.modern-contact-form textarea:focus {
  border-color: #c349ea;
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* Submit Button */
.contact-submit-btn {
  background-color: #c349ea;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  padding: 14px 0;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  user-select: none;
}

.contact-submit-btn:hover,
.contact-submit-btn:focus {
  background-color: #388e3c;
  outline: none;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-layout {
    flex-direction: column;
  }
  
  .contact-info,
  .contact-form-section {
    max-width: 100%;
  }
  
  .form-grid {
    flex-direction: column;
  }
  
  .form-grid input {
    flex: 1 1 100%;
  }
}




