/* =========================================
   1. CONFIGURATION & BASE VARIABLES
   ========================================= */
:root {
    /* Brand Colors - VIBRANT & PROFESSIONAL */
    --primary-color: #9e1b32; /* University Crimson */
    --primary-light: #b92b45; 
    --secondary-color: #ffc107; /* Gold */
    --bg-cream: #f9f7f2; 
    --text-dark: #1a1a1a;
    --text-muted: #666;
    
    /* Fonts */
    --font-serif: 'Merriweather', serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: #fff;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, .font-serif {
    font-family: var(--font-serif);
}

/* =========================================
   2. UTILITIES & HELPER CLASSES
   ========================================= */
.text-primary-custom { color: var(--primary-color) !important; }
.bg-primary-custom { background-color: var(--primary-color) !important; }

/* Technical Grid Background */
.bg-cream {
    background-color: #fcfbf9 !important;
    background-image: linear-gradient(#e9e9e9 1px, transparent 1px),
    linear-gradient(90deg, #e9e9e9 1px, transparent 1px);
    background-size: 40px 40px; /* Precise grid */
    background-position: -1px -1px;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #b8860b 0%, #ffc107 50%, #b8860b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block; /* Fix for some browsers */
}

/* Quote Styling */
blockquote.border-start {
    background-color: var(--bg-cream); /* Subtle background for quote */
    padding: 1.5rem;
    border-radius: 0 10px 10px 0;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.05);
}

/* Spacing Helpers */
.spacing-y-2 > li { margin-bottom: 0.5rem; }

/* Icon Utilities */
.icon-box-lg {
    width: 80px; height: 80px;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s;
}
.bg-primary-subtle { background-color: rgba(158, 27, 50, 0.1); }
.bg-warning-subtle { background-color: rgba(238, 182, 9, 0.1); }
.bg-success-subtle { background-color: rgba(25, 135, 84, 0.1); }
.bg-info-subtle { background-color: rgba(13, 202, 240, 0.1); }

/* =========================================
   3. ANIMATIONS & INTERACTIONS
   ========================================= */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.15) !important;
}
.hover-scale { transition: transform 0.5s ease; }
.hover-scale:hover { transform: scale(1.02); }

/* =========================================
   4. NAVIGATION & TOP BAR
   ========================================= */
.top-bar {
    background-color: var(--primary-color);
    color: #fff;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Forces icons and text to align vertically */
.top-bar span, 
.top-bar a, 
.top-bar div {
    display: inline-flex;
    align-items: center;
}

.top-bar i {
    margin-right: 0.5rem; /* Consistent spacing for icons */
}

.top-bar a {
    color: #fff !important;
    text-decoration: none;
    transition: opacity 0.3s;
}

.top-bar a:hover {
    opacity: 0.8;
}

/* Navbar */
.navbar {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}
.navbar-brand .brand-text { letter-spacing: -0.5px; }
.navbar-brand .brand-subtext { font-size: 0.75rem; letter-spacing: 2px; color: #555; }
.nav-link { color: var(--text-dark) !important; font-size: 0.95rem; transition: color 0.3s; }
.nav-link:hover { color: var(--primary-color) !important; }

/* =========================================
   5. BUTTONS
   ========================================= */
.btn-primary-custom {
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: #fff !important; /* Added: Forces text to be white */
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    color: #fff !important; /* Keep text white on hover */
    transform: translateY(-2px);
}
.btn-outline-primary-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    transition: all 0.3s ease;
}
.btn-outline-primary-custom:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* Gold CTA Button */
.btn-cta-gold {
    background: linear-gradient(45deg, #FFC107, #FFB300);
    color: #000 !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
    transition: all 0.3s ease;
}
.btn-cta-gold:hover {
    background: linear-gradient(45deg, #FFB300, #FFC107);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.6);
}

/* =========================================
   6. HERO SECTION & FORMS
   ========================================= */
.hero-section {
    position: relative;
    background: url('aaa-hero-banner.png') no-repeat center center/cover;
    min-height: 100vh; 
    margin-top: -86px; 
    padding-top: 100px;
    padding-bottom: 60px;
}
.hero-section .overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}
.pattern-overlay {
    display: none; 
}

/* Glass Form */
.glass-card {
    background: rgba(255, 255, 255, 0.96) !important; /* Solid White */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 1);
    border-top: 6px solid var(--secondary-color);
    box-shadow: 0 25px 50px rgba(0,0,0,0.25) !important;
    border-radius: 16px;
    position: relative;
    z-index: 10;
}

.glass-card .form-control, 
.glass-card .form-select {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}
.glass-card .form-control:focus {
    background-color: #fff;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
}
.glass-tag {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* =========================================
   7. STATS SECTION
   ========================================= */
#stats {
    background: linear-gradient(135deg, var(--primary-color) 0%, #5e0b1d 100%); /* Deep Maroon Gradient */
    position: relative;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.3); /* Inner shadow for depth */
    overflow: hidden;
}

/* Subtle texture overlay */
#stats::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.2;
    z-index: 1;
}

