/* File: styles.css */
body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(105deg, #ebe487, rgb(136, 174, 202), #e6cc86);
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

html{
    scroll-behavior: smooth;
}

/* Default Styles for .quoteHead */
.quoteHead {
    background-color: #080529;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: cornsilk; /* Gold text color */
    text-align: center;
    padding: 10px 15px;
    font-size: 22px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    z-index: 999; /* Ensure it stays on top */
    position: relative;
}

.quoteHead p {
    margin: 0;
}

/* Media Queries */

/* Small Screens (Mobile: up to 480px) */
@media screen and (max-width: 480px) {
    .quoteHead {
        font-size: 22px; /* Smaller font size for better fit */
        padding: 8px 12px; /* Reduce padding for small screens */
    }
}

/* Medium Screens (Tablets: 481px to 768px) */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .quoteHead {
        font-size: 25px; /* Slightly smaller font for tablets */
        padding: 9px 14px; /* Adjust padding for tablets */
    }
}

/* Large Screens (Laptops/Desktop: 769px and above) */
@media screen and (min-width: 769px) {
    .quoteHead {
        font-size: 28px; /* Default font size */
        padding: 10px 15px; /* Original padding for larger screens */
    }
}


header {
    background: linear-gradient(135deg, #1a1a40, rgb(17, 49, 75), #0e3e7c);
    color: #867c7c;
    text-align: center;
    padding: 10px;
    margin: 10px;
    border-radius: 50px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    max-width: 100%;
    position: sticky;
    top: 0px;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 95%; /* Adjust as per your design */
    margin: 0 auto;
}

.logo {
    height: 60px; /* Adjust logo size as needed */
}

nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-grow: 1;
}

