body {
    font-family: 'Open Sans', sans-serif;
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6,
.nav-link {
    font-family: 'Poppins', sans-serif;
}

.page {
    display: none;
}

.active-page {
    display: block;
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: #FF7F11;
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #FF9A40;
    transform: translateY(-2px);
}

.nav-link {
    position: relative;
}

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

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

.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: scale(1.02);
}

/* Container spacing */
#testimonials .section {
    padding: 60px 0;
}

/* Grid layout for testimonials */
.testimonial-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Testimonial text */
.testimonial-content p {
    color: #555;
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Author section */
.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 16px;
}

.author-image {
    width: 50px;
    height: 50px;
    background: #e0e0e0;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
}

.author-info h4 {
    font-weight: 600;
    color: #1a237e;
    /* Deep blue */
    margin-bottom: 2px;
}

.author-info p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 4px;
}

/* Rating stars */
.rating {
    color: #f4c430;
    /* Golden */
    font-size: 0.9rem;
}

/* Responsive grid */
.grid.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

/* Contact Page Styles */

/* Container & Section */
.page {
    display: none;
}

.active-page {
    display: block;
}

.section {
    padding: 60px 0;
}

.section-title h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0A2463;
}

.section-title p {
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

/* Card Hover Effect */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Contact Form */
.form-control {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border-radius: 6px;
    border: 1px solid #ccc;
    outline: none;
    transition: border 0.3s;
}

.form-control:focus {
    border-color: #0A2463;
    box-shadow: 0 0 4px rgba(10, 36, 99, 0.2);
}

textarea.form-control {
    resize: none;
}

/* Button */
.btn {
    background-color: #FF7F11;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
    display: inline-block;
    text-align: center;
    font-weight: 600;
}

.btn:hover {
    background-color: #e66f0e;
}

/* Social Icons */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 14px;
    text-decoration: none;
    background: #0A2463;
    color: white;
    transition: 0.3s;
}

.social-icon:hover {
    background: #FF7F11;
    transform: scale(1.1);
}

/* Contact Info Items */
.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: #0A2463;
}

.contact-item p {
    color: #555;
    font-size: 0.95rem;
}

/* Map */
.map-container iframe {
    width: 100%;
    height: 350px;
    border: none;
    border-radius: 8px;
}

/* Footer Base */
.footer {
    background-color: #0A2463;
    /* Navy blue */
    color: #ffffff;
    padding: 60px 0 20px;
    font-family: 'Open Sans', sans-serif;
}

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

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

/* Footer Logo */
.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-logo span {
    color: #FF7F11;
    /* Orange accent */
}

/* About Text */
.footer-about p {
    color: #ddd;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 14px;
    background: #FF7F11;
    color: #fff;
    transition: 0.3s;
    text-decoration: none;
}

.footer-social .social-icon:hover {
    background: #ffffff;
    color: #0A2463;
    transform: translateY(-3px);
}

/* Footer Links */
.footer-links h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.footer-links ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #FF7F11;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding-top: 15px;
    font-size: 0.9rem;
    color: #aaa;
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}


/* Responsive Layout */
@media (max-width: 768px) {
    .contact-section {
        flex-direction: column;
    }
}

/* Hero Section image */
.hero-image {
    width: 100%;
    max-width: 574px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
/* Marquee Effect */
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}

.marquee {
  display: inline-block;       /* Shrinks to fit content */
  overflow: hidden;
  background: #fef4e8;
  color: #1e3a8a;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}

.marquee span {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 15s linear infinite;
}

/* Pause animation on hover */
.marquee:hover span {
  animation-play-state: paused;
}