/* Gold Numbers */
#stats h2.counter {
    color: var(--secondary-color); /* Gold */
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
    margin-bottom: 0px;
    position: relative;
    z-index: 3;
}

/* Text Labels */
#stats p {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.8rem;
    position: relative;
    z-index: 3;
    margin-top: 5px;
}

/* Faint Background Icons */
.stats-icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem; /* Reduced from 6rem to fit the thinner bar */
    color: rgba(0, 0, 0, 0.15);
    z-index: 2;
    pointer-events: none;
}

/* Vertical Dividers */
.border-end-custom {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

/* =========================================
   8. ABOUT & FEATURE CARDS
   ========================================= */
#about {
    background-color: #fff;
    background-image: radial-gradient(#f1f1f1 1px, transparent 1px);
    background-size: 20px 20px; /* Subtle dot pattern */
}

/* Premium Feature Cards */
.feature-card {
    background: #fff;
    border: none;
    border-bottom: 4px solid transparent; /* Hidden gold bar */
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Soft bounce effect */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(158, 27, 50, 0.1); /* Subtle Maroon glow */
    border-bottom-color: var(--secondary-color); /* Gold reveal */
}

/* Unified Gold Icons */
.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%); /* Pale Gold Background */
    color: var(--secondary-color); /* Gold Icon */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem auto;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--secondary-color);
    color: #000; /* Icon turns black on hover for contrast */
    transform: rotateY(180deg); /* 3D Flip effect */
}

/* =========================================
   9. ACADEMICS SECTION
   ========================================= */
#academics {
    background-color: #fff;
    /* Subtle geometric pattern */
    background-image: radial-gradient(#e0e0e0 1px, transparent 1px);
    background-size: 30px 30px;
    position: relative;
}
#academics::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; height: 100px;
    background: linear-gradient(to top, #fff, transparent);
    pointer-events: none;
}

.academic-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
}

.academic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: var(--secondary-color);
}

.academic-header {
    background: var(--bg-cream);
    padding: 2rem 1rem;
    position: relative;
    border-bottom: 1px solid #eee;
}

/* Step Number Watermark */
.step-watermark {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(0,0,0,0.03);
    font-family: var(--font-serif);
}

.card-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Middle Card Highlight */
.academic-card.highlight {
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 40px rgba(158, 27, 50, 0.1);
}
.academic-card.highlight .academic-header {
    background: var(--primary-color);
    color: white;
}
.academic-card.highlight .card-icon-circle {
    color: var(--primary-color);
}
.academic-card.highlight .step-watermark {
    color: rgba(255,255,255,0.1);
}
.academic-card.highlight h4, 
.academic-card.highlight small {
    color: white !important;
}

/* =========================================
   10. VIDEO SECTION
   ========================================= */
.video-section {
    position: relative;
    background: url('campus-background.webp') no-repeat center center;
    background-attachment: fixed; /* Parallax Effect */
    background-size: cover;
    padding: 8rem 0;
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Darkens the image */
    z-index: 1;
}