nav a {
    color: #eaeaea;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.3rem;
    position: relative;
    padding: 5px;
    transition: color 0.3s, transform 0.2s ease-in-out, text-shadow 0.3s;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

nav a:hover {
    color: #e99740;
    transform: scale(1.1);
    text-shadow: 0 2px 4px rgba(233, 151, 64, 0.7);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #7b3f00, #e99740);
    left: 50%;
    bottom: -5px;
    transition: width 0.3s ease, left 0.3s ease;
    border-radius: 5px;
    opacity: 0.9;
}

nav a:hover::after {
    width: 100%;
    left: 0;
    opacity: 1;
}

nav a:active {
    transform: scale(0.95);
    color: #ffae5c;
}

.phone-number {

    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    padding-left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #061830;
    border-radius: 25px;
    padding: 10px 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    margin-left: 20px;
}
.phone-number p {
    text-decoration: none;
    margin: 0;
}
.phone-number a {
    text-decoration: none;
    color: white;
}
.phone-number1 a {
    text-decoration: none;
    color: white;
}
.phone-number1 {
    display: none;
}
.phone-number:hover {
    background-color:#b37738; /* Hover effect color */

}

.phone-number::before {
    content: '📞'; /* You can use an icon or emoji before the phone number */
    margin-right: 10px;
}

/* Hamburger menu (hidden by default) */
.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}
/* Extra Small Screens (up to 480px) */
@media (max-width: 480px) {
    .header-container {
        padding: 10px;
    }
    .logo {
        height: 70px;
        margin-bottom: 10px;
    }
    .nav-links {
        font-size: 14px;
    }
    .phone-number1 {
        padding: 8px;
        font-size: 14px;
    }
    .menu-toggle {
        font-size: 0.9rem;
        padding: 8px;
    }
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .phone-number {
        display: none; /* Hide phone number outside the nav on small screens */
    }

    .header-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 5px 0;
    }

    .logo {
        height: 85px;
        margin-bottom: 8px;
        transition: transform 0.3s ease;
    }

    .logo:hover {
        transform: scale(1.1); /* Subtle zoom effect on hover */
    }

    .phone-number1 {
        display: flex; /* Show phone number inside the nav when menu is active */
        margin-top: 10px;
        background-color: #061830;
        border-radius: 25px;
        padding: 10px 10px;
        transition: background-color 0.3s ease, transform 0.3s ease;
        text-decoration: none;
    }

    .phone-number1:hover {
        background-color: #0077b6; /* Hover effect color */
        transform: scale(1.05); /* Slightly enlarge on hover */
    }

    .phone-number1::before {
        content: '📞';
        margin-right: 8px;
        font-size: 16px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: center;
        background: linear-gradient(135deg, #02303d, #045d74);
        position: absolute;
        top: 70px;
        left: 10px;
        right: 10px;
        padding: 15px 0;
        border-radius: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
        transform: translateY(-20px);
        opacity: 0;
    }

    .nav-links.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links a {
        font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        color: white;
        text-decoration: none;
        font-size: 21px;
        padding: 10px 20px;
        width: 100%;
        text-align: center;
        border-radius: 10px;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    .nav-links a:hover {
        background-color: #0077b6;
        color: #fff;
    }

    .menu-toggle {
        background: linear-gradient(135deg, #004e64, #00a3cc);
        color: #ffffff;
        border-radius: 50%; /* Perfect circular button */
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        font-size: 1.2rem;
        position: absolute;
        top: 25px;
        right: 20px;
        z-index: 1000;
        width: 50px;
        height: 50px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    }

    .menu-toggle:hover {
        background: linear-gradient(135deg, #00a3cc, #004e64);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        transform: scale(1.1);
    }

    .menu-toggle:focus {
        outline: none;
        box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.5);
    }

    .menu-toggle.active {
        background: linear-gradient(135deg, #1dc7f1, #0a3946);
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
        transform: rotate(90deg); /* Rotate the toggle for an active state */
    }
}

/* Medium Screens (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    nav {
        justify-content: space-between;
        padding: 0 20px;
    }
    .phone-number {
        font-size: 16px;
    }
    .menu-toggle {
        display: none;
    }
}

/* Large Screens (1025px and above) */
@media (min-width: 1025px) {
    nav {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }
    .phone-number {
        text-decoration: none;
        display: flex;
        font-size: 20px;
        right: 15px;
        top: 50%;
    }
    .menu-toggle {
        display: none;
    }
}


/* section {
    padding: 40px;
    margin: 20px auto;
    max-width: 1200px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}  */

/* Default Styles for .whatsappPopup */
.whatsappPopup {
    position: fixed;
    bottom: 40px;
    right: 20px;
    z-index: 2000;
    background-color: #25d366; /* WhatsApp green */
    width: 80px;
    height: 80px;
    border-radius: 50%; /* Circular button */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}
/* Shake Animation */
@keyframes shake {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-10px);
    }
    50% {
        transform: translateX(10px);
    }
    75% {
        transform: translateX(-10px);
    }
    100% {
        transform: translateX(0);
    }
}
.shake {
    animation: shake 0.5s ease-in-out; /* Apply the shake animation */
}

.whatsappPopup:hover {
    transform: scale(1.1); /* Slight zoom-in on hover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.whatsappPopup a {
    text-decoration: none;
    color: white; /* Icon color */
    font-size: 2rem; /* Icon size */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.whatsappPopup a:hover {
    color: white; /* Keeps the color same on hover */
}

/* Media Queries */

/* Small Screens (Mobile: up to 480px) */
@media screen and (max-width: 480px) {
    .whatsappPopup {
        width: 65px; /* Smaller button size for mobile */
        height: 65px;
        bottom: 20px; /* Move it slightly up for smaller screens */
        right: 10px; /* Move it closer to the corner */
    }

    .whatsappPopup a {
        font-size: 2rem; /* Smaller icon size */
    }
}

/* Medium Screens (Tablets: 481px to 768px) */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .whatsappPopup {
        width: 65px; /* Slightly smaller button size for tablets */
        height: 65px;
        bottom: 30px; /* Adjust position */
        right: 15px; /* Adjust position */
    }

    .whatsappPopup a {
        font-size: 1.8rem; /* Adjust icon size for tablets */
    }
}

/* Large Screens (Laptops/Desktop: 769px and above) */
@media screen and (min-width: 769px) {
    .whatsappPopup {
        width: 70px; /* Default size */
        height: 70px;
        bottom: 40px; /* Default bottom position */
        right: 20px; /* Default right position */
    }

    .whatsappPopup a {
        font-size: 2.4rem; /* Default icon size */
    }
}

/* Hero Section */
#hero {
    display: flex;
    align-items: center;
    justify-content: center; /* Center content on all screen sizes */
    min-height: 100vh; /* Use min-height for better responsiveness */
    width: 100%;
    background-image: url('../assets/bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 0 50px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
    animation: fade-in-page 1s ease-out;
  }
  
  /* Wrapper for Hero Content */
  .hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    position: relative;
    flex-wrap: wrap; /* Ensure flexibility on smaller screens */
  }
  
  /* Hero Content Wrapper */
  .hero-content-wrapper {
    flex: 1;
    z-index: 2;
    position: relative;
    background-color: rgba(0, 0, 0, 0.7); /* Adjusted for better contrast */
    padding: 50px;
    border-radius: 15px;
    width: 100%;
    max-width: 600px;
    box-sizing: border-box;
    margin-right: 60px;
    margin-bottom: 30px; /* Add space for better spacing on smaller screens */
  }
  
  /* Hero Content */
  .hero-content {
    position: relative;
    z-index: 5;
  }
  
  .heroSpan {
    color: rgb(255, 255, 255);
  }
  
  .hero-content h1,
  .hero-content h3 {
    color: #f6f6ff;
    font-size: 2.5rem; /* Base font size for headings */
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1.5px;
  }
  
  .hero-content p {
    color: rgb(247, 219, 184);
    font-size: 1.1rem; /* Base font size for paragraphs */
    margin-bottom: 2rem;
    line-height: 1.8;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
  }
  
  /* Button */
  .hero-content button {
    background-color: #6b3900;
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  }
  
  .hero-content button:hover {
    background-color: #e6841b;
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  }
  
  /* Hero Image */
  .hero-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
    z-index: 3;
  }
  
  .hero-image img {
    max-width: 48%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    object-fit: cover;
  }
  
  /* Media Queries */
  @media screen and (max-width: 1024px) {
    #hero {
      flex-direction: column;
      padding: 20px;
    }
  
    .hero-container {
      flex-direction: column; /* Stack content and image vertically */
      justify-content: center; /* Center content */
    }
  
    .hero-content-wrapper {
      padding: 20px;
      max-width: 90%;
    }
  
    .hero-content h1,
    .hero-content h3 {
      font-size: 2rem;
    }
  
    .hero-content p {
      font-size: 1.4rem;
    }
  
    .hero-content button {
      font-size: 1rem;
      padding: 10px 20px;
    }
  
    .hero-image img {
      max-width: 60%;
      max-height: 50%;
    }
  }
  
  @media screen and (max-width: 768px) {
    #hero {
      padding: 15px;
    }
  
    .hero-container {
      flex-direction: column;
      justify-content: center;
    }
  
    .hero-content-wrapper {
      padding: 15px;
      max-width: 85%;
    }
  
    .hero-content h1,
    .hero-content h3 {
      font-size: 1.8rem;
    }
  
    .hero-content p {
      font-size: 1.4rem;
    }
  
    .hero-content button {
      font-size: 1rem;
      padding: 8px 16px;
    }
  
    .hero-image img {
      max-width: 65%;
      max-height: 55%;
    }
  }
  
  @media screen and (max-width: 480px) {
    #hero {
      padding: 10px;
    }
  
    .hero-container {
      flex-direction: column;
      justify-content: center;
    }
  
    .hero-content-wrapper {
      padding: 10px;
      max-width: 90%;
    }
  
    .hero-content h1,
    .hero-content h3 {
      font-size: 1.8rem;
    }
  
    .hero-content p {
      font-size: 1.4rem;
    }
  
    .hero-content button {
      font-size: 1rem;
      padding: 6px 12px;
    }
  
    .hero-image img {
      max-width: 65%;
      max-height: 50%;
    }
  }
  /* Media Queries for 769px to 1023px screen size */
