/* css/style.css */

:root {
    --primary-blue: #0047AB;
    --secondary-gold: #FFD700;
    --light-blue: #E6F0FF;
    --dark-blue: #003380;
    --light-gray: #F8F9FA;
    --dark-gray: #343A40;
    --text-color: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 76px; /* Account for fixed navbar */
    background: linear-gradient(180deg, #f5f7fb 0%, #eef2ff 40%, #fdfdfd 100%);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Navigation */
.navbar {
    background: linear-gradient(90deg, var(--primary-blue), var(--dark-blue));
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img.logo {
    height: 40px;
    width: 40px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.5);
}

.brand-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #ffffff;
    margin-left: 4px;
}

.navbar-nav .nav-link {
    color: #f8f9fa;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.2s, transform 0.2s;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-gold);
    transform: translateY(-1px);
}

.btn-register {
    background-color: var(--primary-blue);
    color: white !important;
    border-radius: 30px;
    padding: 8px 20px !important;
    transition: all 0.3s;
}

.btn-register:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: none;
    color: white;
    position: relative;
    height: 70vh;
    min-height: 480px;
    padding: 0;
    overflow: hidden;
    text-align: center;
     background-size: cover;
    color: white;
    padding: 120px 0 100px;
    text-align: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Make carousel fill the hero section and ensure images cover */
.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item {
    height: 100%;
}

.hero-section .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Ensure carousel sits above any background and caption above images */
.hero-section .carousel {
    z-index: 0;
}

.hero-section .carousel-caption {
    z-index: 2;
}

.hero-btns .btn {
    margin: 0 10px;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--secondary-gold);
    border-color: var(--secondary-gold);
    color: var(--dark-blue);
}

.btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--primary-blue);
}

/* Section Styling */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background-color: var(--secondary-gold);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Services Cards */
.service-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    height: 100%;
    transition: all 0.3s;
    border-top: 4px solid var(--primary-blue);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

/* Testimonials */
.testimonial-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin: 15px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

/* About Page */
.about-section {
    background-color: var(--light-blue);
}

.mission-vision-box {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    height: 100%;
    text-align: center;
}

.mission-vision-box i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

/* Contact Form */
.contact-form {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.form-control {
    border-radius: 8px;
    padding: 11px 14px;
    border: 1px solid #dde1f1;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.16rem rgba(0, 71, 171, 0.25);
}

.contact-info {
    background-color: var(--light-blue);
    border-radius: 10px;
    padding: 30px;
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-info-item i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-right: 15px;
    margin-top: 5px;
}

/* Registration Page */
.package-selector {
    margin-bottom: 30px;
}

.package-selector select {
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    width: 100%;
    font-size: 1rem;
}

.registration-form {
    background-color: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    padding: 30px;
    margin-bottom: 30px;
    border-top: 4px solid var(--primary-blue);
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h4 {
    color: var(--primary-blue);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-gold);
    display: inline-block;
}

/* Footer */
.footer {
    background-color: var(--dark-blue) !important;
}

.footer h5 {
    color: var(--secondary-gold);
    margin-bottom: 20px;
}

.footer a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--secondary-gold);
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--secondary-gold);
    color: var(--dark-blue);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .navbar-nav .nav-link {
        margin: 5px 0;
    }
}

/* UI/UX small enhancements */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 1200px;
}

.service-card, .testimonial-card, .mission-vision-box {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover, .testimonial-card:hover, .mission-vision-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.btn {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:active, .btn:hover {
    transform: translateY(-2px);
}

.map-placeholder {
    min-height: 250px;
}

/* AOS fallback for elements that may not load AOS */
[data-aos] {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-aos].aos-init.aos-animate {
    opacity: 1;
    transform: translateY(0);
}





/* Login Form Styles */
.login-form-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
    padding: 40px;
    margin: 10px 0;
}

.login-form-container .input-group-append  {
    background-color: var(--light-blue);
    border-color: #ddd;

}

/* Password toggle button */
#togglePassword {
    border-left: 0;
    border-color: #ddd;
    height: 50px;
}

#togglePassword:hover {
    background-color: var(--light-blue);
}

/* Forgot password link */
.forgot-password {
    color: var(--primary-blue);
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Social login buttons */
.btn-outline-primary, .btn-outline-dark {
    border-radius: 5px;
    padding: 10px;
}








/* Terms and Conditions Modal Styles */
/* Terms and Conditions Modal Styles - Updated */
.terms-modal .modal-content {
    border-radius: 10px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.terms-modal .modal-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: white;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    padding: 20px 30px;
}

.terms-modal .modal-title {
    font-weight: 700;
    font-size: 1.5rem;
}

.terms-modal .modal-body {
    padding: 30px;
    max-height: 60vh;
    overflow-y: auto;
}

.terms-modal .modal-footer {
    border-top: 1px solid #eee;
    padding: 20px 30px;
    border-radius: 0 0 10px 10px;
}

.terms-content {
    line-height: 1.8;
    font-size: 0.95rem;
}

.terms-section {
    margin-bottom: 25px;
}

.terms-section h5 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--secondary-gold);
    font-weight: 600;
}

.terms-list {
    list-style-type: none;
    padding-left: 0;
}

.terms-list li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.terms-list li:before {
    content: "•";
    color: var(--primary-blue);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.terms-caution {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    font-weight: 600;
}

.terms-agreement {
    background-color: var(--light-blue);
    border-radius: 8px;
    padding: 20px;
    margin-top: 25px;
    text-align: center;
}

.signature-line {
    display: inline-block;
    width: 200px;
    border-bottom: 1px solid #333;
    margin: 0 10px;
    text-align: center;
}

.btn-terms {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-terms:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 71, 171, 0.3);
    color: white;
}

.btn-print {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-print:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
    color: white;
}

/* Scrollbar styling for modal */
.terms-modal .modal-body::-webkit-scrollbar {
    width: 6px;
}

.terms-modal .modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.terms-modal .modal-body::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 3px;
}

.terms-modal .modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--dark-blue);
}

/* Print Styles for Terms and Conditions */
@media print {
    body * {
        visibility: hidden;
    }
    
    .terms-print-section,
    .terms-print-section * {
        visibility: visible;
    }
    
    .terms-print-section {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        padding: 20px;
        background: white;
        font-size: 14px;
        line-height: 1.4;
    }
    
    .no-print {
        display: none !important;
    }
    
    .terms-print-section .modal-header {
        background: #0047AB !important;
        color: white !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .terms-print-section .terms-caution {
        background: #fff3cd !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .terms-print-section .terms-agreement {
        background: #e6f0ff !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}