/* Glass Play Button */
.btn-play-glass {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.btn-play-glass:hover {
    background: var(--secondary-color); /* Gold on hover */
    color: #000;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 193, 7, 0.6);
}

.btn-play-glass::after {
    content: '';
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Video Button Pulse */
.play-btn .pulse {
    animation: pulse-animation 2s infinite;
}
@keyframes pulse-animation {
    0% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(255, 193, 7, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
}

/* =========================================
   11. CAMPUS GALLERY
   ========================================= */
#campus {
    background: #000; /* Dark background so images pop */
    padding: 0 !important; /* Force zero padding */
}

.group-image {
    height: 350px; /* Taller, more cinematic height */
    overflow: hidden;
    position: relative;
    cursor: crosshair; /* Interactive feel */
}

.group-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.2, 1);
}

.overlay-gradient {
    position: absolute; bottom: 0; left: 0; right: 0; top: 50%; /* Original placement */
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    opacity: 0.8;
    z-index: 1;
    transition: opacity 0.4s ease;
}

.img-caption {
    bottom: -20px; /* Start slightly hidden */
    left: 30px;
    opacity: 0.9;
    transition: all 0.4s ease;
    border-left: 3px solid var(--secondary-color); /* Gold Accent Line */
    padding-left: 15px;
}
/* Re-declaring group-image .img-caption from original css block to ensure no overrides lost */
.group-image .img-caption {
    position: absolute; bottom: 20px; left: 20px;
    color: white; z-index: 2;
}

.transition-zoom { transition: transform 0.5s ease; }
.group-image:hover .transition-zoom { transform: scale(1.1); }

/* Hover Effects */
.group-image:hover img {
    transform: scale(1.15);
}
.group-image:hover .overlay-gradient {
    opacity: 1; 
}
.group-image:hover .img-caption {
    bottom: 30px; /* Slide up */
    opacity: 1;
}
.group-image:hover .img-caption h5 {
    color: var(--secondary-color); 
}

/* =========================================
   12. PROCESS TIMELINE
   ========================================= */
.process-step-circle {
    width: 90px;
    height: 90px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent; 
}

.process-step-circle::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.process-step-circle:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(158, 27, 50, 0.15);
}

.process-step-circle i {
    font-size: 2rem;
    background: -webkit-linear-gradient(var(--primary-color), #720e1e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.process-connector {
    position: absolute;
    top: 45px; 
    left: 0;
    width: 100%;
    height: 4px;
    background: #e9ecef;
    z-index: 0;
    border-radius: 2px;
}

.process-connector::after {
    content: '';
    position: absolute;
    top: 0; left: 0; height: 100%;
    width: 20%; 
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 2px;
}

/* =========================================
   13. TESTIMONIALS
   ========================================= */
#testimonial-section {
    background-color: var(--bg-cream); 
    position: relative;
    overflow: hidden;
}

#testimonial-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: repeating-linear-gradient(45deg, rgba(0,0,0,0.02) 0px, rgba(0,0,0,0.02) 2px, transparent 2px, transparent 12px);
    z-index: 0;
}

.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    position: relative;
    z-index: 2;
    border-top: 5px solid var(--secondary-color); 
}

.quote-watermark {
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 6rem;
    color: rgba(255, 193, 7, 0.15); 
    font-family: serif;
    line-height: 1;
    z-index: 0;
}

.avatar-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 3px solid rgba(255,255,255,0.5);
    box-shadow: 0 5px 15px rgba(158, 27, 50, 0.3);
}