@media screen and (min-width: 769px) and (max-width: 1023px) {
    #hero {
      padding: 40px;
    }
  
    .hero-container {
      flex-direction: column; /* Stack content and image vertically */
      justify-content: center;
    }
  
    .hero-content-wrapper {
      padding: 30px;
      max-width: 85%; /* Adjust width to allow for some margin */
      margin-bottom: 20px;
    }
  
    .hero-content h1,
    .hero-content h3 {
      font-size: 2.5rem; /* Adjust font size for better readability */
    }
  
    .hero-content p {
      font-size: 1.4rem; /* Adjust font size */
    }
  
    .hero-content button {
      font-size: 1rem;
      padding: 12px 25px; /* Adjust padding for button */
    }
  
    .hero-image img {
      max-width: 60%; /* Adjust image width */
      max-height: 50%;
    }
  }
  
  @media screen and (min-width: 1024px) {
    #hero {
      padding: 0 100px;
    }
  
    .hero-content-wrapper {
      max-width: 650px;
      padding: 60px;
    }
  
    .hero-content h1,
    .hero-content h3 {
      font-size: 3rem;
    }
  
    .hero-content p {
      font-size: 1.4rem;
    }
  }
  

/* Text Animations */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce-in {
    from {
        transform: scale(0.9);
    }
    50% {
        transform: scale(1.1);
    }
    to {
        transform: scale(1);
    }
}

@keyframes fade-in-page {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Apply Text Animations */
.fade-in {
    animation: fade-in 1s ease-in-out;
}

.fade-in-delay {
    animation: fade-in 1s ease-in-out 0.5s; /* 0.5s delay */
}

.slide-in {
    animation: slide-in 1.2s ease-in-out;
}

.bounce-in {
    animation: bounce-in 0.8s ease-out;
}

/* Image Animation */
@keyframes image-fade-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.image-fade-in {
    animation: image-fade-in 1.5s ease-in-out;
}

/* About Section */
#about {
    padding: 40px 20px;
    background-color: #f4f4f9;
    text-align: center;
    display: flex;
    flex-direction: column; /* Default to column for smaller screens */
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    margin: 40px auto;
    max-width: 90%;
}

/* About Image */
#about img {
    max-width: 90%; /* Adjust image width for smaller screens */
    height: auto;
    border-radius: 12px;
}

/* About Content */
.about-content {
    text-align:start; /* Center text for smaller screens */
    max-width: 100%;
    padding: 20px;
}

/* Heading */
.about-content h2 {
    font-size: 2rem; /* Adjust heading size */
    font-weight: 700;
    color: #080529;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

/* Heading Decoration */
.about-content h2::after {
    content: '';
    width: 50%;
    height: 4px;
    background-color: #7b3f00;
    position: absolute;
    bottom: -5px;
    left: 25%;
    border-radius: 5px;
}

/* Highlighted Text */
.highlight {
    color: #e49037;
}

/* Paragraph */
.about-content p {
    font-size: 1.12rem;
    line-height: 1.8;
    color: #2c2b2b;
    font-weight: 540;
    margin: 0 auto;
    max-width: 100%; /* Adjust max-width for smaller screens */
}

/* Strong Text */
.about-content p strong {
    color: #7b3f00;
    font-weight: 600;
    font-size: 1.3rem;
}

/* Responsive Styles */

  /* Media Queries */
  @media (min-width: 768px) {
    #about {
      flex-direction: row; /* Change to row for larger screens */
      justify-content: space-between; /* Space between image and content */
    }
  
    #about img {
      max-width: 50%; /* Adjust image width for larger screens */
    }
  
    .about-content {
      text-align: left; /* Align text to the left for larger screens */
    }
  }
  
  @media (min-width: 992px) {
    #about {
      padding: 60px 40px; /* Increase padding for larger screens */
    }
  
    .about-content h2 {
      font-size: 2.5rem; /* Increase heading size for larger screens */
    }
  }
/* Add subtle animation */
#about {
    animation: fade-in-page 1s ease-out;
}

@keyframes fade-in-page {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stats Section for Tamil Astrology */
/* Stats Section */
#stats {
    padding: 40px 20px; 
    background: linear-gradient(90deg, #446583, #151446); 
    color: #fff;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    margin: 50px auto;
    max-width: 1300px;
    position: relative;
    overflow: hidden;
    border-radius: 40px;
  }
  
  .stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.2); 
    border: 2px solid #ffd700;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  }
  
  .stat-item i {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: #ffd700; 
  }
  
  .stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
  }
  
  .stat-item p {
    margin-top: 10px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffe600;
  }
  
  /* Responsive Design */
  @media (max-width: 992px) {
    .col-md-3 {
      flex: 0 0 50%; /* Adjust column width for medium screens */
      max-width: 50%;
    }
  }
  
  @media (max-width: 768px) {
    .col-md-3 {
      flex: 0 0 100%; /* Make columns full-width on smaller screens */
      max-width: 100%;
    }
  }
  
  @media (max-width: 576px) {
    .stat-item {
      padding: 15px; /* Reduce padding for smaller screens */
    }
  
    .stat-item i {
      font-size: 3rem; /* Slightly reduce icon size */
    }
  
    .stat-number {
      font-size: 2.5rem; /* Slightly reduce number size */
    }
  }


/* Centering Styles */
.container1 {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50vh;
    background-color: #a3bfda; /* Optional background for better contrast */
    margin: 0;
    padding: 0;
}

/* General Styles for the Quote Section */
.Quote-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 44rem;
    max-height: 700px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    position: relative;
}

/* Quote Mark */
.quote-mark {
    position: absolute;
    top: -1rem;
    left: 1.5rem;
    font-size: 4rem;
    font-family: 'Georgia', serif;
    color: #0e6b61;
}

