@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Poppins:wght@400;500;600;700&display=swap');

/* Universal Box Sizing */
*, *::before, *::after {
    box-sizing: border-box;
    max-width: 100%;
}

/* Color Variables */
:root {
    --mirage-dark: #001F3F;
    --mirage-mid: #41729F;
    --mirage-light: #E1F1FF;
    --bg-light: var(--mirage-light);
    --bg-alt: var(--mirage-mid);
    --text-primary: #001F3F;
    --text-secondary: #41729F;
    --success: #4CAF50;
    --platinum-dark: #001F3F;
    --platinum-mid: #41729F;
    --platinum-light: #E1F1FF;
    --primary-green: #25664a;
    --secondary-green: #29523a;
    --accent-yellow: #fbc531;
}

/* Font fallbacks to prevent layout shifts */
html, body {
  margin: 0;
  padding: 0;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-primary);
    background: linear-gradient(135deg, rgba(255,248,220,0.8) 0%, rgba(245,230,179,0.8) 100%);
    min-height: 100vh;
    /* animation: animated-bg-move 12s ease-in-out infinite alternate; */
    background-size: 200% 200%;
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    font-smooth: antialiased;
    /* will-change: background-position; */
    transform: translateZ(0);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Apply consistent typography */
*, *::before, *::after {
    font-family: inherit;
}

@keyframes animated-bg-move {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

/* Main Content Container */
#main-content {
    min-height: 100vh;
    padding-top: 0px;
    overflow-x: hidden;
    position: relative;
}

#mainContent {
    min-height: 100vh;
    padding-top: 20px;
    overflow-x: hidden;
    position: relative;
}

/* Fix for hire-security page */
body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Ensure only one scrollbar */
html {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Fix double scrollbar issue */
#main-content {
    overflow: hidden;
}

.hire-hero-banner {
    overflow: visible;
}

/* Prevent double scrollbars */
* {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
    max-width: 100vw;
}

/* Ensure no horizontal overflow */
.homepage-section,
.highlights-section,
.trust-section,
.centered-form-section,
.testimonials-section,
.faq-preview-section {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Webkit scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

h1, h2, h3, h4, h5, h6, .logo, .section-title, .hero-title, .cta-title {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 700;
    color: var(--platinum-dark);
}

/* Ensure buttons, inputs, and other elements inherit font */
button, input, select, textarea, .btn, .homepage-btn, .contact-btn {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

h1 {
    color: var(--primary-green) !important;
}

.nav-links li a, .hero-tagline, .hero-intro, .why-choose-list, .trust-list, .legacy-list, .cta-text, .main-quote, .quote-author {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 500;
    color: var(--text-primary);
}

/* Training Card Styles */
.training-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(20,33,61,0.15);
    border-top-color: #fbc531;
}

.training-card h3 {
    font-family: 'Poppins', sans-serif;
}

.training-card ul {
    list-style: none;
    padding-left: 0;
}

.training-card ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.training-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #25664a;
    font-weight: bold;
}

/* Contact Top Bar */
.contact-top-bar {
  background-color: #0d1b2a;
  color: #fff;
  padding: 5px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid #1c4587;
}