.carousel-control-custom {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 1;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.carousel-control-custom:hover {
    background: var(--primary-color);
    color: white;
}

/* =========================================
   14. FAQ ACCORDION
   ========================================= */
.accordion-item {
    border: 1px solid #eee !important;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.accordion-button {
    background-color: #fff !important;
    color: var(--text-dark) !important;
    font-weight: 700;
    padding: 1.5rem;
    box-shadow: none !important; 
}

.accordion-button:not(.collapsed) {
    background-color: #fffaf0 !important; 
    color: var(--primary-color) !important;
    border-left: 4px solid var(--secondary-color); 
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%239e1b32'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg) scale(1.2);
}

.accordion-body {
    padding: 0 1.5rem 1.5rem 1.5rem;
    line-height: 1.8;
    color: var(--text-muted);
}

/* =========================================
   15. FOOTER & GLOBAL FLOATS
   ========================================= */
/* Social Buttons */
.social-btn {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.1);
    color: white;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: 0.3s;
}
.social-btn:hover { background: var(--secondary-color); color: #000; }
.hover-white:hover { color: white !important; }

/* Whatsapp Float */
.whatsapp-float {
    position: fixed; 
    width: 60px; 
    height: 60px;
    bottom: 40px; 
    right: 25px;
    background-color: #25d366; 
    color: #FFF;
    border-radius: 50%; 
    text-align: center; 
    font-size: 30px;
    z-index: 1040;
    display: flex; 
    align-items: center; 
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3); 
}
.whatsapp-float:hover { transform: scale(1.1) rotate(10deg); color: white; }

/* Ultimate Premium Footer Styles */
.site-footer {
    background: linear-gradient(145deg, #2b050d 0%, #4a0d15 100%);
    border-top: 5px solid var(--secondary-color);
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '\f19c'; 
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: -10%;
    right: -5%;
    font-size: 25rem;
    color: rgba(0, 0, 0, 0.05); 
    transform: rotate(-15deg);
    pointer-events: none;
}

.footer-heading {
    color: #fff;
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    margin-top: 8px;
    border-radius: 2px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer-link:hover {
    color: var(--secondary-color);
    padding-left: 8px; 
}

.newsletter-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 15px;
    border-radius: 8px;
    width: 100%;
    margin-bottom: 10px;
}
.newsletter-input:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: none;
}

.site-footer h4, 
.site-footer h6 {
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.footer-social-btn {
    width: 40px; 
    height: 40px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.footer-social-btn:hover {
    background: var(--secondary-color);
    color: black;
    border-color: var(--secondary-color);
    transform: rotate(360deg); 
}

.copyright-bar {
    background-color: #000;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* =========================================
   16. MEDIA QUERIES (RESPONSIVE)
   ========================================= */
@media (max-width: 991px) {
    .hero-section { text-align: center; margin-top: 0; padding-top: 40px; min-height: auto; }
    .hero-section h1 { font-size: 2.2rem; }
    #hero-form { margin-top: 40px; }
    .hero-text-content .row.g-4 { justify-content: center; } 
    .border-end-md { border-right: none; }
    .border-end-custom { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 20px; margin-bottom: 20px; }
    .col-md-3:last-child .border-end-custom { border-bottom: none; }
    
    .whatsapp-float {
        bottom: 80px; 
        right: 20px;
        width: 50px; height: 50px; font-size: 24px;
    }
}
@media (max-width: 768px) {
    /* Merged explicit rule from original CSS */
    .border-end-custom { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 20px; margin-bottom: 20px; }
    .col-md-3:last-child .border-end-custom { border-bottom: none; }
}
/* --- PREMIUM FORM POLISH --- */
.form-floating > .form-control,
.form-floating > .form-select {
    border: 1px solid #eee !important;
    border-radius: 8px;
    height: calc(3.5rem + 2px);
    line-height: 1.25;
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    background-color: #fff !important;
    border-color: var(--secondary-color) !important; /* Gold Border Focus */
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.15); /* Gold Glow */
}

.form-floating > label {
    padding: 1rem 0.75rem;
}
/* --- FORM VALIDATION STYLES --- */
.required::after {
    content: " *";
    color: #dc3545; /* Bootstrap Danger Red */
    font-weight: bold;
}

/* Fix floating label overlap with validation icon */
.form-floating.is-invalid > .form-control {
    background-position: right calc(0.375em + 0.1875rem) center;
}