/* Content Section */
.card-content {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    text-align: center;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

/* Content Wrapper */
.content-wrapper {
    flex: 1;
    margin-left: 20px;
}

/* Quote Box */
.quote-box {
    background-color: #0e6b61;
    color: #ffffff;
    padding: 1.5rem;
    border-radius: 25px;
    margin-bottom: 1rem;
}
/* Quote Box1 */
.quote-box1 {
    background-color: #0e466b;
    color: #ffffff;
    padding: 1.5rem;
    border-radius: 25px;
    margin-bottom: 1rem;
}
.quote-box p {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.5;
}
.quote-box1 p {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.5;
}

/* Author Information */
.author-info {
    background-color: #f0fdfa;
    padding: 1rem;
    border-radius: 8px;
}

.author-info h3 {
    margin: 0;
    color: #1f2937;
    font-weight: 600;
    font-size: 1.4rem;
    text-align: right;
}

/* Image Styling */
.image-wrapper {
    height: 60%;
    width: 60%;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Media Queries */

/* Mobile Devices */
@media (max-width: 480px) {
    .container1 {
        height: auto; /* Let container adapt to content size */
        padding: 10px; /* Add some padding on small screens */
    }

    .Quote-card {
        max-width: 90%;
        padding: 1rem;
    }

    .quote-mark {
        font-size: 3rem;
    }

    .card-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .image-wrapper {
        width: 180%;
        height: 120%;
        margin-bottom: 1rem;
    }
    .image-wrapper img{
        width: 180%;
        height: 160%;
    }

    .author-info h3 {
        font-size: 1.2rem;
    }

    .quote-box p {
        font-size: 1.2rem;
    }
    .quote-box1 p {
        font-size: 1.2rem;
    }
}

/* Tablets (Portrait) */
@media (max-width: 768px) {
    .container1 {
        height: auto;
        padding: 15px;
    }

    .Quote-card {
        max-width: 80%;
    }

    .quote-mark {
        font-size: 3.5rem;
    }

    .card-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .image-wrapper {
        width: 100%;
        margin-bottom: 1rem;
    }

    .author-info h3 {
        font-size: 1.3rem;
    }

    .quote-box p {
        font-size: 1.3rem;
    }
    .quote-box1 p {
        font-size: 1.3rem;
    }
}

/* Tablets (Landscape) and Small Desktop */
@media (max-width: 1024px) {
    .container1 {
        padding: 20px;
    }

    .Quote-card {
        max-width: 75%;
    }

    .quote-mark {
        font-size: 3.5rem;
    }

    .card-content {
        flex-direction: row;
        gap: 2rem;
    }

    .image-wrapper {
        width: 40%;
    }

    .author-info h3 {
        font-size: 1.4rem;
    }

    .quote-box p {
        font-size: 1.3rem;
    }
    .quote-box1 p {
        font-size: 1.4rem;
    }
}

/* Desktop */
@media (min-width: 1025px) {
    .container1 {
        height: 50vh;
    }

    .Quote-card {
        max-width: 44rem;
    }

    .quote-mark {
        font-size: 4rem;
    }

    .card-content {
        flex-direction: row;
        gap: 2rem;
    }

    .image-wrapper {
        width:40%;
    }

    .author-info h3 {
        font-size: 1.4rem;
    }

    .quote-box p {
        font-size: 1.3rem;
    }
    .quote-box1 p {
        font-size: 1.4rem;
    }
}


/* Services Section */
/* Services Section */
#services {
    padding: 60px 20px; 
    background: linear-gradient(180deg, #f7f9fc, #eaf1f7);
    text-align: center;
    border-radius: 15px;
    margin: 50px auto;
    max-width: 1400px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    animation: fade-in-page 1s ease-out;
    border: 5px solid #00496b;
  }
  
  /* Section Title */
  .services-content h2 {
    font-size: 2.5rem; /* Adjust for smaller screens */
    font-weight: 800;
    color: #052046;
    margin-bottom: 30px; 
    position: relative;
    text-transform: capitalize;
  }
  
  .services-content h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: #7b3f00;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
  }
  
  /* Service Items Container */
  .services-content ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Adjust minmax value */
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
  }
  
  /* Individual Service Card */
  .services-content ul li {
    font-size: 18px; 
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 1);
    padding: 25px 15px; 
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
  }
  
  /* Hover Effects for Service Cards */
  .services-content ul li:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
  }
  
  /* Service Icon */
  .service-icon {
    display: block;
    margin: 0 auto;
    width: 100px; /* Adjust icon size */
    height: auto;
    padding: 15px; 
  }
  
  /* Media Queries */
  @media (min-width: 768px) {
    .services-content ul {
      grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); /* Restore original grid */
    }
  
    .services-content ul li {
      font-size: 20px; 
      padding: 30px 20px; 
    }
  
    .service-icon {
      width: 150px; 
    }
  }
  
  @media (min-width: 992px) {
    .services-content h2 {
      font-size: 2.8rem; /* Restore original heading size */
    }
  }

/* Fade-in Animation */
@keyframes fade-in-page {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Marquee Section */
#marquee-section {
    background: linear-gradient(90deg, #151446, #171731, #305170); /* Rich maroon-to-gold gradient */
    color: #f1eeda; /* Gold text */
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-weight: 500;
    font-style: normal;
    text-align: center;
    overflow: hidden; /* Hide text outside the container */
    position: relative;
    width: 100%; /* Full width */
    height: 150px; /* Increased height for better readability */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    border-radius: 10px; /* Smooth rounded corners */
}

#marquee-section p {
    position: absolute;
    top: 0;
    white-space: nowrap; /* Prevent line break */
    display: inline-block;
    animation: scroll-left 10s linear infinite; /* Slow down the animation for smoother scroll */
    font-size: 50px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* Enhanced text shadow for readability */
    padding: 0 10px;
}

 /* Keyframes for smooth scrolling */
 @keyframes scroll-left {
    0% {
        transform: translateX(100%); /* Start fully off the screen */
    }
    50% {
        transform: translateX(-50%); /* Scroll to the middle of the container */
    }
    100% {
        transform: translateX(-100%); /* End fully off the screen */
    }

}
/* Responsive Design */
/* Mobile (up to 480px) */
@media screen and (max-width: 480px) {
    #marquee-section {
        height: 150px; /* Reduce height for smaller screens */
        padding: 5px;
    }

    #marquee-section p {
        font-size: 30px; /* Smaller text for better readability */
        animation: scroll-left 7s cubic-bezier(0.25, 0.8, 0.25, 1) infinite; /* Slower animation for small screens */
    }
}

/* Tablet (481px to 768px) */
@media screen and (min-width: 481px) and (max-width: 768px) {
    #marquee-section {
        height: 150px; /* Adjust height for tablets */
    }

    #marquee-section p {
        font-size: 40px; /* Slightly larger text for tablet readability */
        animation: scroll-left 6s cubic-bezier(0.25, 0.8, 0.25, 1) infinite; /* Moderate speed for tablets */
    }
}

/* Small Laptops (769px to 1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    #marquee-section {
        height: 150px; /* Adjust height for small laptops */
    }

    #marquee-section p {
        font-size: 45px; /* Larger text for small laptops */
        animation: scroll-left 5.5s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
    }
}

