* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #388da8;
    --secondary-color: #2a6b82;
    --success-color: #4caf50;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
}

/* Navigation Bar */
.navbar {
    background-color: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 60px;
    position: relative;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: white;
    border-radius: 50%;
    padding: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    margin-left: 100px;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.nav-spacer {
    flex: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    margin-left: auto;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.8;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: auto;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

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

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

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    background:
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url("https://images.unsplash.com/photo-1542744173-8e7e53415bb0?q=80&w=2070&auto=format&fit=crop") center/cover no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    /* Overlay handled in background-image gradient for better control */
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    /* Increased height to extend gradient further up */
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #ffffff !important;
    max-width: 900px;
    margin-top: 30px;
    font-family: "Roboto", sans-serif !important;
    /* Increased width to accommodate larger text */
    padding: 0 20px;
}

/* Higher specificity to override main.css .hero h1/h2 */
.hero .hero-content h1 {
    font-size: 36px !important;
    font-weight: bold !important;
    color: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
    text-transform: none !important;
}

.hero .hero-content h1 {
    margin-bottom: 5px !important;
}

.hero .hero-content h2 {
    margin-bottom: 24px !important;
}

.hero-content>p:nth-child(2) {
    display: none !important;
}

/* Higher specificity to override main.css .hero p */
.hero .hero-content p.hero-description {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin-top: 24px !important;
    margin-bottom: 24px !important;
    line-height: 1.4 !important;
    z-index: 100 !important;
    opacity: 1 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
}

/* Button Styles */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

/* Higher specificity to override any .btn or .btn-primary global styles */
.hero .hero-content .btn.btn-primary {
    background-color: #388da8 !important;
    /* Confirmed Blue Color */
    color: #ffffff !important;
    /* White Text */
    font-size: 16px !important;
    font-weight: bold !important;
    border-radius: 6px !important;
    padding: 12px 30px !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.hero .hero-content .btn.btn-primary:hover {
    background-color: #2a6b82 !important;
    /* Darker shade for hover */
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.btn-submit {
    background-color: var(--primary-color);
    color: white;
    width: 100%;
    padding: 15px;
    font-size: 16px;
    margin-top: 20px;
}

.btn-submit:hover {
    background-color: var(--secondary-color);
}

.btn-small {
    padding: 10px 20px;
    font-size: 12px;
    width: 100%;
}

/* Main Container */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    display: block;
}

/* Info Section */
.info-section {
    margin-bottom: 80px;
    margin-top: 20px;
    position: relative;
    z-index: 10;
    padding-top: 40px;
}

.info-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: #000000;
    position: relative;
    padding-bottom: 0;
}

.info-section h2::after {
    display: none;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.info-card {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 16px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
}

.info-card:hover {
    box-shadow: none;
    transform: none;
}

.info-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    flex-shrink: 0;
    background-color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 0;
    margin-bottom: 0;
}

.info-icon i {
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: flex-start;
    text-align: left;
}

.info-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--primary-color);
    text-align: left;
}

.info-card p {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
    text-align: left;
}

.info-card p strong {
    font-weight: 600;
    color: var(--text-light);
    font-size: 16px;
}

.info-card.download-card {
    align-items: flex-start;
    text-align: left;
}

.info-card.download-card h3 {
    color: var(--primary-color);
}

.btn-small {
    padding: 6px 20px;
    font-size: 11px;
    width: fit-content;
    margin-top: 8px;
    font-weight: 600;
    display: inline-block;
    text-transform: uppercase;
}

/* Ensure consistent button color for all download buttons in info cards */
.info-card .btn-primary,
.info-card.download-card .btn-primary {
    margin-top: 8px;
    padding: 6px 20px;
    font-size: 11px;
    width: fit-content;
    display: inline-block;
    background-color: #388da8 !important;
    border-color: #388da8 !important;
    color: #ffffff !important;
}

.info-card .btn-primary:hover,
.info-card.download-card .btn-primary:hover {
    background-color: #2a6b82 !important;
    border-color: #2a6b82 !important;
}

/* Form Section */
.form-section {
    background-color: var(--bg-white);
    border: none;
    border-radius: 0;
    padding: 40px 0;
}