.contact-top-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-top-left {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.contact-top-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-top-item:hover {
  color: #fbc531;
}

.contact-top-item i {
  font-size: 0.8rem;
  color: #fbc531;
}

/* Navbar Container */
.navbar {
  background-color: #1c4587;
  color: #fff;
  padding: 5px 10px;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  border-bottom: 1px solid #f5eec0;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

/* Top Flex Container */
.navbar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 5px;
}

/* Logo */
.logo img {
  height: 35px;
    width: auto;
  border-radius: 3px;
  background: #ffffff;
    padding: 1px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Title (Institute Name) */
.title {
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  white-space: normal;
  word-wrap: break-word;
  hyphens: auto;
  margin: 0 10px;
  line-height: 1.1;
  max-width: 250px;
}

/* Navigation Menu */
.navbar-menu {
  flex: 1;
    display: flex;
  justify-content: center;
  align-items: center;
}

.navbar-menu ul {
    list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
    padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.navbar-menu a {
    text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 13px;
  transition: all 0.3s ease;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  height: 100%;
}

.navbar-menu a:hover {
    color: #fbc531;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

/* Contact Button Container (Fixed to right) */
.contact-container {
  flex-shrink: 0;
  margin-left: 5px;
}

/* Contact Button Style */
.contact-btn {
  background: linear-gradient(to right, #fbc531, #e1a100);
  padding: 8px 14px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: bold;
  color: #1c1c1c;
  box-shadow: none;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 12px;
}

.contact-btn:hover {
  background: #ffc107;
  transform: translateY(-2px);
  box-shadow: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .navbar {
    padding: 6px 20px;
  }
  
  .navbar-top {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .title {
    font-size: 16px;
    text-align: center;
  }

  .navbar-menu {
    order: 3;
    width: 100%;
  }

  .navbar-menu ul {
    flex-direction: column;
    gap: 8px;
  }

  .contact-container {
    order: 4;
    margin-top: 8px;
  }
  
  .logo img {
    height: 50px;
  }
}

.hero-main-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #25664a;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #29523a;
    margin-bottom: 2rem;
    max-width: 500px;
}

.homepage-hero-image {
    flex: 1;
    position: relative;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.homepage-hero-image img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(27,33,58,0.15);
}

.call-enquiry-box {
    position: relative;
    margin-top: 2rem;
    background: linear-gradient(135deg, #25664a 0%, #183a2c 100%);
    color: #fff;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(37,102,74,0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 280px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    justify-content: center;
}

.call-enquiry-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37,102,74,0.4);
    background: linear-gradient(135deg, #183a2c 0%, #25664a 100%);
}

.call-enquiry-icon {
    flex-shrink: 0;
}

.call-enquiry-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.call-enquiry-title {
    font-size: 0.9rem;
    opacity: 0.9;
}



/* Homepage Card Styles */
.homepage-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--platinum-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.homepage-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    gap: 2rem;
}

.homepage-card-list li {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.7);
    border-radius: 1rem;
    border-left: 4px solid #fbc531;
    box-shadow: 0 4px 16px rgba(27,33,58,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.homepage-card-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(27,33,58,0.12);
}

.homepage-card-list li b {
    color: #25664a;
        font-size: 1.1rem;
}

/* About Us Wire Section */
.aboutus-wire-section {
    background: linear-gradient(135deg, rgba(230,245,233,0.8) 0%, rgba(255,255,255,0.8) 100%);
    border-radius: 2rem;
    margin: 2rem auto;
    box-shadow: 0 8px 32px rgba(27,33,58,0.08);
}

.aboutus-wire-content {
    flex: 2;
    align-items: flex-start;
    justify-content: center;
}

.aboutus-wire-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.aboutus-wire-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.aboutus-wire-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 500px;
}

.aboutus-wire-images {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
        align-items: center;
} 

.aboutus-wire-images img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(27,33,58,0.1);
    transition: transform 0.3s ease;
}

.aboutus-wire-images img:hover {
    transform: scale(1.05);
}

/* Why Choose Wire Section */
.whychoose-wire-section {
    background: linear-gradient(135deg, rgba(255,251,230,0.8) 0%, rgba(255,255,255,0.8) 100%);
    border-radius: 2rem;
    margin: 2rem auto;
    box-shadow: 0 8px 32px rgba(27,33,58,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
}

.whychoose-wire-content {
    flex: 2;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
}

.whychoose-wire-image {
    flex: 1;
    align-items: center;
    justify-content: center;
}

.whychoose-wire-image img {
    width: 100%;
    max-width: 400px;
        height: auto;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(27,33,58,0.15);
}

/* Trust Wire Section */
.trust-wire-section {
    background: linear-gradient(135deg, rgba(230,245,233,0.8) 0%, rgba(255,255,255,0.8) 100%);
    border-radius: 2rem;
    margin: 2rem auto;
    box-shadow: 0 8px 32px rgba(27,33,58,0.08);
}

.trust-wire-content {
    flex: 2;
    align-items: flex-start;
    justify-content: center;
}

.trust-wire-image {
    flex: 1;
    align-items: center;
    justify-content: center;
}

.trust-wire-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(27,33,58,0.15);
}

/* Legacy Wire Section */
.legacy-wire-section {
    background: linear-gradient(135deg, rgba(255,251,230,0.8) 0%, rgba(255,255,255,0.8) 100%);
    border-radius: 2rem;
    margin: 2rem auto;
    box-shadow: 0 8px 32px rgba(27,33,58,0.08);
}

.legacy-wire-image {
    flex: 1;
  align-items: center;
    justify-content: center;
}

.legacy-wire-image img {
  width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(27,33,58,0.15);
}

.legacy-wire-content {
    flex: 2;
    align-items: flex-start;
    justify-content: center;
}

/* CTA Wire Section */
.cta-wire-section {
    background: linear-gradient(135deg, rgba(230,245,233,0.8) 0%, rgba(255,255,255,0.8) 100%);
    border-radius: 2rem;
    margin: 2rem auto;
    box-shadow: 0 8px 32px rgba(27,33,58,0.08);
}

.cta-wire-content {
    flex: 2;
    align-items: flex-start;
    justify-content: center;
}

.cta-wire-image {
    flex: 1;
    align-items: center;
    justify-content: center;
}

.cta-wire-image img {
        width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(27,33,58,0.15);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, rgba(230,245,233,0.8) 0%, rgba(255,255,255,0.8) 100%);
    border-radius: 2rem;
    margin: 2rem auto;
    padding: 3rem 2rem;
    box-shadow: 0 8px 32px rgba(27,33,58,0.08);
    max-width: 1200px;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Remove special centering for the last stats card */
.stats-cards > .stats-card:last-child {
    justify-self: unset;
    grid-column: auto;
}

@media (min-width: 900px) {
  .stats-cards > .stats-card:last-child {
    grid-column: auto;
  }
}

.stats-card {
    background: rgba(255,255,255,0.9);
    padding: 2rem;
    border-radius: 1.5rem;
        text-align: center;
    box-shadow: 0 4px 16px rgba(27,33,58,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid rgba(251,197,49,0.2);
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(27,33,58,0.12);
}

.stats-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.stats-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #25664a;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.stats-label {
    font-size: 1.1rem;
    color: #29523a;
    font-weight: 500;
}

/* Testimonials Marquee Section */
.testimonials-marquee-section {
    background: linear-gradient(135deg, rgba(255,251,230,0.8) 0%, rgba(255,255,255,0.8) 100%);
    border-radius: 2rem;
    margin: 2rem auto;
    padding: 3rem 2rem;
    box-shadow: 0 8px 32px rgba(27,33,58,0.08);
    max-width: 1200px;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.testimonials-marquee-title {
    text-align: center;
    font-size: 2.5rem;
    color: #25664a;
    margin-bottom: 2rem;
    font-family: 'Poppins', sans-serif;
}

.testimonials-marquee-viewport {
    overflow: hidden;
    position: relative;
}

.testimonials-marquee-list {
    display: flex;
    gap: 2rem;
    animation: marquee 30s linear infinite;
}

.testimonials-marquee-item {
    background: rgba(255,255,255,0.9);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 16px rgba(27,33,58,0.08);
    min-width: 350px;
    border: 2px solid rgba(251,197,49,0.2);
}

.testimonials-marquee-quote {
    font-style: italic;
    font-size: 1.1rem;
    color: #29523a;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonials-marquee-client {
    font-weight: 700;
    color: #25664a;
    margin-bottom: 0.3rem;
}

.testimonials-marquee-role {
    font-size: 0.9rem;
    color: #41729F;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

.animate-from-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-from-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.animate-from-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-from-right.animate {
    opacity: 1;
    transform: translateX(0);
}

/* Footer Styles */
.footer {
    background: var(--mirage-dark);
    color: var(--mirage-light);
    padding: 2rem 0 1rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-content h4 {
    color: #fbc531;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.footer-content ul li {
    margin-bottom: 0.5rem;
}

.footer-content ul li a {
    color: var(--mirage-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content ul li a:hover {
    color: #fbc531;
}

.social-icons {
  display: flex;
    gap: 1rem;
}

.social-icons a {
    color: var(--mirage-light);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 0.5rem;
    background: rgba(255,255,255,0.1);
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background: rgba(251,197,49,0.2);
    color: #fbc531;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    }
    
    .social-icons {
  justify-content: center;
    }
}

/* Enhanced Footer Responsiveness */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 1rem 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-content h4 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-content ul {
        gap: 0.5rem;
    }
    
    .footer-content ul li {
        margin-bottom: 0.5rem;
    }
    
    .footer-content ul li a {
        font-size: 0.9rem;
        padding: 0.3rem 0;
    }
    
    .social-icons {
        justify-content: center;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .social-icons a {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .footer-bottom {
        padding: 1rem 0;
        text-align: center;
        font-size: 0.85rem;
    }
}

@media (max-width: 481px) {
    .footer {
        padding: 1.5rem 0.8rem 0.8rem;
    }
    
    .footer-content {
        gap: 1.2rem;
    }
    
    .footer-content h4 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .footer-content ul li a {
        font-size: 0.85rem;
    }
    
    .social-icons {
        gap: 0.8rem;
    }
    
    .social-icons a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .footer-bottom {
        font-size: 0.8rem;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
    overflow-x: hidden;
}

/* Prevent horizontal scrolling on all devices */
* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

main {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.homepage-section {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.homepage-col {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* Button Styles */
.homepage-btn {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #ffffff;
    padding: 0.8rem 1.8rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.homepage-btn:hover {
    background: linear-gradient(135deg, #fcb045 0%, #fbc531 100%);
    color: #183a2c;
  transform: translateY(-2px);
    box-shadow: none;
}

.homepage-btn:active {
  transform: translateY(0);
    box-shadow: none;
}

/* Homepage Card Title */
.homepage-card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

/* Homepage Card List */
.homepage-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.homepage-card-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.homepage-card-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

/* Homepage Section */
.homepage-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 3rem 2rem;
    border-radius: 2rem;
    box-shadow: 0 8px 32px rgba(27, 33, 58, 0.08);
    flex-wrap: wrap;
}

.homepage-col {
    flex: 1;
    min-width: 300px;
}

/* Homepage Course Card */
.home-course-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 16px rgba(27, 33, 58, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    border-top: 4px solid var(--accent-yellow);
    margin-bottom: 1rem;
}

.home-course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(27, 33, 58, 0.12);
}

.home-course-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.home-course-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

/* About Us Wire Images */
.aboutus-wire-images {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Highlights Section */
.highlights-section {
    background: linear-gradient(135deg, rgba(230, 245, 233, 0.8) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-radius: 2rem;
    margin: 3rem auto;
    padding: 3rem 2rem;
    box-shadow: 0 8px 32px rgba(27, 33, 58, 0.08);
    max-width: 1200px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 2rem;
    font-family: 'Poppins', sans-serif;
}

.highlights-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.highlight-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 16px rgba(27, 33, 58, 0.08);
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

.highlight-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* Trust Section */
.trust-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.9) 100%);
    border-radius: 2rem;
    margin: 3rem auto;
    padding: 3rem 2rem;
    box-shadow: 0 8px 32px rgba(27, 33, 58, 0.08);
    max-width: 1200px;
    text-align: center;
}

.trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.trust-list li {
    background: rgba(230, 245, 233, 0.8);
    color: var(--primary-green);
    padding: 1rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(37, 102, 74, 0.1);
}

/* Service Card Hover Effects */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(27, 33, 58, 0.12);
    cursor: pointer;
}

/* Gallery Image Hover Effects */
.animate-on-scroll img:hover,
.animate-from-left img:hover,
.animate-from-right img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 480px) {
    .homepage-card-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hire-hero-title {
        font-size: 1.8rem;
    }
    
    .stats-value {
        font-size: 2rem;
    }
    
    .highlight-item {
        min-width: 100%;
        margin-bottom: 1rem;
    }
    
    .trust-list li {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .aboutus-wire-images img {
        width: 70px;
        height: 50px;
    }
    
    .home-course-card {
        margin-bottom: 1.5rem;
    }
    
    .homepage-section {
        padding: 1rem 1rem;
        margin: 1rem auto;
    }
    
    .highlights-section,
    .trust-section {
        padding: 2rem 1rem;
        margin: 2rem auto;
    }
}

/* Animation Issues */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section Specific Styles */
.hero-section-wire {
    padding-top: 1rem !important;
    margin-top: 0 !important;
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-from-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.animate-from-left.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-from-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.animate-from-right.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Animation Delays */
.animate-on-scroll[style*="animation-delay"] {
    transition-delay: var(--animation-delay, 0s);
}

/* Stats Animation */
.stats-value {
  font-size: 2.2rem;
  font-weight: 700;
    color: #25664a;
    margin-bottom: 0.3rem;
    text-align: center;
  }

.stats-value[data-target] {
    transition: all 0.3s ease;
}

/* Form Issues */
input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* Image Issues */
img {
    max-width: 100%;
    height: auto;
}

/* Link Issues */
a {
  text-decoration: none;
    color: inherit;
}

/* Modal Styles */
.modal {
    z-index: 1050;
}

.modal-backdrop {
    z-index: 1040;
}

.hire-hero-btn {
    cursor: pointer;
    transition: all 0.3s ease;
}

.hire-hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* List Issues */
ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 0;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #28a745, #20c997);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.footer-section h4 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.footer-section p {
    color: #e2e8f0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: #28a745;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-links a:hover {
    background: #28a745;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    color: #e2e8f0;
}

.contact-info p i {
    color: #28a745;
    width: 16px;
    font-size: 0.9rem;
}

.contact-info p a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info p a:hover {
    color: #28a745;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #cbd5e0;
    margin: 0;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #cbd5e0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #28a745;
}

/* Mobile Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }
    
    .footer-section h3 {
        font-size: 1.3rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 1.5rem 1rem;
    }
    
    .footer-bottom {
        padding: 1rem;
    }
    
    .footer-bottom-links {
        gap: 1rem;
    }
    
    .footer-bottom-links a {
        font-size: 0.8rem;
    }
}

/* Mandhata Singh Page Styles */
.mandhata-hero-section {
    background: linear-gradient(120deg, #e1f1ff 0%, #c1e0ff 100%);
    padding: 3.5rem 0 2.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mandhata-hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.mandhata-profile-img {
    height: 110px;
    width: 110px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(27, 33, 58, 0.10);
    background: #fff;
    padding: 8px;
    margin-bottom: 1rem;
}

.mandhata-hero-title {
    font-size: 2.3rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    color: #143d5c;
    margin-bottom: 1rem;
    margin-top: 1rem;
    line-height: 1.2;
}

.mandhata-hero-subtitle {
    color: #29523a;
    font-size: 1.18rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.mandhata-section {
    max-width: 900px;
    margin: 2rem auto;
    border-radius: 2rem;
    box-shadow: 0 4px 24px rgba(27, 33, 58, 0.10);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.mandhata-section-yellow {
    background: #fffbe6;
}

.mandhata-section-green {
    background: #e6f5e9;
}

.mandhata-section-links {
    background: transparent;
    text-align: center;
    box-shadow: none;
}

.mandhata-text {
    font-size: 1.13rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 1rem;
}

.mandhata-awards-list {
    font-size: 1.08rem;
    margin: 1.2rem 0 0 0;
    padding-left: 1.2rem;
    list-style: disc;
}

.mandhata-awards-list li {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #333;
}

.mandhata-quote {
    font-style: italic;
    color: #25664a;
    margin: 1.2rem 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    padding: 1rem;
    background: rgba(37, 102, 74, 0.1);
    border-radius: 1rem;
    border-left: 4px solid #25664a;
}

.mandhata-links-list {
    font-size: 1.08rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mandhata-links-list li {
    margin-bottom: 0.7rem;
}

.mandhata-links-list a {
    color: #25664a;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background: rgba(37, 102, 74, 0.1);
}

.mandhata-links-list a:hover {
    color: #fff;
    background: #25664a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 102, 74, 0.3);
}

.mandhata-back-section {
    text-align: center;
    margin: 2.5rem 0;
    padding: 0 2rem;
}

.mandhata-back-btn {
    background: #25664a !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    padding: 0.8rem 2.2rem !important;
    border-radius: 2rem !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    text-decoration: none !important;
}

.mandhata-back-btn:hover {
    background: #1e4f3a !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(37, 102, 74, 0.3) !important;
}

/* Mobile Responsive for Mandhata Singh Page */
@media (max-width: 768px) {
    .mandhata-hero-title {
        font-size: 1.8rem;
    }
    
    .mandhata-hero-subtitle {
        font-size: 1rem;
    }
    
    .mandhata-section {
        margin: 1.5rem auto;
        padding: 2rem 1.5rem;
    }
    
    .mandhata-text {
        font-size: 1rem;
    }
    
    .mandhata-awards-list {
        font-size: 0.95rem;
        padding-left: 1rem;
    }
    
    .mandhata-links-list {
        font-size: 0.95rem;
    }
    
    .mandhata-quote {
        font-size: 1rem;
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .mandhata-hero-title {
        font-size: 1.5rem;
    }
    
    .mandhata-hero-subtitle {
        font-size: 0.9rem;
    }
    
    .mandhata-section {
        margin: 1rem auto;
        padding: 1.5rem 1rem;
        border-radius: 1.5rem;
    }
    
    .mandhata-text {
        font-size: 0.95rem;
    }
    
    .mandhata-awards-list {
        font-size: 0.9rem;
    }
    
    .mandhata-links-list {
        font-size: 0.9rem;
    }
    
    .mandhata-links-list a {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .mandhata-back-btn {
        font-size: 1rem !important;
        padding: 0.7rem 1.8rem !important;
    }
}

/* Page Styles (Privacy Policy, Terms & Conditions, Sitemap) */
.page-hero-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 4rem 0 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #28a745, #20c997);
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.page-hero-title {
    font-size: 2.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    color: #000000;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-hero-subtitle {
    color: #e2e8f0;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.page-content-section {
    padding: 3rem 0;
    background: #f8fafc;
}

.page-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.policy-section, .sitemap-section {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(27, 33, 58, 0.08);
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid #28a745;
}

.policy-section h2, .sitemap-section h2 {
    color: #1e3c72;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
}

.policy-section p, .sitemap-section p {
    color: #4a5568;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.policy-section ul, .sitemap-list {
    color: #4a5568;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.policy-section ul li, .sitemap-list li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.policy-section ul li a, .sitemap-list li a {
    color: #28a745;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.policy-section ul li a:hover, .sitemap-list li a:hover {
    color: #1e4f3a;
    text-decoration: underline;
}

.contact-info {
    background: rgba(40, 167, 69, 0.1);
    padding: 1.5rem;
    border-radius: 1rem;
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: #28a745;
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    color: #1e4f3a;
    text-decoration: underline;
}

.policy-footer, .sitemap-footer {
    text-align: center;
    padding: 2rem;
    background: rgba(40, 167, 69, 0.05);
    border-radius: 1rem;
    margin-top: 2rem;
}

.policy-footer p, .sitemap-footer p {
    color: #666;
    margin-bottom: 0.5rem;
}

.quick-action {
    background: #28a745 !important;
    color: #fff !important;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem !important;
    font-weight: 600 !important;
    display: inline-block !important;
    margin: 0.2rem !important;
    transition: all 0.3s ease !important;
}

.quick-action:hover {
    background: #1e4f3a !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3) !important;
    text-decoration: none !important;
}

.page-back-section {
    text-align: center;
    padding: 2rem 0;
    background: #fff;
}

.page-back-btn {
    background: #25664a !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    padding: 0.8rem 2.2rem !important;
    border-radius: 2rem !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    text-decoration: none !important;
}

.page-back-btn:hover {
    background: #1e4f3a !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(37, 102, 74, 0.3) !important;
}

/* Mobile Responsive for Page Styles */
@media (max-width: 768px) {
    .page-hero-title {
        font-size: 2rem;
    }
    
    .page-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .page-content-wrapper {
        padding: 0 1.5rem;
    }
    
    .policy-section, .sitemap-section {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .policy-section h2, .sitemap-section h2 {
        font-size: 1.3rem;
    }
    
    .policy-section p, .sitemap-section p,
    .policy-section ul, .sitemap-list {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .page-hero-title {
        font-size: 1.8rem;
    }
    
    .page-hero-subtitle {
        font-size: 1rem;
    }
    
    .page-content-wrapper {
        padding: 0 1rem;
    }
    
    .policy-section, .sitemap-section {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
        border-radius: 1rem;
    }
    
    .policy-section h2, .sitemap-section h2 {
        font-size: 1.2rem;
    }
    
    .policy-section p, .sitemap-section p,
    .policy-section ul, .sitemap-list {
        font-size: 0.95rem;
    }
    
    .page-back-btn {
        font-size: 1rem !important;
        padding: 0.7rem 1.8rem !important;
    }
}

/* Contact Page Styles */
.contact-info-section {
    margin-bottom: 3rem;
}

.contact-info-section h2 {
    color: #1e3c72;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(27, 33, 58, 0.08);
    border: 1px solid rgba(40, 167, 69, 0.1);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(27, 33, 58, 0.12);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: #1e3c72;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.contact-card p {
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.contact-link {
    color: #28a745;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #1e4f3a;
    text-decoration: underline;
}

.contact-note {
    color: #718096;
    font-size: 0.9rem;
    font-style: italic;
}

.contact-form-section {
    margin-bottom: 3rem;
}

.contact-form-section h2 {
    color: #1e3c72;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.contact-form {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(27, 33, 58, 0.08);
    border: 1px solid rgba(40, 167, 69, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1e3c72;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #4a5568;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
}

.checkbox-label a {
    color: #28a745;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.contact-submit-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.contact-submit-btn:hover {
    background: linear-gradient(135deg, #1e4f3a 0%, #1a8f7a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

.service-areas-section {
    margin-bottom: 3rem;
}

.service-areas-section h2 {
    color: #1e3c72;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.area-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(27, 33, 58, 0.06);
    border: 1px solid rgba(40, 167, 69, 0.1);
    transition: all 0.3s ease;
}

.area-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(27, 33, 58, 0.1);
}

.area-card h3 {
    color: #1e3c72;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.area-card p {
    color: #718096;
    font-size: 0.9rem;
}

.emergency-section {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border-radius: 1.5rem;
    padding: 2.5rem;
    text-align: center;
    color: #fff;
    margin-bottom: 2rem;
}

.emergency-section h2 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.emergency-content p {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.emergency-btn {
    display: inline-block;
    background: #fff;
    color: #dc3545;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 1rem 0;
    transition: all 0.3s ease;
}

.emergency-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
    color: #dc3545;
}

.emergency-note {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-style: italic;
}

/* Mobile Responsive for Contact Page */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .areas-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .emergency-section {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-form {
        padding: 1.5rem 1rem;
    }
    
    .emergency-section {
        padding: 1.5rem 1rem;
    }
    
    .emergency-btn {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
}

/* Map Section Styles */
.map-section {
    margin-bottom: 3rem;
}

.map-section h2 {
    color: #1e3c72;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.map-container {
    background: #fff;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(27, 33, 58, 0.08);
    border: 1px solid rgba(40, 167, 69, 0.1);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.map-container iframe {
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(27, 33, 58, 0.1);
    width: 100%;
    height: 400px;
}

.map-info {
    text-align: center;
    background: rgba(40, 167, 69, 0.05);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(40, 167, 69, 0.1);
}

.map-info p {
    color: #4a5568;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.map-link {
    display: inline-block;
    background: #28a745;
    color: #fff;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.map-link:hover {
    background: #1e4f3a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    color: #fff;
}

/* Mobile Responsive for Map Section */
@media (max-width: 768px) {
    .map-container {
        padding: 1rem;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .map-info {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .map-container iframe {
        height: 250px;
    }
    
    .map-link {
        font-size: 0.9rem;
        padding: 0.7rem 1.2rem;
    }
}

/* Admission Page Styles */
.admission-hero-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 4rem 0 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.admission-hero-title {
    font-size: 3rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.admission-hero-desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.admission-form-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.admission-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.admission-info {
    background: #fff;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(27, 33, 58, 0.08);
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.admission-info h2 {
    color: #1e3c72;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    font-family: 'Poppins', sans-serif;
}

.admission-benefits {
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(40, 167, 69, 0.05);
    border-radius: 0.8rem;
    border-left: 4px solid #28a745;
}

.benefit-item i {
    font-size: 1.5rem;
    color: #28a745;
    margin-right: 1rem;
    margin-top: 0.2rem;
}

.benefit-item h3 {
    color: #1e3c72;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.benefit-item p {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.course-info {
    background: rgba(27, 33, 58, 0.05);
    padding: 1.5rem;
    border-radius: 0.8rem;
}

.course-info h3 {
    color: #1e3c72;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.course-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-info li {
    color: #4a5568;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(27, 33, 58, 0.1);
}

.course-info li:last-child {
    border-bottom: none;
}

.admission-form-container {
    background: #fff;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(27, 33, 58, 0.08);
}

.admission-form-container h2 {
    color: #1e3c72;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.form-note {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(40, 167, 69, 0.05);
    border-radius: 0.5rem;
    border-left: 4px solid #28a745;
}

.admission-form {
    max-width: 100%;
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(27, 33, 58, 0.1);
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section h3 {
    color: #1e3c72;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
}

.form-section h3 i {
    margin-right: 0.5rem;
    color: #28a745;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #4a5568;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-group a {
    color: #28a745;
    text-decoration: none;
    font-weight: 600;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.submit-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-bottom: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-submit-note {
    color: #6c757d;
    font-size: 0.9rem;
    text-align: center;
    font-style: italic;
}

/* Success Modal Styles */
.success-content {
    text-align: center;
    padding: 1rem 0;
}

.success-content i {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.success-content h4 {
    color: #1e3c72;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.success-content p {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.contact-info {
    background: rgba(40, 167, 69, 0.05);
    padding: 1.5rem;
    border-radius: 0.8rem;
    margin-top: 1.5rem;
    text-align: center;
}

.contact-info p {
    margin-bottom: 1rem;
    color: #1e3c72;
    font-weight: 600;
    font-size: 1.1rem;
}

.reference-number {
    background: rgba(27, 33, 58, 0.05);
    padding: 1.5rem;
    border-radius: 0.8rem;
    margin: 1.5rem 0;
    border: 2px dashed #28a745;
}

.reference-number p {
    margin-bottom: 0.5rem;
    color: #1e3c72;
    font-weight: 600;
}

.ref-number {
    background: #28a745;
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 0.3rem;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.ref-note {
    color: #6c757d;
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 0.5rem;
}

.contact-btn {
    display: inline-block;
    background: #28a745;
    color: #fff;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    margin: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-btn i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.contact-btn:hover {
    background: #1e4f3a;
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.whatsapp-btn {
    background: #25d366;
}

.whatsapp-btn:hover {
    background: #128c7e;
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Mobile Responsive for Admission Page */
@media (max-width: 1024px) {
    .admission-form-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .admission-info {
        position: static;
    }
}

@media (max-width: 768px) {
    .admission-hero-title {
        font-size: 2.5rem;
    }
    
    .admission-hero-desc {
        font-size: 1.1rem;
    }
    
    .admission-form-container {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .benefit-item {
        padding: 0.8rem;
    }
    
    .benefit-item i {
        font-size: 1.2rem;
    }
    
    .benefit-item h3 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .admission-hero-title {
        font-size: 2rem;
    }
    
    .admission-hero-desc {
        font-size: 1rem;
    }
    
    .admission-form-container {
        padding: 1rem;
    }
    
    .admission-form-container h2 {
        font-size: 1.5rem;
    }
    
    .form-section h3 {
        font-size: 1.1rem;
    }
    
    .submit-btn {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
    
    .success-content i {
        font-size: 3rem;
    }
    
    .success-content h4 {
        font-size: 1.3rem;
    }
    
    .contact-btn {
        display: block;
        margin: 0.5rem auto;
        max-width: 200px;
        text-align: center;
    }
}

/* Heading Issues */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

/* Paragraph Issues */
p {
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

/* Blockquote Issues */
blockquote {
    margin: 1rem 0;
    padding: 1rem;
    border-left: 4px solid #fbc531;
    background: rgba(251,197,49,0.1);
    border-radius: 0.5rem;
}

/* Hero Image Styles */
.homepage-hero-image img {
    width: 75%;
    max-width: 75%;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(27, 33, 58, 0.15);
    transition: all 0.3s ease;
}

.homepage-hero-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(27, 33, 58, 0.2);
}

/* Call enquiry box positioning */
.call-enquiry-box {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.call-enquiry-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.homepage-hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .homepage-section {
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }
    
    .hero-main-title {
        font-size: 3rem;
    }
    
    .homepage-card-title {
  font-size: 2.2rem;
    }
    
    .homepage-hero-image img {
        width: 80%;
        max-width: 80%;
    }
}

/* Contact Top Bar Responsive */
@media (max-width: 768px) {
    .contact-top-content {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    
    .contact-top-left {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-top-item {
        font-size: 0.8rem;
    }
}

@media (max-width: 900px) {
    .homepage-section {
        flex-direction: column;
  text-align: center;
        padding: 1.5rem 1rem;
        gap: 1.5rem;
}
    
    .homepage-col {
        width: 100%;
    }
    
    .hero-main-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
    font-size: 1.3rem;
    }
    
    .homepage-card-title {
  font-size: 2rem;
    }
    
    .call-enquiry-box {
        margin-top: 2rem;
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }
    
    .aboutus-wire-images {
        grid-template-columns: 1fr;
    }
    
    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
.testimonials-marquee-item {
        min-width: 280px;
    }
}

@media (max-width: 600px) {
    .hero-main-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .homepage-card-title {
        font-size: 1.8rem;
    }
    
    .stats-cards {
        grid-template-columns: 1fr;
    }
    
    .testimonials-marquee-item {
        min-width: 250px;
        padding: 1.5rem;
    }
    
    .call-enquiry-box {
        flex-direction: column;
  text-align: center;
        gap: 0.5rem;
    }
}

/* --- Mentor Section Specific Adjustments --- */
.homepage-section.animate-on-scroll[style*="background:#f8f9fa"] .homepage-col.animate-from-right {
    align-items: flex-end !important;
    margin-left: 2rem;
}

.homepage-section.animate-on-scroll[style*="background:#f8f9fa"] .homepage-card-title {
    font-size: 2rem !important;
}

/* --- Global Heading Size Tweak for Card Titles --- */
.homepage-card-title {
    font-size: 2.1rem;
}

/* --- Universal Card Rounded Corners --- */
.homepage-section,
.homepage-card-list li,
.stats-card,
.testimonials-marquee-item,
.aboutus-wire-section,
.whychoose-wire-section,
.trust-wire-section,
.legacy-wire-section,
.cta-wire-section,
.footer,
.contact-form,
.gallery-card,
.faq-item,
.admission-card {
    border-radius: 1.5rem !important;
}

/* For images inside cards, keep them rounded as well */
.homepage-col img,
.stats-card img,
.testimonials-marquee-item img,
.aboutus-wire-images img,
.whychoose-wire-image img,
.trust-wire-image img,
.legacy-wire-image img,
.cta-wire-image img {
    border-radius: 1rem !important;
}

/* Hero Image Specific Sizing */
.homepage-hero-image img {
    width: 75% !important;
    height: auto !important;
    max-width: 400px !important;
    object-fit: cover;
    border-radius: 1rem !important;
}

@media (max-width: 768px) {
    .homepage-hero-image img {
        width: 85% !important;
        max-width: 300px !important;
    }
}

@media (max-width: 480px) {
    .homepage-hero-image img {
        width: 90% !important;
        max-width: 250px !important;
    }
}

/* --- Spacing Between Cards and Sections --- */
  .homepage-section {
    margin-bottom: 2.5rem;
}

.homepage-card-list {
    display: flex;
  flex-direction: column;
    gap: 2rem;
}

.homepage-card-list li,
.stats-card,
.testimonials-marquee-item,
.aboutus-wire-section,
.whychoose-wire-section,
.trust-wire-section,
.legacy-wire-section,
.cta-wire-section,
.gallery-card,
.faq-item,
.admission-card {
    margin-bottom: 2rem;
}

/* Remove last margin for last card in a list */
.homepage-card-list li:last-child,
.stats-card:last-child,
.testimonials-marquee-item:last-child,
.gallery-card:last-child,
.faq-item:last-child,
.admission-card:last-child {
    margin-bottom: 0;
}



/* Animation for scroll elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Content */
main {
    min-height: 100vh;
    padding-top: 1rem;
}

/* Homepage Sections */
.homepage-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 60vh;
    margin-bottom: 2.5rem;
}

.homepage-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Hero Section */
.hero-section-wire {
    background: linear-gradient(135deg, rgba(255,248,220,0.8) 0%, rgba(245,230,179,0.8) 100%);
    border-radius: 2rem;
    margin: 2rem auto;
    box-shadow: 0 8px 32px rgba(27,33,58,0.08);
    position: relative;
    overflow: hidden;
}

.hero-section-wire::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(251,197,49,0.1) 0%, rgba(252,176,69,0.1) 100%);
    z-index: -1;
}

.homepage-hero-content {
    flex: 2;
    align-items: flex-start;
    justify-content: center;
}

/* Call button is now inside the image container */

.hero-logo {
    margin-bottom: 1rem;
}

.hero-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.hero-logo .logo-img {
    height: 80px;
    width: auto;
    border-radius: 1rem;
    background: #fff;
    padding: 0.5rem;
    box-shadow: 0 4px 16px rgba(27,33,58,0.1);
}



/* Additional Essential Styles */

/* Form Styles */
.contact-form {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(27, 33, 58, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--platinum-dark);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid rgba(65, 114, 159, 0.2);
    border-radius: 0.8rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--mirage-mid);
    box-shadow: 0 0 0 3px rgba(65, 114, 159, 0.1);
    background: #ffffff;
}

/* Button Styles */
.btn {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #ffffff;
    padding: 0.8rem 1.8rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: none;
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
}

.btn-primary {
    background: linear-gradient(135deg, #fbc531 0%, #fcb045 100%);
    color: #183a2c;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #fcb045 0%, #fbc531 100%);
    box-shadow: none;
}

/* Section Headers */
.section-header {
        text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--platinum-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Card Styles */
.card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(27, 33, 58, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(27, 33, 58, 0.15);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--mirage-mid);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Page Specific Styles */

/* Hire Security Page */
.hire-security-page {
    padding: 2rem 0;
}

.hire-security-hero {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.9) 0%, rgba(42, 82, 152, 0.9) 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 2rem;
    margin-bottom: 3rem;
}

.hire-security-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.hire-security-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.security-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.security-service-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(27, 33, 58, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #fbc531;
}

.security-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(27, 33, 58, 0.15);
}

.security-service-card h3 {
    color: var(--platinum-dark);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.security-service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.security-service-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #25664a;
    margin-top: 1rem;
}

/* Admission Page */
.admission-page {
    padding: 2rem 0;
}

.admission-hero {
    background: linear-gradient(135deg, rgba(37, 102, 74, 0.9) 0%, rgba(24, 58, 44, 0.9) 100%);
    color: white;
    padding: 4rem 2rem;
        text-align: center;
    border-radius: 2rem;
    margin-bottom: 3rem;
}

.admission-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.admission-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.course-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.course-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(27, 33, 58, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #fbc531;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(27, 33, 58, 0.15);
}

.course-card h3 {
    color: var(--platinum-dark);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.course-card .duration {
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.course-card .fee {
    font-size: 1.3rem;
    font-weight: 700;
    color: #25664a;
    margin-bottom: 1rem;
}

.course-card .features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.course-card .features li {
    padding: 0.3rem 0;
    color: var(--text-secondary);
}

.course-card .features li::before {
    content: "✓";
    color: #4CAF50;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Gallery Page */
.gallery-page {
    padding: 2rem 0;
}

.gallery-hero {
    background: linear-gradient(135deg, rgba(252, 197, 49, 0.9) 0%, rgba(252, 176, 69, 0.9) 100%);
    color: #183a2c;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 2rem;
    margin-bottom: 3rem;
}

.gallery-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #183a2c;
}

.gallery-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(27, 33, 58, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(27, 33, 58, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .overlay {
    transform: translateY(0);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.gallery-filter {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--mirage-mid);
    border-radius: 2rem;
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-filter.active,
.gallery-filter:hover {
    background: var(--mirage-mid);
    color: white;
}

/* FAQ Page */
.faq-page {
        padding: 2rem 0;
}

.faq-hero {
    background: linear-gradient(135deg, rgba(65, 114, 159, 0.9) 0%, rgba(0, 31, 63, 0.9) 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 2rem;
    margin-bottom: 3rem;
}

.faq-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.faq-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.faq-section {
    max-width: 800px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category h2 {
    color: var(--platinum-dark);
    margin-bottom: 2rem;
        font-size: 2rem;
    text-align: center;
}

.faq-item {
    background: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(27, 33, 58, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 24px rgba(27, 33, 58, 0.12);
}

.faq-question {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-primary);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(252, 197, 49, 0.1);
}

.faq-question::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--mirage-mid);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.7);
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Contact Form Styles */
.contact-form-container {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: 0 8px 32px rgba(27, 33, 58, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.contact-form-container h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--platinum-dark);
}

/* Responsive Design for Pages */
@media (max-width: 768px) {
    .hire-security-hero h1,
    .admission-hero h1,
    .gallery-hero h1,
    .faq-hero h1 {
        font-size: 2rem;
    }
    
    .hire-security-hero p,
    .admission-hero p,
    .gallery-hero p,
    .faq-hero p {
        font-size: 1rem;
    }
    
    .security-services,
    .course-categories {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .gallery-filters {
    justify-content: center;
    }
    
    .contact-form-container {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
}

/* Hire Security Page Specific Styles */
.hire-hero-banner {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.9) 0%, rgba(42, 82, 152, 0.9) 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 2rem;
    margin: 1rem auto;
    max-width: 1200px;
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    box-shadow: none;
    overflow: hidden;
    position: relative;
}

.hire-hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 0;
}

.hire-hero-badge {
    display: inline-block;
    background: rgba(252, 197, 49, 0.9);
    color: #183a2c;
    font-weight: 700;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    align-self: flex-start;
    box-shadow: none;
    margin-bottom: 0.5rem;
}

.hire-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000 !important;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.hire-hero-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0;
}

.hire-hero-btn {
    background: linear-gradient(135deg, #fbc531 0%, #fcb045 100%);
    color: #183a2c;
    padding: 1rem 2rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: none;
    align-self: flex-start;
    border: none;
    cursor: pointer;
}

.hire-hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: none;
    background: linear-gradient(135deg, #fcb045 0%, #fbc531 100%);
}

.hire-hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 0;
}

.hire-hero-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: none;
}

/* Service Cards */
.service-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 1.5rem;
    box-shadow: none;
    transition: all 0.3s ease;
    text-align: center;
    border-top: 4px solid #fbc531;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: none;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.service-card .home-course-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--platinum-dark);
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Highlights Section */
.highlights-section {
    padding: 4rem 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.highlights-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--platinum-dark);
    margin-bottom: 3rem;
}

.highlights-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.highlight-item {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(27, 33, 58, 0.1);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(27, 33, 58, 0.15);
}

.highlight-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.highlight-item b {
    color: var(--platinum-dark);
    font-size: 1.1rem;
}

.highlight-item div {
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Trust Section */
.trust-section {
    padding: 4rem 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.trust-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--platinum-dark);
    margin-bottom: 3rem;
}

.trust-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trust-list li {
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem 2rem;
    border-radius: 2rem;
    box-shadow: 0 4px 16px rgba(27, 33, 58, 0.1);
    color: var(--platinum-dark);
    font-weight: 600;
    transition: all 0.3s ease;
}

.trust-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(27, 33, 58, 0.15);
    background: rgba(252, 197, 49, 0.1);
}

/* Centered Form Section */
.centered-form-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.centered-form-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: 0 8px 32px rgba(27, 33, 58, 0.1);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.centered-form-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--platinum-dark);
    margin-bottom: 2rem;
}

.centered-form-info {
    margin-bottom: 2rem;
}

.call-enquiry-number {
    color: #25664a;
    text-decoration: none;
    font-weight: 700;
}

.call-enquiry-number:hover {
    text-decoration: underline;
}

/* Responsive Design for Hire Security Page */
@media (max-width: 768px) {
    .hire-hero-banner {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
        gap: 2rem;
        margin: 0.5rem auto;
    }
    
    .hire-hero-title {
        font-size: 2rem;
    }
    
    .hire-hero-desc {
        font-size: 1rem;
    }
    
    .hire-hero-btn {
        align-self: center;
    }
    
    .hire-hero-content {
        gap: 0.8rem;
    }
    
    .hire-hero-badge {
        margin-bottom: 0.3rem;
    }
    
    .highlights-list {
        flex-direction: column;
        align-items: center;
    }
    
    .highlight-item {
        max-width: 300px;
    }
    
    .trust-list {
        flex-direction: column;
        align-items: center;
    }
    
    .centered-form-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 2rem;
        text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--platinum-dark);
    margin-bottom: 3rem;
}

.testimonials-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.testimonial-card {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(27, 33, 58, 0.1);
    transition: all 0.3s ease;
    text-align: left;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(27, 33, 58, 0.15);
}

.testimonial-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: block;
    font-weight: 700;
    color: var(--platinum-dark);
    margin-bottom: 0.3rem;
}

.testimonial-role {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* FAQ Preview Section */
.faq-preview-section {
    padding: 4rem 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-preview-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--platinum-dark);
    margin-bottom: 3rem;
}

.faq-preview-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.faq-preview-list .faq-item {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(27, 33, 58, 0.1);
    transition: all 0.3s ease;
    text-align: left;
}

.faq-preview-list .faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(27, 33, 58, 0.15);
}

.faq-preview-list .faq-item h4 {
    color: var(--platinum-dark);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.faq-preview-list .faq-item div {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Additional responsive styles for new sections */
@media (max-width: 768px) {
    .testimonials-list,
    .faq-preview-list {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonial-card,
    .faq-preview-list .faq-item {
        max-width: 100%;
        min-width: auto;
    }
    
    .testimonials-section .section-title,
    .faq-preview-section .section-title {
        font-size: 2rem;
    }
}

/* Admission Page Styles */
.admission-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: 0 8px 32px rgba(27, 33, 58, 0.1);
    max-width: 800px;
    margin: 3rem auto;
    margin-bottom: 3rem;
}

.admission-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--platinum-dark);
        text-align: center;
    margin-bottom: 1rem;
}

.admission-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.admission-card h2 {
    color: var(--platinum-dark);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0 1rem 0;
    border-bottom: 2px solid #fbc531;
    padding-bottom: 0.5rem;
}

.admission-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.admission-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.admission-list li::before {
    content: "✓";
    color: #4CAF50;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.admission-list ol li {
    padding-left: 0;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.admission-list ol li::before {
    content: none;
}

.admission-btn {
    background: linear-gradient(135deg, #fbc531 0%, #fcb045 100%);
    color: #183a2c;
    padding: 1rem 2rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: none;
    display: inline-block;
    margin: 1rem 0;
}

.admission-btn:hover {
    transform: translateY(-2px);
    box-shadow: none;
    background: linear-gradient(135deg, #fcb045 0%, #fbc531 100%);
}

.admission-note {
    color: #888;
    font-size: 0.9rem;
    font-style: italic;
}

.admission-contact {
    background: rgba(230, 245, 233, 0.5);
    padding: 1.5rem;
    border-radius: 1rem;
    border-left: 4px solid #25664a;
}

.admission-contact strong {
    color: var(--platinum-dark);
}

.admission-contact a {
    color: #25664a;
    text-decoration: none;
    font-weight: 600;
}

.admission-contact a:hover {
    text-decoration: underline;
}

.admission-whatsapp {
    color: #25D366 !important;
    font-weight: 700;
}

/* Gallery Page Styles */
.gallery-section {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #25664a;
    margin-bottom: 1rem;
}

.gallery-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(27, 33, 58, 0.1);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(27, 33, 58, 0.15);
}

.gallery-card img {
        width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1rem;
    font-weight: 600;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-caption {
    transform: translateY(0);
}

/* FAQ Page Styles */
.faq-list {
        margin: 0 auto;
    max-width: 600px;
}

.faq-list .faq-item {
    margin-bottom: 1.2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(27, 33, 58, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-list .faq-item:hover {
    box-shadow: 0 8px 24px rgba(27, 33, 58, 0.12);
}

.faq-list .faq-question {
    width: 100%;
    text-align: left;
    padding: 1rem 1.2rem;
    font-size: 1.05rem;
    font-weight: 600;
    background: #f8f9fa;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    outline: none;
    color: var(--text-primary);
    transition: background 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-list .faq-question:hover {
    background: rgba(252, 197, 49, 0.1);
}

.faq-list .faq-question::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--mirage-mid);
    transition: transform 0.3s ease;
}

.faq-list .faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-list .faq-answer {
    padding: 0 1.2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.7);
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-list .faq-item.active .faq-answer {
    padding: 1rem 1.2rem;
    max-height: 500px;
}

/* Responsive Design for All Pages */
@media (max-width: 768px) {
    .admission-card {
        padding: 2rem 1.5rem;
        margin: 2rem 1rem;
    }
    
    .admission-title {
        font-size: 2rem;
    }
    
    .gallery-preview-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .gallery-card img {
        height: 200px;
    }
    
    .faq-list .faq-question {
        font-size: 1rem;
        padding: 0.8rem 1rem;
    }
    
    .faq-list .faq-answer {
        padding: 0 1rem;
    }
    
    .faq-list .faq-item.active .faq-answer {
        padding: 0.8rem 1rem;
    }
}

/* FAQ Page Section Styles */
.faq-page-section {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2rem;
    box-shadow: 0 8px 32px rgba(27, 33, 58, 0.1);
}

.faq-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--platinum-dark);
    text-align: center;
    margin-bottom: 1rem;
}

.faq-page-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 500px;
    margin: 0 auto 2rem auto;
    line-height: 1.6;
}

/* Enhanced FAQ List Styles */
.faq-list {
    margin: 0 auto;
    max-width: 600px;
}

.faq-list .faq-item {
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(27, 33, 58, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.faq-list .faq-item:hover {
    box-shadow: 0 8px 24px rgba(27, 33, 58, 0.12);
    border-color: rgba(252, 197, 49, 0.3);
}

.faq-list .faq-item.active {
    border-color: #fbc531;
    box-shadow: 0 12px 32px rgba(252, 197, 49, 0.2);
}

.faq-list .faq-question {
    width: 100%;
    text-align: left;
    padding: 1.2rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    background: #f8f9fa;
    border: none;
    border-radius: 0;
    cursor: pointer;
    outline: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.faq-list .faq-question:hover {
    background: rgba(252, 197, 49, 0.1);
    color: var(--platinum-dark);
}

.faq-list .faq-question::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--mirage-mid);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-list .faq-item.active .faq-question::after {
    transform: rotate(45deg);
    color: #fbc531;
}

.faq-list .faq-item.active .faq-question {
    background: rgba(252, 197, 49, 0.1);
    color: var(--platinum-dark);
    font-weight: 700;
}

.faq-list .faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.7);
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

.faq-list .faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
    border-top: 1px solid rgba(252, 197, 49, 0.2);
}

/* Responsive Design for FAQ Page */
@media (max-width: 768px) {
    .faq-page-section {
        margin: 2rem 1rem;
        padding: 1.5rem 1rem;
    }
    
    .faq-page-title {
        font-size: 2rem;
    }
    
    .faq-page-desc {
        font-size: 1rem;
    }
    
    .faq-list .faq-question {
        font-size: 1rem;
        padding: 1rem 1.2rem;
    }
    
    .faq-list .faq-answer {
        padding: 0 1.2rem;
    }
    
    .faq-list .faq-item.active .faq-answer {
        padding: 1rem 1.2rem;
    }
}

/* Hamburger Menu Styles - Hidden by default */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

/* Desktop - Always hide hamburger menu */
@media (min-width: 769px) {
    .hamburger-menu {
        display: none !important;
    }
    
    .navbar-menu {
        display: block !important;
        position: static !important;
        background: transparent !important;
        max-height: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        padding: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    
    .navbar-menu ul {
        display: flex !important;
        flex-direction: row !important;
        gap: 25px;
        padding: 0;
    }
    
    .navbar-menu li {
        width: auto;
        border-bottom: none;
    }
    
    .navbar-menu a {
        display: inline-block;
        padding: 10px 15px;
        font-size: 14px;
    text-align: center;
        border-radius: 5px;
        border-bottom: none;
    }
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
    margin: 2px 0;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }
    
    .navbar-top {
        position: relative;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: space-between;
    align-items: center;
    }
    
    .navbar-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #1c4587 0%, #2a5298 100%);
        border-radius: 0 0 1rem 1rem;
        box-shadow: 0 8px 32px rgba(27, 33, 58, 0.2);
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
    }
    
    .navbar-menu.mobile-active {
        max-height: 400px;
        opacity: 1;
        visibility: visible;
        padding: 1rem 0;
    }
    
    .navbar-menu ul {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }
    
    .navbar-menu li {
    width: 100%;
    }
    
    .navbar-menu a {
        display: block;
        padding: 1rem 2rem;
        border-radius: 0;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1rem;
    }
    
    .navbar-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #fbc531;
    }
    
    .navbar-menu li:last-child a {
        border-bottom: none;
    }
    
    /* Adjust layout for mobile - Left to Right: Hamburger, Logo, Title, Contact */
    .hamburger-menu {
        order: 1;
        margin-right: 10px;
    }
    
    .logo {
        order: 2;
        margin-right: 10px;
    }
    
    .title {
        font-size: 16px;
        text-align: center;
        margin-right: 0;
        order: 3;
        flex: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .contact-container {
        order: 4;
        margin-left: 10px;
    }
    
    /* Ensure proper spacing */
    .navbar-top.mobile-menu-open {
        padding-bottom: 0;
    }
}

/* Tablet adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    .navbar-menu ul {
        gap: 15px;
    }
    
    .navbar-menu a {
        font-size: 14px;
        padding: 8px 10px;
    }
    
    .title {
        font-size: 18px;
        margin-right: 15px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .homepage-section {
        flex-direction: row !important;
        gap: 1.5rem;
        padding: 2rem 1rem;
        min-height: auto;
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    /* Fix Mentor Highlight section flex issues on mobile */
    .homepage-section .homepage-col[style*="flex:2 1 400px"] {
        flex: 1 1 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }
    
    .homepage-section .homepage-col[style*="flex:1 1 260px"] {
        flex: 1 1 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }
    
    /* Ensure images don't overflow */
    .homepage-section .homepage-col img {
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
    }
    
    /* Fix paragraph max-width on mobile */
    .homepage-section .homepage-col p[style*="max-width:520px"] {
        max-width: 100% !important;
    }
    
    .homepage-col {
        flex: 1;
        min-width: 0;
    }
    
    .homepage-hero-content {
        order: 1;
        flex: 1.5;
    }
    
    .homepage-hero-image {
        order: 2;
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        text-align: center;
    }
    
    .homepage-hero-call {
        order: 3;
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 1rem;
    }
    
    .homepage-hero-image img {
        max-width: 280px;
        width: 100%;
        height: auto;
        border-radius: 1rem;
        box-shadow: 0 4px 16px rgba(27,33,58,0.1);
        margin: 0 auto;
        display: block;
    }
    
    .hero-main-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-desc {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .homepage-card-title {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .homepage-card-list {
        gap: 1rem;
    }
    
    .homepage-card-list li {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .call-enquiry-box {
        margin-top: 0;
        min-width: auto;
        width: 100%;
        max-width: 300px;
        padding: 1rem;
    }
    
    .aboutus-wire-images {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .aboutus-wire-images img {
        width: 60px;
        height: 50px;
    }
    
    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .testimonials-marquee-item {
        min-width: 250px;
        padding: 1.5rem;
    }
    
    /* Additional mobile adjustments for hero section */
    .hero-section-wire {
        margin: 1rem auto;
        padding: 1.5rem;
    }
    
    .hero-logo img {
        height: 60px;
        width: auto;
    }
    
    /* Navbar adjustments for medium mobile */
    .navbar {
        padding: 6px 15px;
    }
    
    .navbar-top {
        gap: 10px;
    }
    
    .title {
        font-size: 14px;
    }
    
    .logo img {
        height: 50px;
    }
    
    .contact-btn {
        padding: 8px 15px;
        font-size: 12px;
    }
}

/* Comprehensive Responsive Design */

/* Large Desktop (1200px and above) */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    
    .homepage-section {
        gap: 4rem;
        padding: 5rem 3rem;
    }
    
    .hero-main-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .homepage-card-title {
        font-size: 2.5rem;
    }
}

/* Desktop (992px to 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .homepage-section {
  gap: 2.5rem;
        padding: 3rem 2rem;
    }
    
    .hero-main-title {
        font-size: 2.5rem;
    }
    
    .homepage-card-title {
        font-size: 2rem;
    }
    
    .navbar-menu ul {
        gap: 20px;
    }
}

/* Tablet Landscape (768px to 991px) */
@media (max-width: 991px) and (min-width: 769px) {
    .homepage-section {
  flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2.5rem 1.5rem;
    }
    
    .homepage-col {
        width: 100%;
    }
    
    .hero-main-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .homepage-card-title {
        font-size: 1.8rem;
    }
    
    .navbar-menu ul {
        gap: 15px;
    }
    
    .navbar-menu a {
        font-size: 14px;
        padding: 8px 10px;
    }
    
    .title {
        font-size: 18px;
        margin-right: 15px;
    }
    
    .logo img {
        height: 60px;
    }
    
    .call-enquiry-box {
        margin-top: 2rem;
        min-width: auto;
  width: 100%;
        max-width: 350px;
    }
    
    .aboutus-wire-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stats-cards {
        grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    }
    
    .testimonials-marquee-item {
        min-width: 300px;
    }
}

/* Mobile Large (481px to 767px) */
@media (max-width: 767px) and (min-width: 482px) {
    .homepage-section {
        flex-direction: row !important;
        gap: 1.5rem;
        padding: 2rem 1rem;
        min-height: auto;
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    /* Fix Mentor Highlight section flex issues on medium mobile */
    .homepage-section .homepage-col[style*="flex:2 1 400px"] {
        flex: 1 1 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }
    
    .homepage-section .homepage-col[style*="flex:1 1 260px"] {
        flex: 1 1 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }
    
    /* Ensure images don't overflow */
    .homepage-section .homepage-col img {
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
    }
    
    /* Fix paragraph max-width on medium mobile */
    .homepage-section .homepage-col p[style*="max-width:520px"] {
        max-width: 100% !important;
    }
    
    .homepage-col {
        flex: 1;
        min-width: 0;
    }
    
    .homepage-hero-content {
        order: 1;
        flex: 1.5;
    }
    
    .homepage-hero-image {
        order: 2;
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        text-align: center;
    }
    
    .homepage-hero-call {
        order: 3;
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 1rem;
    }
    
    .homepage-hero-image img {
        max-width: 280px;
        width: 100%;
        height: auto;
        border-radius: 1rem;
        box-shadow: 0 4px 16px rgba(27,33,58,0.1);
        margin: 0 auto;
        display: block;
    }
    
    .hero-main-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-desc {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .homepage-card-title {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .homepage-card-list {
        gap: 1rem;
    }
    
    .homepage-card-list li {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .call-enquiry-box {
        margin-top: 0;
        min-width: auto;
        width: 100%;
        max-width: 250px;
        padding: 0.8rem;
    }
    
    .aboutus-wire-images {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .aboutus-wire-images img {
        width: 60px;
        height: 50px;
    }
    
    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .testimonials-marquee-item {
        min-width: 250px;
        padding: 1.5rem;
    }
    
    .hero-section-wire {
        margin: 1rem auto;
        padding: 1.5rem;
    }
    
    .hero-logo img {
        height: 60px;
        width: auto;
    }
    
    /* Navbar adjustments for medium mobile */
    .navbar {
        padding: 6px 15px;
    }
    
    .navbar-top {
        gap: 10px;
    }
    
    .title {
        font-size: 14px;
    }
    
    .logo img {
        height: 50px;
    }
    
    .contact-btn {
        padding: 8px 15px;
        font-size: 12px;
    }
}

/* Mobile Small (320px to 480px) */
@media (max-width: 481px) {
    .homepage-section {
        flex-direction: column !important;
        gap: 1rem;
        padding: 1.5rem 0.8rem;
        min-height: auto;
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    /* Fix Mentor Highlight section flex issues on small mobile */
    .homepage-section .homepage-col[style*="flex:2 1 400px"] {
        flex: 1 1 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }
    
    .homepage-section .homepage-col[style*="flex:1 1 260px"] {
        flex: 1 1 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }
    
    /* Ensure images don't overflow */
    .homepage-section .homepage-col img {
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
    }
    
    /* Fix paragraph max-width on small mobile */
    .homepage-section .homepage-col p[style*="max-width:520px"] {
        max-width: 100% !important;
    }
    
    .homepage-col {
  width: 100%;
    }
    
    .homepage-hero-content {
        order: 1;
    }
    
    .homepage-hero-image {
        order: 2;
        margin-bottom: 1rem;
    }
    
    .homepage-hero-call {
        order: 3;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 1rem;
    }
    
    .homepage-hero-image img {
        max-width: 120px;
        height: auto;
    }
    
    .hero-main-title {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-desc {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }
    
    .homepage-card-title {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
    
    .homepage-card-list {
        gap: 0.8rem;
    }
    
    .homepage-card-list li {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
        font-size: 0.9rem;
    }
    
    .call-enquiry-box {
        margin-top: 0;
        padding: 0.6rem;
        font-size: 0.8rem;
        max-width: 220px;
    }
    
    .aboutus-wire-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.3rem;
    }
    
    .aboutus-wire-images img {
        width: 50px;
        height: 40px;
    }
    
    .stats-cards {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .stats-card {
        padding: 1rem;
    }
    
    .stats-value {
        font-size: 1.5rem;
    }
    
    .stats-label {
        font-size: 0.8rem;
    }
    
    .testimonials-marquee-item {
        min-width: 200px;
        padding: 1rem;
    }
    
    .testimonials-marquee-quote {
        font-size: 0.9rem;
    }
    
    .testimonials-marquee-client {
        font-size: 0.8rem;
    }
    
    .hero-section-wire {
        margin: 0.8rem auto;
        padding: 1rem;
        border-radius: 1rem;
    }
    
    .hero-logo img {
        height: 50px;
        width: auto;
    }
    
    /* Navbar adjustments for small mobile */
    .navbar {
        padding: 5px 10px;
    }
    
    .navbar-top {
        gap: 8px;
        padding: 0 10px;
    }
    
    .title {
        font-size: 12px;
        line-height: 1.2;
    }
    
    .logo img {
        height: 40px;
    }
    
    .contact-btn {
        padding: 6px 12px;
        font-size: 11px;
        border-radius: 15px;
    }
    
    /* Form adjustments for small mobile */
    .contact-form-container,
    .admission-card,
    .faq-page-section {
        padding: 1.5rem 1rem;
        margin: 1rem;
        border-radius: 1rem;
    }
    
    .admission-title,
    .faq-page-title {
        font-size: 1.8rem;
    }
    
    .admission-desc,
    .faq-page-desc {
        font-size: 0.9rem;
    }
    
    .admission-card h2 {
        font-size: 1.2rem;
    }
    
    .admission-list li {
        font-size: 0.9rem;
        padding: 0.4rem 0;
    }
    
    .admission-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Gallery adjustments for small mobile */
    .gallery-preview-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-card img {
        height: 200px;
    }
    
    /* Footer adjustments for small mobile */
    .footer {
        padding: 2rem 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
  text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Extra Small Mobile (below 320px) */
@media (max-width: 319px) {
    .homepage-section {
        padding: 1rem 0.5rem;
    }
    
    .hero-main-title {
        font-size: 1.3rem;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
    }
    
    .hero-desc {
        font-size: 0.75rem;
    }
    
    .homepage-card-title {
        font-size: 1rem;
    }
    
    .navbar {
        padding: 4px 8px;
    }
    
    .title {
        font-size: 11px;
    }
    
    .logo img {
        height: 35px;
    }
    
    .contact-btn {
        padding: 5px 10px;
        font-size: 10px;
    }
    
    .contact-form-container,
.admission-card,
    .faq-page-section {
        padding: 1rem 0.8rem;
        margin: 0.8rem;
    }
    
    .admission-title,
    .faq-page-title {
        font-size: 1.5rem;
    }
}

/* Landscape Mobile Orientation */
@media (max-height: 500px) and (orientation: landscape) {
.homepage-section {
        min-height: auto;
        padding: 1rem 2rem;
    }
    
    .hero-main-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-desc {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .navbar {
        padding: 4px 15px;
    }
    
    .logo img {
        height: 45px;
    }
    
    .title {
        font-size: 14px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo img,
    .homepage-hero-image img,
    .gallery-card img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hamburger-menu,
    .contact-btn,
    .call-enquiry-box {
        display: none !important;
  }
  
  .homepage-section {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    * {
        box-shadow: none !important;
        text-shadow: none !important;
    }
}

/* Hero Logo Size Reduction for Mobile */
@media (max-width: 768px) {
    .hero-logo {
        display: none !important;
    }
}

@media (max-width: 481px) {
    .hero-logo {
        display: none !important;
    }
}

/* Mobile Navbar Layout */
@media (max-width: 768px) {
    .navbar-top {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 15px;
        position: relative;
        gap: 10px;
    }
    
    .hamburger-menu {
        order: 1;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1000;
        position: absolute;
        left: 15px;
        top: 10px;
    }
    
    .contact-container {
        order: 2;
        position: absolute;
        right: 15px;
        top: 10px;
    }
    
    .contact-btn {
        padding: 8px 15px;
        font-size: 12px;
        border-radius: 20px;
        white-space: nowrap;
    }
    
    .logo {
        order: 3;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 5px 0;
        margin-top: 50px;
    }
    
    .logo img {
        height: 40px;
        width: auto;
    }
    
    .title {
        order: 4;
        text-align: center;
        font-size: 14px;
        line-height: 1.2;
        white-space: normal;
        word-wrap: break-word;
        hyphens: auto;
        max-width: 200px;
        margin: 5px 0;
    }
    
    .navbar-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #1c4587 0%, #2a5298 100%);
        border-radius: 0 0 1rem 1rem;
        box-shadow: 0 8px 32px rgba(27, 33, 58, 0.2);
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
    }
    
    .navbar-menu.mobile-active {
        max-height: 400px;
        opacity: 1;
        visibility: visible;
        padding: 1rem 0;
    }
    
    .navbar-menu ul {
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin: 0;
    }
    
    .navbar-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-menu li:last-child {
        border-bottom: none;
    }
    
    .navbar-menu a {
        display: block;
        padding: 15px 20px;
        font-size: 16px;
        text-align: left;
        border-radius: 0;
        transition: background-color 0.3s ease;
        color: white;
        text-decoration: none;
    }
    
    .navbar-menu a:hover {
        background-color: rgba(245, 238, 192, 0.1);
        color: #fbc531;
    }
}

/* Extra Small Mobile Adjustments */
@media (max-width: 480px) {
    .navbar-top {
        padding: 0 10px;
        gap: 8px;
    }
    
    .hamburger-menu {
        width: 28px;
        height: 28px;
    }
    
    .hamburger-line {
        width: 20px;
        height: 2px;
    }
    
    .title {
        font-size: 12px;
        max-width: 150px;
    }
    
    .contact-btn {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .logo img {
        height: 35px;
    }
}

/* Very Small Mobile Adjustments */
@media (max-width: 360px) {
    .navbar-top {
        padding: 0 8px;
        gap: 6px;
    }
    
    .title {
        font-size: 11px;
        max-width: 120px;
    }
    
    .contact-btn {
        padding: 5px 10px;
        font-size: 10px;
    }
    
    .logo img {
        height: 30px;
    }
    
    .hamburger-menu {
        width: 25px;
        height: 25px;
    }
    
    .hamburger-line {
        width: 18px;
        height: 2px;
    }
}

/* Mobile Hero Section Specific Styles */
@media (max-width: 768px) {
    /* Center hero content text and container */
    .homepage-hero-content {
        align-items: center !important;
        text-align: center;
    }
    
    .homepage-hero-content .hero-main-title,
    .homepage-hero-content .hero-subtitle,
    .homepage-hero-content .hero-desc {
        text-align: center;
    }
    
    /* Center the logo as well */
    .homepage-hero-content .hero-logo {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    /* Increase hero image size and ensure perfect centering */
    .homepage-hero-image img {
        max-width: 350px !important;
        width: 100%;
        height: auto;
        border-radius: 1rem;
        box-shadow: 0 4px 16px rgba(27,33,58,0.1);
        margin: 0 auto;
        display: block;
        object-fit: cover;
    }
    
    /* Ensure image container uses column layout for call button below */
    .homepage-hero-image {
        flex-direction: column !important;
        gap: 1rem !important;
        width: 100%;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    /* Enhanced navbar responsiveness */
    .navbar {
        padding: 8px 15px;
    }
    
    .navbar-top {
        gap: 12px;
        padding: 0 10px;
    }
    
    .title {
        font-size: 13px;
        max-width: 140px;
        line-height: 1.2;
    }
    
    .logo img {
        height: 45px;
    }
    
    .contact-btn {
        padding: 8px 12px;
        font-size: 11px;
        min-height: 36px;
    }
    
    .hamburger-menu {
        width: 32px;
        height: 32px;
    }
    
    .hamburger-line {
        width: 20px;
        height: 2px;
    }
}

@media (max-width: 767px) and (min-width: 482px) {
    /* Center hero content text and container */
    .homepage-hero-content {
        align-items: center !important;
        text-align: center;
    }
    
    .homepage-hero-content .hero-main-title,
    .homepage-hero-content .hero-subtitle,
    .homepage-hero-content .hero-desc {
        text-align: center;
    }
    
    /* Center the logo as well */
    .homepage-hero-content .hero-logo {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    /* Increase hero image size */
    .homepage-hero-image img {
        max-width: 350px !important;
        height: auto;
    }
    
    /* Ensure image container uses column layout for call button below */
    .homepage-hero-image {
        flex-direction: column !important;
        gap: 1rem !important;
    }
}

@media (max-width: 481px) {
    /* Center hero content text and container */
    .homepage-hero-content {
        align-items: center !important;
        text-align: center;
    }
    
    .homepage-hero-content .hero-main-title,
    .homepage-hero-content .hero-subtitle,
    .homepage-hero-content .hero-desc {
        text-align: center;
    }
    
    /* Center the logo as well */
    .homepage-hero-content .hero-logo {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    /* Increase hero image size */
    .homepage-hero-image img {
        max-width: 350px !important;
        height: auto;
    }
    
    /* Ensure image container uses column layout for call button below */
    .homepage-hero-image {
        flex-direction: column !important;
        gap: 1rem !important;
    }
}

/* Enhanced Responsive Design for All Devices */
/* Note: Desktop styles remain unchanged as requested */

/* Tablet Landscape (1024px - 1200px) */
@media (max-width: 1200px) and (min-width: 1025px) {
    .homepage-section {
        padding: 3rem 2rem;
        gap: 2.5rem;
    }
    
    .hero-main-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .homepage-card-title {
        font-size: 1.3rem;
    }
    
    .stats-cards {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    
    .aboutus-wire-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .aboutus-wire-images img {
        width: 120px;
        height: 100px;
    }
}

/* Tablet Portrait (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .homepage-section {
        flex-direction: column !important;
        padding: 2.5rem 1.5rem;
        gap: 2rem;
        text-align: center;
    }
    
    .homepage-col {
        width: 100% !important;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-main-title {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .hero-desc {
        text-align: center;
        max-width: 100%;
    }
    
    .homepage-card-title {
        font-size: 1.4rem;
        text-align: center;
    }
    
    .homepage-card-list {
        text-align: left;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .homepage-card-list li {
        text-align: left;
        padding: 1.2rem;
    }
    
    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .aboutus-wire-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .aboutus-wire-images img {
        width: 100px;
        height: 80px;
    }
    
    .call-enquiry-box {
        max-width: 350px;
        margin: 1rem auto;
    }
    
    .hero-logo {
        display: flex;
        justify-content: center;
        margin-bottom: 1.5rem;
    }
    
    .hero-logo img {
        height: 70px;
    }
    
    /* Center all section content */
    .homepage-hero-content,
    .aboutus-wire-content,
    .whychoose-wire-content,
    .trust-wire-content,
    .legacy-wire-content,
    .cta-wire-content {
        align-items: center !important;
        text-align: center;
    }
    
    /* Adjust image sizes for better tablet layout */
    .homepage-hero-image img,
    .aboutus-wire-image img,
    .whychoose-wire-image img,
    .trust-wire-image img,
    .legacy-wire-image img,
    .cta-wire-image img {
        max-width: 300px;
        height: auto;
        margin: 0 auto;
        display: block;
    }
}

/* Large Mobile (481px - 768px) */
@media (max-width: 768px) and (min-width: 482px) {
    .homepage-section {
        flex-direction: column !important;
        padding: 2rem 1rem;
        gap: 1.5rem;
        text-align: center;
    }
    
    .homepage-col {
        width: 100% !important;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-main-title {
        font-size: 1.6rem;
        text-align: center;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        text-align: center;
    }
    
    .hero-desc {
        text-align: center;
        max-width: 100%;
        font-size: 0.9rem;
    }
    
    .homepage-card-title {
        font-size: 1.3rem;
        text-align: center;
    }
    
    .homepage-card-list {
        text-align: left;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .homepage-card-list li {
        text-align: left;
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .stats-card {
        padding: 1.2rem;
    }
    
    .stats-value {
        font-size: 1.8rem;
    }
    
    .aboutus-wire-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .aboutus-wire-images img {
        width: 80px;
        height: 65px;
    }
    
    .call-enquiry-box {
        max-width: 300px;
        margin: 1rem auto;
        padding: 1rem;
    }
    
    .hero-logo {
        display: flex;
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .hero-logo img {
        height: 60px;
    }
    
    /* Center all section content */
    .homepage-hero-content,
    .aboutus-wire-content,
    .whychoose-wire-content,
    .trust-wire-content,
    .legacy-wire-content,
    .cta-wire-content {
        align-items: center !important;
        text-align: center;
    }
    
    /* Adjust image sizes for better mobile layout */
    .homepage-hero-image img,
    .aboutus-wire-image img,
    .whychoose-wire-image img,
    .trust-wire-image img,
    .legacy-wire-image img,
    .cta-wire-image img {
        max-width: 250px;
        height: auto;
        margin: 0 auto;
        display: block;
    }
    
    /* Improve testimonials for mobile */
    .testimonials-marquee-item {
        min-width: 280px;
        padding: 1.2rem;
    }
    
    .testimonials-marquee-quote {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .testimonials-marquee-client {
        font-size: 0.85rem;
    }
    
    .testimonials-marquee-role {
        font-size: 0.8rem;
    }
}

/* Small Mobile (320px - 481px) */
@media (max-width: 481px) and (min-width: 321px) {
    .homepage-section {
        flex-direction: column !important;
        padding: 1.5rem 0.8rem;
        gap: 1.2rem;
        text-align: center;
    }
    
    .homepage-col {
        width: 100% !important;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-main-title {
        font-size: 1.4rem;
        text-align: center;
        line-height: 1.2;
        margin-bottom: 0.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        text-align: center;
        margin-bottom: 0.8rem;
    }
    
    .hero-desc {
        text-align: center;
        max-width: 100%;
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }
    
    .homepage-card-title {
        font-size: 1.2rem;
        text-align: center;
        margin-bottom: 0.6rem;
    }
    
    .homepage-card-list {
        text-align: left;
        max-width: 100%;
        margin: 0 auto;
        gap: 0.8rem;
    }
    
    .homepage-card-list li {
        text-align: left;
        padding: 0.8rem;
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }
    
    .stats-cards {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .stats-card {
        padding: 1rem;
    }
    
    .stats-value {
        font-size: 1.6rem;
    }
    
    .stats-label {
        font-size: 0.8rem;
    }
    
    .aboutus-wire-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .aboutus-wire-images img {
        width: 60px;
        height: 50px;
    }
    
    .call-enquiry-box {
        max-width: 280px;
        margin: 0.8rem auto;
        padding: 0.8rem;
        font-size: 0.8rem;
    }
    
    .hero-logo {
        display: flex;
        justify-content: center;
        margin-bottom: 0.8rem;
    }
    
    .hero-logo img {
        height: 50px;
    }
    
    /* Center all section content */
    .homepage-hero-content,
    .aboutus-wire-content,
    .whychoose-wire-content,
    .trust-wire-content,
    .legacy-wire-content,
    .cta-wire-content {
        align-items: center !important;
        text-align: center;
    }
    
    /* Adjust image sizes for better small mobile layout */
    .homepage-hero-image img,
    .aboutus-wire-image img,
    .whychoose-wire-image img,
    .trust-wire-image img,
    .legacy-wire-image img,
    .cta-wire-image img {
        max-width: 200px;
        height: auto;
        margin: 0 auto;
        display: block;
    }
    
    /* Improve testimonials for small mobile */
    .testimonials-marquee-item {
        min-width: 250px;
        padding: 1rem;
    }
    
    .testimonials-marquee-quote {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .testimonials-marquee-client {
        font-size: 0.8rem;
    }
    
    .testimonials-marquee-role {
        font-size: 0.75rem;
    }
    
    /* Improve buttons for small mobile */
    .homepage-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
        display: block;
    }
}

/* Extra Small Mobile (below 320px) */
@media (max-width: 320px) {
    .homepage-section {
        flex-direction: column !important;
        padding: 1rem 0.5rem;
        gap: 1rem;
        text-align: center;
    }
    
    .homepage-col {
        width: 100% !important;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-main-title {
        font-size: 1.2rem;
        text-align: center;
        line-height: 1.1;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
        text-align: center;
        margin-bottom: 0.6rem;
    }
    
    .hero-desc {
        text-align: center;
        max-width: 100%;
        font-size: 0.8rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }
    
    .homepage-card-title {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 0.5rem;
    }
    
    .homepage-card-list {
        text-align: left;
        max-width: 100%;
        margin: 0 auto;
        gap: 0.6rem;
    }
    
    .homepage-card-list li {
        text-align: left;
        padding: 0.6rem;
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
    }
    
    .stats-cards {
        grid-template-columns: 1fr;
        gap: 0.6rem;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .stats-card {
        padding: 0.8rem;
    }
    
    .stats-value {
        font-size: 1.4rem;
    }
    
    .stats-label {
        font-size: 0.75rem;
    }
    
    .aboutus-wire-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .aboutus-wire-images img {
        width: 50px;
        height: 40px;
    }
    
    .call-enquiry-box {
        max-width: 250px;
        margin: 0.6rem auto;
        padding: 0.6rem;
        font-size: 0.75rem;
    }
    
    .hero-logo {
        display: flex;
        justify-content: center;
        margin-bottom: 0.6rem;
    }
    
    .hero-logo img {
        height: 40px;
    }
    
    /* Center all section content */
    .homepage-hero-content,
    .aboutus-wire-content,
    .whychoose-wire-content,
    .trust-wire-content,
    .legacy-wire-content,
    .cta-wire-content {
        align-items: center !important;
        text-align: center;
    }
    
    /* Adjust image sizes for extra small mobile */
    .homepage-hero-image img,
    .aboutus-wire-image img,
    .whychoose-wire-image img,
    .trust-wire-image img,
    .legacy-wire-image img,
    .cta-wire-image img {
        max-width: 150px;
        height: auto;
        margin: 0 auto;
        display: block;
    }
    
    /* Improve testimonials for extra small mobile */
    .testimonials-marquee-item {
        min-width: 200px;
        padding: 0.8rem;
    }
    
    .testimonials-marquee-quote {
        font-size: 0.8rem;
        line-height: 1.2;
    }
    
    .testimonials-marquee-client {
        font-size: 0.75rem;
    }
    
    .testimonials-marquee-role {
        font-size: 0.7rem;
    }
    
    /* Improve buttons for extra small mobile */
    .homepage-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
        display: block;
    }
}

/* Landscape Mobile Orientation */
@media (max-height: 500px) and (orientation: landscape) {
    .homepage-section {
        padding: 1rem 1.5rem;
        gap: 1rem;
        min-height: auto;
    }
    
    .hero-main-title {
        font-size: 1.3rem;
        margin-bottom: 0.4rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .hero-desc {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }
    
    .homepage-card-title {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }
    
    .homepage-card-list li {
        padding: 0.6rem;
        margin-bottom: 0.6rem;
        font-size: 0.8rem;
    }
    
    .stats-cards {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.8rem;
    }
    
    .stats-card {
        padding: 0.8rem;
    }
    
    .stats-value {
        font-size: 1.2rem;
    }
    
    .stats-label {
        font-size: 0.7rem;
    }
    
    .hero-logo img {
        height: 40px;
    }
    
    .navbar {
        padding: 4px 10px;
    }
    
    .title {
        font-size: 12px;
    }
    
    .logo img {
        height: 35px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo img,
    .hero-logo img,
    .homepage-hero-image img,
    .aboutus-wire-images img,
    .whychoose-wire-image img,
    .trust-wire-image img,
    .legacy-wire-image img,
    .cta-wire-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .homepage-btn,
    .call-enquiry-box,
    .navbar-menu a {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .homepage-card-list li:hover {
        transform: none;
    }
    
    .stats-card:hover {
        transform: none;
    }
    
    .service-card:hover {
        transform: none;
    }
    
    .gallery-card:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .call-enquiry-box,
    .homepage-btn,
    .testimonials-marquee-section {
        display: none !important;
    }
    
    .homepage-section {
        break-inside: avoid;
        page-break-inside: avoid;
        margin-bottom: 2rem;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    * {
        box-shadow: none !important;
        text-shadow: none !important;
    }
}

/* Enhanced Mobile Responsiveness and Accessibility */
@media (max-width: 768px) {
    /* Improve touch targets */
    .homepage-btn, .contact-btn, .admission-btn {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 20px;
    }
    
    /* Better form field spacing on mobile */
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px 16px;
    }
    
    /* Improve map responsiveness */
    iframe {
        height: 250px !important;
    }
    
    /* Better text readability */
    .hero-main-title {
        font-size: 2rem !important;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
        line-height: 1.4;
    }
    
    /* Improve button accessibility */
    button:focus,
    a:focus,
    input:focus,
    select:focus,
    textarea:focus {
        outline: 2px solid #25664a;
        outline-offset: 2px;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .homepage-btn,
    .contact-btn,
    .admission-btn {
        border: 2px solid #000;
        background: #fff !important;
        color: #000 !important;
    }
    
    .navbar-menu a {
        border: 1px solid #fff;
    }
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .hamburger-menu,
    .contact-btn {
        display: none !important;
    }
    
    .homepage-section {
        page-break-inside: avoid;
        margin: 20px 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
}

/* Focus indicators for better accessibility */
*:focus {
    outline: 2px solid #25664a;
    outline-offset: 2px;
}

/* Skip to main content link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #25664a;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
}

.skip-link:focus {
    top: 6px;
}

/* Loading state styles */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #25664a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error and success message styles */
.message {
    padding: 12px 16px;
    border-radius: 8px;
    margin: 16px 0;
    font-weight: 500;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Improved form validation styles */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-group.error .error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 4px;
}

/* Better mobile navigation */
@media (max-width: 768px) {
    .navbar-menu {
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .navbar-menu a {
        padding: 16px 20px;
        font-size: 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .hamburger-menu {
        padding: 8px;
        min-width: 44px;
        min-height: 44px;
    }
}

/* Performance optimizations */
.homepage-section {
    contain: layout style paint;
}

.animate-on-scroll {
    will-change: transform, opacity;
}

/* Better image loading */
/* img {
    loading:lazy;
} */

/* Improved button states */
.homepage-btn:hover,
.contact-btn:hover,
.admission-btn:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.homepage-btn:active,
.contact-btn:active,
.admission-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Desktop gap between title and navigation */
@media (min-width: 769px) {
    .navbar-menu {
        margin-left: 170px !important;
    }
}

/* Blog Page Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.blog-category {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
}

.blog-date {
    color: #666;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: #667eea;
}

.blog-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.blog-author {
    color: #666;
    font-size: 0.875rem;
}

.read-more {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #764ba2;
}

.read-more i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(3px);
}

.no-posts {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.no-posts h3 {
    margin-bottom: 1rem;
    color: #333;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-link {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
    font-weight: 500;
}

.page-link:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
}

.page-link.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.page-link i {
    margin: 0 0.25rem;
}

/* Responsive Blog Styles */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-card-content {
        padding: 1rem;
    }
    
    .blog-title {
        font-size: 1.1rem;
    }
    
    .blog-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .page-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
}

/* Blog Post Page Styles */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.post-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #eee;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    flex-wrap: wrap;
}

.post-category {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
}

.post-date, .post-author {
    color: #666;
}

.post-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    color: #333;
    margin: 0;
}

.post-featured-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    padding: 2rem;
    line-height: 1.8;
    color: #333;
}

.post-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: #333;
}

.post-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem;
    color: #333;
}

.post-content p {
    margin-bottom: 1rem;
}

.post-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-footer {
    padding: 2rem;
    border-top: 1px solid #eee;
    background: #f8f9fa;
}

.post-tags {
    margin-bottom: 2rem;
}

.post-tags h4 {
    margin-bottom: 1rem;
    color: #333;
}

.tag {
    display: inline-block;
    background: #e9ecef;
    color: #495057;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin: 0.25rem;
    font-size: 0.875rem;
}

.post-share h4 {
    margin-bottom: 1rem;
    color: #333;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.share-btn.facebook {
    background: #1877f2;
    color: white;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.share-btn.whatsapp {
    background: #25d366;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Related Posts */
.related-posts {
    margin-top: 3rem;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.related-posts h3 {
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.5rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-post {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.related-post-image {
    height: 150px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-content {
    padding: 1rem;
}

.related-post-content h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.4;
}

.related-post-content h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-content h4 a:hover {
    color: #667eea;
}

.related-post-date {
    color: #666;
    font-size: 0.875rem;
}

/* Blog CTA */
.blog-cta {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    text-align: center;
    color: white;
}

.cta-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-btn.primary {
    background: white;
    color: #667eea;
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive Blog Post Styles */
@media (max-width: 768px) {
    .post-header {
        padding: 1.5rem 1rem 1rem;
    }
    
    .post-title {
        font-size: 1.5rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .post-featured-image {
        height: 250px;
    }
    
    .post-content {
        padding: 1.5rem 1rem;
    }
    
    .post-footer {
        padding: 1.5rem 1rem;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .related-posts {
        padding: 1.5rem 1rem;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-cta {
        padding: 1.5rem 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Blog Styles */
.blog-hero-section {
    background: linear-gradient(135deg, rgba(255,248,220,0.8) 0%, rgba(245,230,179,0.8) 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: var(--text-primary);
}

.blog-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--platinum-dark);
}

.blog-hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.blog-hero-search {
    max-width: 500px;
    margin: 0 auto;
}

.search-form {
    display: flex;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.search-input-group {
    display: flex;
    width: 100%;
}

.search-input {
    flex: 1;
    border: none;
    padding: 15px 20px;
    font-size: 1rem;
    outline: none;
}

.search-btn {
    background: var(--platinum-dark);
    color: white;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-btn:hover {
    background: var(--platinum-mid);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(65, 114, 159, 0.3);
}

.blog-content-section {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(230,245,233,0.8) 0%, rgba(255,255,255,0.8) 100%);
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

.blog-main {
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.9) 100%);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.blog-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.category-filter {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    font-size: 0.9rem;
    cursor: pointer;
}

.results-info {
    color: #666;
    font-size: 0.9rem;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.post-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--platinum-light) 0%, var(--platinum-mid) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.post-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--platinum-dark);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.post-content {
    padding: 25px;
}

.post-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.post-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: var(--platinum-mid);
}

.post-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #888;
}

.post-meta > div {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    background: var(--platinum-light);
    color: var(--platinum-dark);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--platinum-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more-btn:hover {
    color: var(--platinum-mid);
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
    border-bottom: 2px solid var(--platinum-light);
    padding-bottom: 10px;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.category-list a:hover,
.category-list a.active {
    color: var(--platinum-dark);
    font-weight: 500;
}

.count {
    background: var(--platinum-light);
    color: var(--platinum-dark);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 500;
}

.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popular-post {
    display: flex;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.popular-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popular-post-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.popular-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-post-placeholder {
    width: 100%;
    height: 100%;
    background: var(--platinum-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--platinum-dark);
    font-size: 1.2rem;
}

.popular-post-content h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

.popular-post-content h4 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.popular-post-content h4 a:hover {
    color: var(--platinum-mid);
}

.popular-post-meta {
    font-size: 0.8rem;
    color: #888;
    display: flex;
    gap: 10px;
}

.newsletter-widget {
    background: linear-gradient(135deg, var(--platinum-dark) 0%, var(--platinum-mid) 100%);
    color: white;
}

.newsletter-widget .widget-title {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-input {
    padding: 12px 15px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
}

.newsletter-btn {
    background: white;
    color: var(--platinum-dark);
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-btn:hover {
    background: #f8f9fa;
}

.cta-widget {
    text-align: center;
    background: var(--platinum-light);
}

.cta-btn {
    display: block;
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    background: var(--platinum-dark);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.cta-btn:hover {
    background: var(--platinum-mid);
    color: white;
}

.cta-btn.secondary {
    background: transparent;
    color: var(--platinum-dark);
    border: 2px solid var(--platinum-dark);
}

.cta-btn.secondary:hover {
    background: var(--platinum-dark);
    color: white;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 15px;
    background: white;
    color: var(--text-primary);
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: var(--platinum-light);
    border-color: var(--platinum-mid);
}

.pagination-numbers {
    display: flex;
    gap: 5px;
}

.pagination-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    color: var(--text-primary);
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.pagination-number:hover,
.pagination-number.active {
    background: var(--platinum-dark);
    color: white;
    border-color: var(--platinum-dark);
}

.no-posts {
    text-align: center;
    padding: 60px 20px;
}

.no-posts-icon {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 20px;
}

.no-posts h3 {
    margin-bottom: 10px;
    color: var(--text-primary);
}

.no-posts p {
    color: #666;
    margin-bottom: 30px;
}

/* Blog Post Page Styles */
.blog-post-header {
    background: linear-gradient(135deg, rgba(255,248,220,0.8) 0%, rgba(245,230,179,0.8) 100%);
    padding: 60px 0 40px;
    color: var(--text-primary);
}

.post-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.breadcrumb-nav {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.breadcrumb-nav a {
    color: var(--platinum-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: var(--platinum-mid);
}

.breadcrumb-separator {
    margin: 0 10px;
    color: var(--platinum-mid);
}

.current-page {
    color: var(--platinum-dark);
    font-weight: 500;
}

.post-meta-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.post-category-badge {
    background: var(--platinum-dark);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.post-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--platinum-dark);
}

.post-meta-info > div {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--platinum-dark);
}

.post-excerpt {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.post-tags .tag {
    background: var(--platinum-mid);
    color: white;
    border: 1px solid var(--platinum-dark);
}

.blog-post-content {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(230,245,233,0.8) 0%, rgba(255,255,255,0.8) 100%);
}

.blog-post-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

.blog-post-main {
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.9) 100%);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.post-featured-image {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content {
    line-height: 1.8;
    color: var(--text-primary);
}

.post-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 30px 0 15px;
    color: var(--text-primary);
}

.post-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 25px 0 12px;
    color: var(--text-primary);
}

.post-content p {
    margin-bottom: 15px;
}

.post-content ul, .post-content ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.post-content li {
    margin-bottom: 8px;
}

.post-content strong {
    font-weight: 600;
    color: var(--text-primary);
}

.social-sharing {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.social-sharing h4 {
    margin-bottom: 15px;
    color: var(--text-primary);
}

.social-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-btn.facebook {
    background: #1877f2;
    color: white;
}

.social-btn.twitter {
    background: #1da1f2;
    color: white;
}

.social-btn.linkedin {
    background: #0077b5;
    color: white;
}

.social-btn.whatsapp {
    background: #25d366;
    color: white;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.author-bio {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    padding: 25px;
    background: var(--platinum-light);
    border-radius: 12px;
}

.author-avatar {
    font-size: 3rem;
    color: var(--platinum-dark);
    flex-shrink: 0;
}

.author-info h4 {
    margin-bottom: 10px;
    color: var(--text-primary);
}

.author-info p {
    color: #666;
    line-height: 1.6;
}

.blog-post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.toc-widget {
    position: sticky;
    top: 20px;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 8px;
}

.toc-list a {
    display: block;
    padding: 8px 12px;
    color: #666;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.toc-list a:hover {
    background: var(--platinum-light);
    color: var(--platinum-dark);
}

.toc-sub-item {
    padding-left: 20px !important;
    font-size: 0.85rem !important;
}

.related-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-post {
    display: flex;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.related-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-post-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-placeholder {
    width: 100%;
    height: 100%;
    background: var(--platinum-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--platinum-dark);
    font-size: 1.2rem;
}

.related-post-content h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

.related-post-content h4 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-content h4 a:hover {
    color: var(--platinum-mid);
}

.related-post-meta {
    font-size: 0.8rem;
    color: #888;
}

.related-articles-section {
    padding: 60px 0;
    background: white;
}

.related-articles-section .section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: var(--text-primary);
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.related-article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.article-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--platinum-light) 0%, var(--platinum-mid) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
}

.article-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--platinum-dark);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

.article-content {
    padding: 20px;
}

.article-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: var(--platinum-mid);
}

.article-excerpt {
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.article-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.8rem;
    color: #888;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--platinum-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.read-more-link:hover {
    color: var(--platinum-mid);
}

.view-all-articles {
    text-align: center;
}

.blog-cta-section {
    background: linear-gradient(135deg, var(--platinum-dark) 0%, var(--platinum-mid) 100%);
    padding: 60px 0;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: white;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mobile Responsive Styles for Blog */
@media (max-width: 768px) {
    .blog-hero-title {
        font-size: 2rem;
    }
    
    .blog-hero-subtitle {
        font-size: 1rem;
    }
    
    .blog-layout,
    .blog-post-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-main,
    .blog-post-main {
        padding: 20px;
    }
    
    .blog-filter-bar {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .post-title {
        font-size: 1.1rem;
    }
    
    .post-meta {
        gap: 10px;
    }
    
    .blog-post-header {
        padding: 40px 0 30px;
    }
    
    .post-title {
        font-size: 1.8rem;
    }
    
    .post-meta-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .post-meta-info {
        gap: 15px;
    }
    
    .social-buttons {
        justify-content: center;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .related-articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .blog-hero-title {
        font-size: 1.8rem;
    }
    
    .post-title {
        font-size: 1.5rem;
    }
    
    .blog-post-header .post-title {
        font-size: 1.6rem;
    }
    
    .search-form {
        flex-direction: column;
        border-radius: 12px;
    }
    
    .search-input-group {
        flex-direction: column;
    }
    
    .search-btn {
        border-radius: 0 0 12px 12px;
    }
}

/* Make Bootstrap modal appear higher (not centered) */
.modal-dialog {
  display: flex;
  align-items: flex-start; /* Align to top instead of center */
  min-height: calc(100vh - 1rem);
  margin-top: 2.5rem; /* Add some space from the top */
}
@media (max-width: 576px) {
  .modal-dialog {
    margin-top: 1rem;
  }
}

/* Hide all content except modal when modal is open */
body.modal-open > *:not(.modal):not(.modal-backdrop) {
  visibility: hidden !important;
  pointer-events: none !important;
  user-select: none !important;
}
body.modal-open .modal,
body.modal-open .modal-backdrop {
  visibility: visible !important;
  pointer-events: auto !important;
  user-select: auto !important;
}

/* Prevent background scroll when modal is open, allow only modal scroll */
body.modal-open {
  overflow: hidden !important;
  position: fixed !important;
  width: 100vw !important;
  height: 100vh !important;
}
body.modal-open .modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 1060 !important;
  background: linear-gradient(135deg, #25664a 0%, #183a2c 100%) !important;
  overflow-y: auto !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.modal-open .modal-dialog {
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 !important;
  height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 2rem !important;
}
body.modal-open .modal-content {
  width: 100vw !important;
  max-width: 700px !important;
  height: 100vh !important;
  border-radius: 20px !important;
  margin: 0 auto !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3) !important;
  background: white !important;
  overflow-y: auto !important;
  display: flex !important;
  flex-direction: column !important;
  border: none !important;
  border-top: 4px solid #fbc531 !important;
}
body.modal-open .modal-backdrop {
  display: none !important;
}

/* Hide only #mainContent except modal when modal is open */
body.modal-open #mainContent {
  display: none !important;
}
body.modal-open .modal,
body.modal-open .modal-backdrop {
  visibility: visible !important;
  pointer-events: auto !important;
  user-select: auto !important;
}

/* Make the modal truly fullscreen and hide all background */
body.modal-open #mainContent {
  display: none !important;
}
body.modal-open .modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  margin: 0 !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  z-index: 1060 !important;
  background: #fff !important;
  overflow-y: auto !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.modal-open .modal-dialog {
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 !important;
  min-height: 100vh !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
}
body.modal-open .modal-content {
  width: 100vw !important;
  max-width: 600px;
  min-height: 100vh !important;
  border-radius: 0 !important;
  margin: 0 auto !important;
  box-shadow: none !important;
  background: #fff !important;
  overflow-y: auto !important;
  display: flex;
  flex-direction: column;
}
body.modal-open .modal-backdrop {
  display: none !important;
}

/* Theme-consistent modal styling */
body.modal-open .modal-header {
  background: linear-gradient(135deg, #25664a 0%, #183a2c 100%) !important;
  color: white !important;
  border-radius: 20px 20px 0 0 !important;
  padding: 1.5rem 2rem !important;
  border-bottom: none !important;
}

body.modal-open .modal-title {
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  text-align: center !important;
  margin: 0 auto !important;
  color: white !important;
}

body.modal-open .btn-close {
  background: rgba(252, 197, 49, 0.2) !important;
  border-radius: 50% !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
  border: 2px solid rgba(252, 197, 49, 0.3) !important;
}

body.modal-open .btn-close:hover {
  background: rgba(252, 197, 49, 0.3) !important;
  transform: scale(1.1) !important;
}

body.modal-open .modal-body {
  padding: 2rem !important;
  background: white !important;
  flex: 1 !important;
}

body.modal-open .form-label {
  font-weight: 600 !important;
  color: #25664a !important;
  margin-bottom: 0.5rem !important;
  font-size: 0.95rem !important;
}

body.modal-open .form-control,
body.modal-open .form-select {
  border: 2px solid #e9ecef !important;
  border-radius: 12px !important;
  padding: 0.75rem 1rem !important;
  font-size: 1rem !important;
  transition: all 0.3s ease !important;
  background: #f8f9fa !important;
}

body.modal-open .form-control:focus,
body.modal-open .form-select:focus {
  border-color: #25664a !important;
  box-shadow: 0 0 0 0.2rem rgba(37, 102, 74, 0.25) !important;
  background: white !important;
  transform: translateY(-2px) !important;
}

body.modal-open .form-check-input:checked {
  background-color: #25664a !important;
  border-color: #25664a !important;
}

body.modal-open .modal-footer {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
  border-top: 2px solid #e9ecef !important;
  padding: 1.5rem 2rem !important;
  border-radius: 0 0 20px 20px !important;
}

body.modal-open .btn-primary {
  background: linear-gradient(135deg, #fbc531 0%, #fcb045 100%) !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 1rem 2rem !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  color: #001F3F !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(252, 197, 49, 0.3) !important;
}

body.modal-open .btn-primary:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(252, 197, 49, 0.4) !important;
  background: linear-gradient(135deg, #fcb045 0%, #fbc531 100%) !important;
}

body.modal-open .btn-success {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 1rem 2rem !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3) !important;
}

body.modal-open .btn-success:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4) !important;
  background: linear-gradient(135deg, #128c7e 0%, #25d366 100%) !important;
}

/* Alert styling with theme colors */
body.modal-open .alert {
  border-radius: 12px !important;
  border: none !important;
  padding: 1rem 1.5rem !important;
  font-weight: 500 !important;
  margin-bottom: 1.5rem !important;
}

body.modal-open .alert-success {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%) !important;
  color: #155724 !important;
  border-left: 4px solid #25664a !important;
}

body.modal-open .alert-danger {
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%) !important;
  color: #721c24 !important;
  border-left: 4px solid #dc3545 !important;
}

/* Responsive, centered modal with theme styling */
body.modal-open .modal {
  background: linear-gradient(135deg, #25664a 0%, #183a2c 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 100vh !important;
  padding: 0 !important;
}

body.modal-open .modal-dialog {
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  min-height: unset;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

body.modal-open .modal-content {
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  background: #fff;
  border: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

body.modal-open .modal-header {
  background: linear-gradient(135deg, #25664a 0%, #183a2c 100%);
  color: #fff;
  border-radius: 20px 20px 0 0;
  padding: 2rem 2rem 1.2rem 2rem;
  border-bottom: none;
  position: relative;
  text-align: center;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  display: flex;
}

body.modal-open .modal-header::after {
  content: '';
  display: block;
  width: 100%;
  height: 5px;
  background: #fbc531;
  position: absolute;
  left: 0;
  bottom: 0;
  border-radius: 0 0 10px 10px;
}

body.modal-open .modal-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto;
  color: #fff;
  width: 100%;
  text-align: center;
}

body.modal-open .modal-body {
  padding: 2rem;
  background: #fff;
}

@media (max-width: 700px) {
  body.modal-open .modal-dialog,
  body.modal-open .modal-content {
    max-width: 98vw;
    border-radius: 10px;
  }
  body.modal-open .modal-header {
    padding: 1.2rem 1rem 1rem 1rem;
  }
  body.modal-open .modal-body {
    padding: 1rem;
  }
}

/* Website default theme for modal */
body.modal-open .modal {
  background: rgba(0,0,0,0.12) !important; /* subtle overlay, not a gradient */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 100vh !important;
  padding: 0 !important;
}

body.modal-open .modal-dialog {
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  min-height: unset;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

body.modal-open .modal-content {
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(27,33,58,0.12);
  background: #fff;
  border: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

body.modal-open .modal-header {
  background: #25664a;
  color: #fff;
  border-radius: 20px 20px 0 0;
  padding: 2rem 2rem 1.2rem 2rem;
  border-bottom: none;
  position: relative;
  text-align: center;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  display: flex;
}

body.modal-open .modal-header::after {
  content: '';
  display: block;
  width: 100%;
  height: 5px;
  background: #fbc531;
  position: absolute;
  left: 0;
  bottom: 0;
  border-radius: 0 0 10px 10px;
}

body.modal-open .modal-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto;
  color: #fff;
  width: 100%;
  text-align: center;
}

body.modal-open .modal-body {
  padding: 2rem;
  background: #fff;
}

@media (max-width: 700px) {
  body.modal-open .modal-dialog,
  body.modal-open .modal-content {
    max-width: 98vw;
    border-radius: 10px;
  }
  body.modal-open .modal-header {
    padding: 1.2rem 1rem 1rem 1rem;
  }
  body.modal-open .modal-body {
    padding: 1rem;
  }
}

/* Refined modal form layout and UX */
body.modal-open .modal {
  background: rgba(0,0,0,0.12) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 100vh !important;
  padding: 0 !important;
  z-index: 1060 !important;
}
body.modal-open .modal-dialog {
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  min-height: unset;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
body.modal-open .modal-content {
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(27,33,58,0.12);
  background: #fff;
  border: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
body.modal-open .modal-header {
  background: #25664a;
  color: #fff;
  border-radius: 20px 20px 0 0;
  padding: 2rem 2rem 1.2rem 2rem;
  border-bottom: none;
  position: relative;
  text-align: center;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  display: flex;
}
body.modal-open .modal-header::after {
  content: '';
  display: block;
  width: 100%;
  height: 5px;
  background: #fbc531;
  position: absolute;
  left: 0;
  bottom: 0;
  border-radius: 0 0 10px 10px;
}
body.modal-open .modal-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto;
  color: #fff;
  width: 100%;
  text-align: center;
}
body.modal-open .modal-body {
  padding: 2rem 2rem 1.5rem 2rem;
  background: #fff;
}
body.modal-open .row.g-3 {
  row-gap: 1.2rem;
  column-gap: 1.2rem;
}
body.modal-open .form-label {
  font-weight: 600 !important;
  color: #25664a !important;
  margin-bottom: 0.35rem !important;
  font-size: 1rem !important;
}
body.modal-open .form-control,
body.modal-open .form-select {
  border: 2px solid #e9ecef !important;
  border-radius: 12px !important;
  padding: 0.7rem 1rem !important;
  font-size: 1rem !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
  background: #f8f9fa !important;
  box-shadow: none !important;
}
body.modal-open .form-control:focus,
body.modal-open .form-select:focus {
  border-color: #25664a !important;
  box-shadow: 0 0 0 0.15rem rgba(37, 102, 74, 0.13) !important;
  background: #fff !important;
}
body.modal-open .form-control:hover,
body.modal-open .form-select:hover {
  border-color: #fbc531 !important;
}
body.modal-open .form-check-input:checked {
  background-color: #25664a !important;
  border-color: #25664a !important;
}
body.modal-open .form-check-label {
  font-size: 0.97rem;
  color: #183a2c;
}
body.modal-open .modal-footer {
  background: #f8f9fa !important;
  border-top: 2px solid #e9ecef !important;
  padding: 1.5rem 2rem !important;
  border-radius: 0 0 20px 20px !important;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
body.modal-open .btn-primary {
  background: linear-gradient(135deg, #fbc531 0%, #fcb045 100%) !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 1rem 2rem !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  color: #001F3F !important;
  transition: all 0.2s !important;
  box-shadow: 0 2px 8px rgba(252, 197, 49, 0.13) !important;
}
body.modal-open .btn-primary:hover {
  background: linear-gradient(135deg, #fcb045 0%, #fbc531 100%) !important;
  box-shadow: 0 4px 16px rgba(252, 197, 49, 0.18) !important;
}
body.modal-open .btn-success {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 1rem 2rem !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  transition: all 0.2s !important;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.13) !important;
  color: #fff !important;
}
body.modal-open .btn-success:hover {
  background: linear-gradient(135deg, #128c7e 0%, #25d366 100%) !important;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.18) !important;
}
body.modal-open .alert {
  border-radius: 12px !important;
  border: none !important;
  padding: 1rem 1.5rem !important;
  font-weight: 500 !important;
  margin-bottom: 1.5rem !important;
}
body.modal-open .alert-success {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%) !important;
  color: #155724 !important;
  border-left: 4px solid #25664a !important;
}
body.modal-open .alert-danger {
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%) !important;
  color: #721c24 !important;
  border-left: 4px solid #dc3545 !important;
}
@media (max-width: 700px) {
  body.modal-open .modal-dialog,
  body.modal-open .modal-content {
    max-width: 98vw;
    border-radius: 10px;
  }
  body.modal-open .modal-header {
    padding: 1.2rem 1rem 1rem 1rem;
  }
  body.modal-open .modal-body {
    padding: 1rem;
  }
}