/* Large Screens (1025px and above) */
@media screen and (min-width: 1025px) {
    #marquee-section {
        height: 150px; /* Default height */
    }

    #marquee-section p {
        font-size: 50px; /* Default text size */
        animation: scroll-left 5s cubic-bezier(0.25, 0.8, 0.25, 1) infinite; /* Default animation speed */
    }
}

/* Experience Section */
.experience-container {
    padding: 90px 20px;
    background: linear-gradient(to bottom, #fce1aa, #9b7626); /* Soft, neutral gradient */
    text-align: center;
    border-radius: 25px;
    margin: 60px auto;
    width: 90%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1), 0 8px 18px rgba(255, 255, 255, 0.15);
    animation: fade-in-page 1s ease-out;
}

.experience-container h2 {
    font-size: 3.0rem;
    font-weight: 700;
    color: #4b3f26; /* Elegant dark brown */
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    font-family:Verdana, Geneva, Tahoma, sans-serif; /* Sophisticated serif font */
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.experience-container h2::after {
    content: '';
    width: 100px;
    height: 4px;
    background-color: #ffac2a; /* Golden accent */
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 5px;
}

.experience-container h2:hover::after {
    background-color: #ff7c00; /* Subtle hover effect to make the accent color pop */
}

.ehighlight {
    color: #503909; /* Muted gold for emphasis */
}

/* Experience Cards */
.experience-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Fluid grid layout */
    gap: 35px;
    margin-top: 40px;
}
.exp {
    font-size: 1.2rem; /* Slightly larger font for readability */
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-weight: 600;
    line-height: 1.8; /* Adequate line spacing for better readability */
    color: #333; /* Dark gray color for the text */
    text-align: justify; /* Justify the text for a cleaner look */
    margin: 20px 0; /* Add some spacing above and below the paragraph */
    padding: 10px 20px; /* Add padding for a clean look */
    background-color: #f9f9f9; /* Light background to make the text stand out */
    border-left: 5px solid #853017; /* Accent border to highlight the text */
    border-radius: 8px; /* Rounded corners for a softer appearance */
    box-shadow: 0 2px 4px rgba(0, 0, 1, 4); /* Subtle shadow for a modern look */
}

.experience-card {
    background: #ffffff;
    border: 1px solid #e2c79e;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 6px 10px rgba(255, 255, 255, 0.2) inset;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    overflow: hidden;
    font-family: 'Roboto', sans-serif; /* Modern, clean font */
    transition: all 0.3s ease-in-out;
}

.experience-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2), 0 10px 15px rgba(255, 255, 255, 0.3) inset;
    background: #fff9e6; /* Soft yellow background on hover */
}

.experience-card h3 {
    font-size: 28px;
    font-weight: 720;
    color: #4b3f26; /* Rich brown for contrast */
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.experience-card h3:hover {
    color: #ff7c00; /* Orange hover effect for titles */
}

.experience-card p {
    font-size: 1.1rem;
    color: #6b4f28; /* Dark brown for readability */
    line-height: 1.6;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.experience-card p:hover {
    color: #ff7c00; /* Gold hover effect on description */
}

/* Add subtle animation to fade in the experience section */
@keyframes fade-in-page {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .experience-container {
        padding: 60px 20px; /* Reduced padding for smaller screens */
    }

    .experience-details {
        grid-template-columns: 1fr; /* Single column for mobile */
        gap: 20px; /* Reduced gap for smaller screens */
    }

    .experience-card {
        padding: 20px; /* Slightly smaller padding on cards */
    }

    .experience-container h2 {
        font-size: 2.2rem; /* Adjust heading size for small screens */
    }

    .experience-card h3 {
        font-size: 28px; /* Smaller card title */
    }

    .experience-card p {
        font-size: 1.2rem; /* Adjust paragraph size for readability */
    }

    .exp {
        font-size: 1.1rem; /* Smaller font size for mobile */
        line-height: 1.6; /* Adjust line spacing for better fit */
        padding: 10px; /* Reduced padding */
        margin: 10px 0; /* Reduced margin for smaller screens */
    }
}

@media (min-width: 768px) {
    .experience-details {
        grid-template-columns: repeat(2, 1fr); /* Two columns for tablets */
        gap: 30px; /* Increased gap for tablets */
    }

    .experience-container {
        max-width: 90%; /* Slightly wider container for tablets */
    }

    .experience-card h3 {
        font-size: 28px; /* Adjust card title for tablets */
    }

    .experience-card p {
        font-size: 1.2rem; /* Maintain readability for tablets */
    }

    .exp {
        font-size: 1.1rem; /* Slightly larger font for tablets */
        line-height: 1.8; /* Adjust line spacing for better readability */
        padding: 15px; /* Moderate padding for tablets */
        margin: 15px 0; /* Moderate margin for better spacing */
    }
}

@media (min-width: 1024px) {
    .experience-details {
        grid-template-columns: repeat(3, 1fr); /* Three columns for desktops */
        gap: 40px; /* Wider gap for desktop layout */
    }

    .experience-container {
        max-width: 80%; /* Wider layout for large screens */
    }

    .experience-container h2 {
        font-size: 3.2rem; /* Larger heading size for larger screens */
    }

    .experience-card h3 {
        font-size: 23px; /* Larger card title for desktops */
    }

    .experience-card p {
        font-size: 1.2rem; /* Larger paragraph text for readability */
    }

    .exp {
        font-size: 1.2rem; /* Larger font for desktops */
        line-height: 1.8; /* Maintain good readability */
        padding: 20px; /* Generous padding for desktops */
        margin: 20px 0; /* Generous margin for spacious layout */
    }
}

/* Modern Review Section CSS */

/* Main Review Section */
#reviews {
    padding: 40px 20px;
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    position: relative;
    overflow: hidden;
}

#reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 119, 198, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.reviews-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.reviews-container h2 {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.reviews-container h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
}

.reviews-container > p {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Reviews Display Container */
.reviews-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 20px 0 40px 0;
    scroll-behavior: smooth;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
}

.reviews-scroll::-webkit-scrollbar {
    height: 15px;
}

.reviews-scroll::-webkit-scrollbar-track {
    background: rgba(22, 20, 20, 0.61);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(49, 49, 45, 0.3);
    border: 4px solid transparent; /* Optional for padding effect */
    background-clip: content-box;  /* Makes the border effect visible */
}