.form-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-dark);
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.form-section h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.date-range-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.date-range-group input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 12px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.date-range-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(56, 141, 168, 0.1);
}

.date-separator {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
    white-space: nowrap;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.form-row .form-group.full-width {
    grid-column: 1 / -1;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 12px;
    font-family: inherit;
    transition: border-color 0.3s;
    background-color: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.1);
}

/* Input error state */
.form-group input.input-error,
.form-group select.input-error,
.form-group textarea.input-error {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.15);
}

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

/* File upload helper text - Highly specific to prevent conflicts */
.form-section .registration-form .form-group .file-help {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    color: var(--text-light);
    line-height: 1.5;
}

.form-section .registration-form .form-group .file-help i {
    color: var(--primary-color);
    margin-right: 4px;
    font-size: 11px;
}

.form-section .registration-form .form-group .file-help strong {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 11px;
}

.form-actions {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.btn-submit {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 50px;
    font-size: 14px;
    width: auto;
}

.btn-submit:hover {
    background-color: var(--secondary-color);
}

/* Footer */
.footer {
    background-color: #0d1f3c;
    color: white;
    padding: 50px 20px 20px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 30px;
    align-items: flex-start;
    padding: 0 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background-color: white;
    border-radius: 50%;
    margin: 0 auto 20px;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-logo .logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.footer-about {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.footer-about p {
    font-size: 12px;
    line-height: 1.8;
    color: #b0b0b0;
}

.footer-section h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-section p {
    font-size: 12px;
    line-height: 1.8;
    color: #b0b0b0;
    margin-bottom: 10px;
}

.footer-section a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.map-embed {
    width: 100%;
    height: 150px;
    border-radius: 4px;
    margin-top: 15px;
}

.visitor-counter {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
    padding: 10px;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    text-align: center;
    margin-top: 10px;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.6);
}

.social-links a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(56, 141, 168, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 11px;
    color: #b0b0b0;
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: row;
        height: 60px;
        padding: 10px 20px;
        gap: 10px;
        justify-content: flex-start;
    }

    .logo {
        margin-left: 0;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        height: 0;
        flex-direction: column;
        gap: 0;
        flex-wrap: nowrap;
        justify-content: flex-start;
        background-color: var(--primary-color);
        padding: 0;
        margin: 0;
        overflow: hidden;
        transition: height 0.3s ease;
    }

    .nav-menu.active {
        height: calc(9 * 55px);
    }

    .nav-menu li {
        width: 100%;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu a {
        font-size: 14px;
        color: white;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content>p:nth-child(2) {
        font-size: 18px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .info-section h2,
    .form-section h2 {
        font-size: 24px;
    }

    .info-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }

    .info-icon i {
        font-size: 24px;
    }

    .info-card h3 {
        font-size: 14px;
    }

    .info-card p {
        font-size: 12px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 300px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-content>p:nth-child(2) {
        font-size: 16px;
    }

    .hero-description {
        font-size: 12px;
    }

    .main-container {
        padding: 30px 15px;
    }

    .form-section {
        padding: 20px 0;
    }

    .info-card {
        padding: 15px 0;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
}

/* Success Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: white;
    border-radius: 15px;
    padding: 50px 40px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-icon {
    position: relative;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.modal-icon i:first-child {
    font-size: 80px;
    color: var(--primary-color);
}

.modal-checkmark {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-checkmark i {
    color: white;
    font-size: 28px;
}

.modal-content h2 {
    color: #333;
    font-size: 28px;
    margin-bottom: 15px;
    border: none;
}

.modal-content h2::after {
    display: none;
}

.modal-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.modal-content .btn {
    min-width: 200px;
    font-weight: 600;
}

/* Custom Success Modal */
.success-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.success-modal {
    background-color: white;
    border-radius: 16px;
    padding: 50px 60px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideUp 0.4s ease-out;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.success-icon {
    margin-bottom: 30px;
}

.success-icon svg {
    width: 120px;
    height: 120px;
}

.success-modal h2 {
    color: #2a3f54;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    font-style: italic;
}

.success-modal h2::after {
    display: none;
}

.success-modal p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.success-modal .btn {
    min-width: 180px;
    padding: 12px 40px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}