.reviews-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.reviews-scroll::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #ffed4e, #ffd700);
}

/* Individual Review Cards */
.review {
    min-width: 320px;
    max-width: 400px;
    /* Remove max-height to allow content to grow */
    background: rgba(211, 227, 255, 0.95);
    color: #3f3b3b;

    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 10px 25px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);

     padding-top: 20px;
    padding-bottom: 20px;

    /* Word wrap and responsive growth */
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-height: 550px;
    overflow-y: auto;
/* Add this line to fix scrollbar overflow */
    overflow-x: hidden; /* prevents horizontal overflow */

}

/* Scrollbar Styling for .review (Professional Look) */
.review::-webkit-scrollbar {
    width: 10px;
}

.review::-webkit-scrollbar-track {
    background: linear-gradient(to bottom, transparent 10%, rgba(255, 255, 255, 0.1) 80%, transparent 90%);
    border-radius: 10px;
}

.review::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #8e2de2, #c471ed);
    border-radius: 50px;
    border: 3px solid rgba(27, 18, 66, 0.6); /* Padding illusion */
    background-clip: content-box;
    transition: background 0.3s ease;
    box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.15);
}

.review::-webkit-scrollbar-thumb:hover {
     background: linear-gradient(to bottom, #8e2de2, #c471ed);
}


.review::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 20px;
    pointer-events: none;
}

.review:hover {
    transform: translateY(-8px) scale(1.02);
}

.review h3 {
    font-size: 1.6rem;
    font-weight: 600;
     color: #1d1b1b;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.review h3::before {
    content: '👤';
    font-size: 1.2rem;
    opacity: 0.7;
}

.review p {
    font-size: 1rem;
    line-height: 1.7;
   color: #191a1b;
    margin-bottom: 20px;
    font-style: italic;
    position: relative;
    padding-left: 20px;
    font-weight: bold;
}

.review p::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 2rem;
    color: #667eea;
    font-weight: bold;
    opacity: 0.6;
}

.review small {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 1.3rem;
    text-transform: uppercase;
    font-weight: 800;
    color: #122244;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 15px;
}

.review small::before {
    content: '📍'; 
    font-size: 1.1rem;
    margin-left: 20px;

}

/* Rating Display */
.rating-display {
    margin-bottom: 15px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #262d72, #764ba2);
    border-radius: 25px;
    text-align: center;
    /* box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3); */
}

.rating-display {
    color: #ffdc14;
    font-weight: 600;
    font-size: 1rem;
}

.rating-display::after {
    content: '';
    display: block;
    margin-top: 8px;
}

/* Stars styling */
.review .rating-display {
    font-size: 1.1rem;
}

.rating-display:contains("★") {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #2d3748;
}

/* Date styling */
.review h4.Ssmall {
    font-size: 1.1rem;
    color: #2c3035;
    font-weight: 600;
    text-align: right;
    margin: 0;
    opacity: 0.8;
}

/* Share Your Thoughts Button */
.review-button {
    display: block;
    margin: 20px auto 0;
    padding: 18px 40px;
    background: linear-gradient(135deg, #f1de6d, #ece391);
    color: #2d3748;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 10px 25px rgba(255, 215, 0, 0.3),
        0 5px 15px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.review-button:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 35px rgba(255, 215, 0, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #ffed4e, #ffd700);
}

.review-button:active {
    transform: translateY(-1px);
}

/* Loading State */
.reviews-scroll:contains("Loading reviews...") {
    justify-content: center;
    align-items: center;
    min-height: 200px;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}


/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .reviews-container {
        max-width: 1400px;
    }
}

@media (max-width: 992px) {
    /* Tablet Landscape */
    #reviews {
        padding: 40px 20px;
    }
    
    .reviews-container h2 {
        font-size: 2.4rem;
    }
    
    .review {
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    /* Tablet Portrait */
    #reviews {
        padding: 30px 15px;
    }
    
    .reviews-container {
        max-width: 1400px;
    }
    
    .reviews-container h2 {
        font-size: 2rem;
    }
    
    .reviews-container > p {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }
    
    .review {
        min-width: 360px;
        padding: 25px 20px;
    }
    
    .review h3 {
        font-size: 1.4rem;
    }
    
    .review-button {
        padding: 16px 35px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    /* Mobile Devices */
    #reviews {
        padding: 20px 10px;
    }
    
    .reviews-container h2 {
        font-size: 1.8rem;
    }
    
    .reviews-container > p {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .reviews-scroll {
        gap: 16px;
        padding: 15px 0 30px 0;
    }
    
    .review {
        min-width: 85vw;
        scroll-snap-align: start;
        padding: 20px 15px;
    }
    
    .review h3 {
        font-size: 1.3rem;
    }
    
    .review p {
        font-size: 0.95rem;
        padding-left: 18px;
    }
    
    .review small {
        font-size: 1.1rem;
    }
    
    .review-button {
        padding: 14px 30px;
        font-size: 0.95rem;
    }
    
    .reviews-scroll::-webkit-scrollbar {
        display: none;
    }
}

@media (min-width: 1600px) {
    /* Large Desktop Screens */
    .reviews-container {
        max-width: 1600px;
    }
    
    .review {
        min-width: 380px;
    }
}

/* Enable snap scrolling on mobile */
@media (pointer: coarse) {
    .reviews-scroll {
        scroll-snap-type: x mandatory;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .review {
        border: 2px solid #000000;
    }
    
    .reviews-container h2 {
        text-shadow: none;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    #reviews {
        background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    }
    
    .review {
        background: rgba(211, 227, 255, 0.95);
        color: #3f3b3b;
    }
    
    .review h3 {
        color: #1d1b1b;
    }
    
    .review p {
        color: #191a1b;
    }
}

/* Modern Modal Styles */
/* ===== MODAL STYLES ===== */
/* ====== Base Modal Styles ====== */
.modal, #thank-you-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(4px);
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.4s ease-in-out;
}

.modal-content, #thank-you-modal .modal-content {
    background-color:#f0fdf4;
    padding: 2rem;
    margin: 5% auto;
    width: 90%;
    max-width: 500px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: slideUp 0.4s ease-out;
    font-family: 'Segoe UI', sans-serif;
    transition: all 0.3s ease;
}

.modal-content h3, #thank-you-modal .modal-content h3 {
    color: #222;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* ====== Close Button ====== */
.close-button {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 3rem;
    color: #666;
    cursor: pointer;
    transition: color 0.3s;
}
.close-button:hover {
    color: #007BFF;
}

/* ====== Form Elements ====== */
.modal form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #444;
}

.modal form input,
.modal form textarea {
    width: 95%;
    padding: 0.9rem 1rem;
    margin-bottom: 1.2rem;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 1rem;
    background-color: #f8f8f8;
    transition: border 0.3s, background-color 0.3s;
}

.modal form input:focus,
.modal form textarea:focus {
    border-color: #007BFF;
    background-color: #fff;
    outline: none;
}

/* ====== Submit Button ====== */
.modal form button,
#thank-you-modal .modal-content button {
    display: block;
    width: 100%;
    padding: 0.8rem 1.5rem;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.modal form button:hover,
#thank-you-modal .modal-content button:hover {
    background-color: #0056b3;
}

/* ====== Rating Stars ====== */
.rating {
    display: flex;
    justify-content: space-between;
    width: 220px;
    margin: 1rem auto;
}

.rating input {
    display: none;
}

.rating label {
    font-size: 2rem;
    color: #ccc;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.rating label:hover,
.rating label.yellow {
    color: #FFC107;
    transform: scale(1.1);
}

/* ====== Thank You Modal Content ====== */
#thank-you-modal .modal-content p {
    font-size: 1.1rem;
    color: #555;
    margin: 1rem 0;
}

/* ====== Responsive Adjustments ====== */
@media (max-width: 768px) {
    .modal-content,
    #thank-you-modal .modal-content {
        width: 90%;
        padding: 1.5rem;
    }

    .modal-content h3,
    #thank-you-modal .modal-content h3 {
        font-size: 1.5rem;
    }

    .rating {
        width: 160px;
    }

    .rating label {
        font-size: 1.6rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .modal-content,
    #thank-you-modal .modal-content {
        width: 70%;
    }
}

/* ====== Animations ====== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Animation Keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


  .articles-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 60px 20px;
    background: linear-gradient(135deg, #ffe989, #feffd4);
    color: #fff;
    border-radius: 20px;
    margin: 50px 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 1.2);
  }
  
  .content-container {
    max-width: 800px;
    text-align: center;
  }
  
  .section-heading {
    font-size: 2.5rem; /* Adjust for smaller screens */
    font-weight: 800;
    color: #052046;
    margin-bottom: 30px; 
    position: relative;
    text-transform: capitalize;
  }
  .section-heading::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: #7b3f00;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
  }
  .section-description {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #6b4f28; /* Dark brown for readability */
    line-height: 1.6;
    margin-bottom: 15px;
    transition: color 0.3s ease;
  }
  .btn-primary {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.2rem;
    color: #fff;
    background-color:#7b3f00;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(255, 138, 0, 0.4);
  }
  
  .btn-primary:hover {
    background-color: #a76a2a;
    box-shadow: 0 6px 15px rgba(255, 138, 0, 0.6);
    transform: translateY(-2px);
  }
    


/* Pricing Section */
#pricing {
    padding: 60px 20px;
    background: linear-gradient(90deg, #446583, #151446);
    text-align: center;
    color: #fff;
    border-radius: 12px;
    margin: 50px auto;
    max-width: 1200px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

#pricing h2 {
    font-size: 2.8rem;
    font-family: 'Tamil MN', serif;
    color: #ffd700;
    margin-bottom: 10px;
}

#pricing p {

    color: #fff8e1;
    margin-bottom: 20px;
}

.pricing-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: nowrap; /* Prevent wrapping for small screens */
    gap: 20px;
    padding-bottom: 20px;
    overflow-x: auto; /* Enable horizontal scrolling */
}

/* Show scrollbar in smaller screen sizes */
@media (max-width: 767px) {
    .pricing-container::-webkit-scrollbar {
        width: 8px; /* Width of the scrollbar */
        height: 8px; /* Height of the scrollbar */
    }

    .pricing-container::-webkit-scrollbar-thumb {
        background-color: #ffd700; /* Scrollbar thumb color */
        border-radius: 10px;
    }
}

/* Hide scrollbar in larger screen sizes */
@media (min-width: 768px) {
    .pricing-container::-webkit-scrollbar {
        display: none; /* Hide the scrollbar */
    }
}

.pricing-card {
    flex: 0 0 auto; /* Prevent the cards from stretching */
    max-width: 3200px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #ffd700;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.pricing-card.highlight {
    background: rgba(255, 215, 0, 0.2);
    border-color: #ffe600;
    transform: scale(1.05);
}


.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.pricing-card h3 {
    font-size: 1.8rem;
    color: #ffd700;
    margin-bottom: 15px;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    text-align: left;
}

.pricing-card ul li {
    font-size: 1.2rem;
    color: #fff8e1;
    margin-bottom: 10px;
}

.pricing-card button {
    background: #ffd700;
    color: #800000;
    font-weight: bold;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}
.pricing-card button a{
    text-decoration: none;
    color: #800000;


}
.pricing-card button:hover {
    background: #ffe600;
    transform: scale(1.1);
}

/* Media Queries for Responsiveness */

/* Small devices (phones, less than 768px) */
@media (max-width: 767px) {
    .pricing-container {
        flex-wrap: nowrap; /* Prevent wrapping for small screens */
        overflow-x: auto; /* Allow horizontal scrolling */
    }

    .pricing-card {
        flex: 0 0 auto; /* Prevent the cards from stretching */
        max-width: 300px;
        margin: 10px; /* Space out cards in small view */
    }

    #pricing h2 {
        font-size: 2rem; /* Adjust heading font size */
    }

    .pricing-card h3 {
        font-size: 1.6rem; /* Adjust pricing card heading size */
    }

    .pricing-card .price {
        font-size:2rem; /* Adjust price font size */
    }
}

/* Medium devices (tablets, 768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .pricing-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .pricing-card {
        flex: 1 1 300px;
        max-width: 300px;
    }

    #pricing h2 {
        font-size: 2.4rem; /* Adjust heading font size */
    }

    #pricing p {
        font-size: 2rem; /* Adjust paragraph font size */
    }
}

/* Large devices (desktops, larger than 1024px) */
@media (min-width: 1025px) {
    .pricing-container {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .pricing-card {
        flex: 1 1 300px;
        max-width: 300px;
    }

    #pricing h2 {
        font-size: 2.8rem; /* Default heading font size */
    }

    #pricing p {
        font-size: 2rem; /* Default paragraph font size */
    }
}


/* Contact Section */
/* Contact Section */
#contact {
    padding: 80px 40px;
    background: linear-gradient(145deg, #ffffff, #f5ed86);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    border-radius: 20px;
    max-width: 90%;
    margin: 60px auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    animation: fade-in-page 1s ease-out;
    border: 5px solid #70330f;
}

/* Contact Header */
.contact-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #080529;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    /* text-transform: uppercase; */
    letter-spacing: 1px;
}

.contact-content h2::after {
    content: '';
    width: 70%;
    height: 5px;
    background: linear-gradient(90deg, #ff4500, #ff7b00);
    position: absolute;
    bottom: -10px;
    left: 15%;
    border-radius: 10px;
    animation: slide-in-line 0.8s ease-out;
}

/* Contact Links */
.contact-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.contact-links a {
    text-decoration: none;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s ease;
    color: #fff;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    z-index: 0;
    transform: skewX(-45deg);
    transition: all 0.4s ease;
}

.contact-icon:hover::before {
    left: 100%;
}

.contact-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.contact-icon.whatsapp {
    background: linear-gradient(145deg, #25d366, #1da653);
}

.contact-icon.facebook {
    background: linear-gradient(145deg, #3b5998, #2e4779);
}

.contact-icon.linkedin {
    background: linear-gradient(145deg, #007bb6, #005e8c);
}

/* Contact Number */
.contact-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
    margin-top: 15px;
    background: linear-gradient(145deg, #ffffff, #e6e6e9);
    padding: 15px 25px;
    border: 3px solid #644311;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.contact-number:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Contact Paragraph */
.contactP {
    font-size: 1.8rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: center;
}

/* Animations */
@keyframes fade-in-page {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-in-line {
    from {
        width: 0;
    }
    to {
        width: 70%;
    }
}

/* Media Queries */

/* Small devices (phones, less than 768px) */
@media (max-width: 767px) {
    #contact {
        padding: 40px 15px;
    }

    .contact-content h2 {
        font-size: 1.8rem;
    }

    .contact-links {
        flex-direction: column;
        gap: 15px;
    }

    .contact-icon {
        font-size: 1rem;
        padding: 8px 16px;
    }

    .contact-number {
        font-size: 1.3rem;
        padding: 8px 16px;
    }

    .contactP {
        font-size: 25px;
    }
}

/* Medium devices (tablets, 768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    #contact {
        padding: 50px 20px;
    }

    .contact-content h2 {
        font-size: 2.2rem;
    }

    .contact-links {
        gap: 25px;
    }

    .contact-number {
        font-size: 1.4rem;
    }
}


/* Footer Section */
footer {
    background: linear-gradient(135deg,#1a1a40,rgb(12, 30, 44),#041c3b);
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    border-top: 4px solid #7b3f00;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-about, .footer-links, .footer-contact {
    flex: 1;
    min-width: 250px;
}

.footer-about h3, .footer-links h3, .footer-contact h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color:  #ffe2c2;
}

.footer-about p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ddd;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin: 10px 0;
}

.footer-links ul li a {
    color: #e49037;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color:#e49037;
}

.footer-contact p {
    margin: 10px 0;
    font-size: 1rem;
}

.footer-contact a {
    color: #e49037;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color:  #7b3f00;
}

/* Social Icons */
.social-icons {
    margin-top: 20px;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-left: 120px;
}

.social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #444;
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, transform 0.3s;
}

.social-icon.facebook:hover {
    background: #3b5998;
    color: #000;
    transform: scale(1.1);
}

.social-icon.linkedin:hover {
    background: #007bb6;
    color: #000;
    transform: scale(1.1);
    
}

.social-icon.whatsapp:hover {
    background: #25d366;
    color: #000;
    transform: scale(1.1);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #aaa;
}

.footer-bottom p {
    margin: 0;
}
.footlogo {
    width: 100px; /* Adjust the width as needed */
    height: auto; /* Maintain aspect ratio */
    margin: 10px 0; /* Add space around the image */
    display: block; /* Ensures it's treated as a block element */
    margin-left: auto; /* Center the image horizontally */
    margin-right: auto; /* Center the image horizontally */
    border-radius: 10px; /* Optional: Add rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 1.1); /* Optional: Add a subtle shadow */
}

/* Responsive Media Queries */
/* For small screens like mobile (width <= 600px) */
@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-about, .footer-links, .footer-contact {
        min-width: 100%;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
        margin-left: 0;
    }

    .footer-about h3, .footer-links h3, .footer-contact h3 {
        font-size: 1.2rem;
    }

    .footer-about p, .footer-contact p {
        font-size: 0.9rem;
    }

    .footer-links ul li {
        margin: 5px 0;
    }

    .footlogo {
        width: 80px; /* Smaller size for mobile */
        height: auto; /* Maintain aspect ratio */
        margin: 10px auto; /* Center and add spacing */
    }
}

/* For medium screens like tablets (width <= 900px) */
@media (max-width: 900px) {
    .footer-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-about, .footer-links, .footer-contact {
        flex: 1;
        min-width: 300px;
        text-align: center;
    }

    .footer-about h3, .footer-links h3, .footer-contact h3 {
        font-size: 1.3rem;
    }

    .footer-about p, .footer-contact p {
        font-size: 1rem;
    }

    .social-icons {
        justify-content: center;
        margin-left: 0;
    }

    .footlogo {
        width: 100px; /* Slightly larger for tablets */
        height: auto;
        margin: 15px auto;
    }
}

/* For large screens like desktops (width > 900px) */
@media (min-width: 901px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-about, .footer-links, .footer-contact {
        text-align: left;
    }

    .social-icons {
        justify-content: flex-start;
        margin-left: 0px;
    }

    .footlogo {
        width: 120px; /* Larger size for desktops */
        height: auto;
        margin: 0 0 20px 100px; /* Adjust spacing */
    }
}
