/* ========================================
   COMMON STYLES (Shared across all pages)
   ======================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a365d;
    --secondary-color: #2d5aa0;
    --accent-color: #38b2ac;
    --text-dark: #2d5aa0;
    --text-light: #2d5aa0;
    --background-light: #f7fafc;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #1a365d 0%, #2d5aa0 100%);
    --gradient-secondary: linear-gradient(135deg, #38b2ac 0%, #4fd1c7 100%);
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animations */
.highlight {
    color: inherit;
    font-weight: 900;
    background: none;
    display: inline-block;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 1rem;
}



.section-header p {
    font-size: 1.2rem;
    color: #2d5aa0;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   TOP BAR
   ======================================== */

.top-bar {
    background: #1a365d;
    color: white;
    font-size: 0.85rem;
    padding: 0.4rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
}

.top-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.top-bar-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.3s ease;
}

.top-bar-link:hover {
    color: #ffd700;
}

.top-bar-link i {
    font-size: 0.75rem;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.top-bar-text {
    color: white;
    font-size: 0.85rem;
}

.top-bar-social {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    color: white;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #ffd700;
}

/* ========================================
   NAVIGATION / HEADER
   ======================================== */

.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 35px;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    top: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.8rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #1a365d;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.cta-button {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* ========================================
   BUTTONS (Common)
   ======================================== */

.btn-primary {
    background: #1a365d;
    color: var(--white);
    padding: 1rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.2);
    font-size: 0.95rem;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.btn-primary:hover {
    background: #2d5aa0;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26, 54, 93, 0.3);
}

.btn-submit {
    background: #1a365d;
    color: white;
    padding: 0.85rem 1rem;
    border: none;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.3rem;
    font-family: 'Inter', sans-serif;
}

.btn-submit:hover {
    background: #2d5aa0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.3);
}

/* ========================================
   FORMS (Common)
   ======================================== */

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #4a5f7f;
    font-size: 0.9rem;
    z-index: 1;
    pointer-events: none;
}

.form-group.full-width i {
    top: 1.2rem;
    transform: none;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--white);
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #1a365d 0%, #2d5aa0 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.3);
    margin-top: 0.5rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26, 54, 93, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.form-disclaimer {
    font-size: 0.7rem;
    color: #4a5f7f;
    text-align: center;
    margin-top: 0.75rem;
    line-height: 1.4;
}

/* Success Message */
.success-message {
    background: #10b981;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 1rem;
    display: none;
}

.success-message.show {
    display: block;
    animation: fadeInUp 0.5s ease;
}

/* ========================================
   PAGE HERO SECTION (Shared across pages)
   ======================================== */

.page-hero {
    padding: 180px 0 80px 0;
    background: linear-gradient(135deg, #f0efef 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="%231a365d" opacity="0.1"/></svg>');
    background-size: 30px 30px;
    opacity: 0.3;
}

.page-hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.page-hero-content p {
    font-size: 1.2rem;
    color: #4a5568;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffd700;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a365d;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: #1a365d;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    word-break: break-word;
    font-size: 0.95rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-all;
}

.footer-section ul li a:hover {
    color: #ffd700;
}

.footer-section ul li i {
    margin-right: 0.5rem;
    color: #ffd700;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: 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 a:hover {
    background: #ffd700;
    color: #1a365d;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   RESPONSIVE DESIGN (Common)
   ======================================== */

@media (max-width: 992px) {
    .page-hero-content h1 {
        font-size: 2.5rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 115px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 140px 0 60px 0;
    }

    .page-hero-content h1 {
        font-size: 2rem;
    }

    .page-hero-content p {
        font-size: 1rem;
    }

    .top-bar {
        font-size: 0.75rem;
        padding: 0.3rem 0;
    }

    .top-bar-container {
        flex-direction: row;
        justify-content: space-between;
        gap: 0.5rem;
        padding: 0.3rem 1rem;
    }

    /* Hide elements on mobile */
    .mobile-hide {
        display: none !important;
    }

    .top-bar-left {
        gap: 0;
        flex: 0 1 auto;
    }

    .top-bar-social {
        gap: 0.5rem;
    }

    .social-icon {
        font-size: 0.75rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-section h4 {
        text-align: left;
    }

    .footer-section:last-child {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .btn-primary {
        padding: 0.9rem 1.5rem;
        font-size: 0.85rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }
}

/* ========================================
   POPUP FORM MODAL
   ======================================== */

.popup-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.popup-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.popup-modal-content {
    position: relative;
    max-width: 650px;
    width: 92%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 10001;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.popup-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 10002;
}

.popup-close:hover {
    background: #1a365d;
    color: white;
    transform: rotate(90deg);
}

.popup-close i {
    font-size: 1.2rem;
}

.popup-form-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.popup-form-card h3 {
    font-size: 1.5rem;
    color: #1a365d;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* ========================================
   FORM PROGRESS TRACKER
   ======================================== */

.form-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f3f4f6;
    border: 2px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.step-number {
    font-size: 0.9rem;
    font-weight: 700;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.step-check {
    position: absolute;
    font-size: 0.9rem;
    color: white;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.step-label {
    font-size: 0.75rem;
    color: #4a5f7f;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.progress-line {
    flex: 1;
    height: 2px;
    background: #e5e7eb;
    position: relative;
    margin: 0 0.5rem;
}

.progress-line-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: #1a365d;
    transition: width 0.5s ease;
}

.progress-step.active .step-circle {
    background: #1a365d;
    border-color: #1a365d;
}

.progress-step.active .step-number {
    color: white;
}

.progress-step.active .step-label {
    color: #1a365d;
    font-weight: 600;
}

.progress-step.completed .step-circle {
    background: #10b981;
    border-color: #10b981;
}

.progress-step.completed .step-number {
    opacity: 0;
    transform: scale(0);
}

.progress-step.completed .step-check {
    opacity: 1;
    transform: scale(1);
}

.progress-step.completed .step-label {
    color: #10b981;
}

.progress-step.completed+.progress-line .progress-line-fill {
    width: 100%;
}

/* ========================================
   GALLERY SECTION
   ======================================== */

.gallery-section {
    padding: 6rem 0 8rem 0;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-cta {
    text-align: center;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease forwards;
}

/* Staggered animation delays for gallery items */
.gallery-item:nth-child(1) {
    animation-delay: 0.1s;
}

.gallery-item:nth-child(2) {
    animation-delay: 0.2s;
}

.gallery-item:nth-child(3) {
    animation-delay: 0.3s;
}

.gallery-item:nth-child(4) {
    animation-delay: 0.4s;
}

.gallery-item:nth-child(5) {
    animation-delay: 0.5s;
}

.gallery-item:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.85) 0%, rgba(26, 54, 93, 0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-text {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.gallery-item:hover .gallery-text {
    transform: translateY(0);
}

.gallery-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.gallery-text p {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Responsive Gallery */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .gallery-text h3 {
        font-size: 1.3rem;
    }

    .gallery-text p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 4rem 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-text h3 {
        font-size: 1.4rem;
    }

    .gallery-text p {
        font-size: 0.95rem;
    }
}

/* About CTA Section */
.about-cta-section {
    padding: 2.5rem 0 0 0;
    background: linear-gradient(135deg, #1a365d 0%, #2d5aa0 100%);
    overflow: visible;
    position: relative;
}

.about-cta-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-cta-content {
    text-align: left;
    color: white;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.8s ease forwards;
    animation-delay: 0.2s;
}

.about-cta-image {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.8s ease forwards;
    animation-delay: 0.4s;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.2;
}

.about-cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.cta-image {
    width: 100%;
    height: auto;
    margin-top: -200px;
    position: relative;
    z-index: 10;
}

.cta-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.cta-image-placeholder i {
    font-size: 3rem;
}

.cta-image-placeholder p {
    font-size: 1rem;
    margin: 0;
}

.btn-about-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #ffd700;
    color: #1a365d;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    font-size: 1rem;
    cursor: pointer;
}

.btn-about-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.5);
    background: #ffed4e;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .popup-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .popup-form-card {
        padding: 2rem 1.5rem;
    }

    .popup-close {
        top: -10px;
        right: -10px;
        width: 35px;
        height: 35px;
    }

    .about-cta-section {
        padding: 2rem 0 0 0;
    }

    .about-cta-wrapper {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .about-cta-content {
        text-align: center;
        padding: 0 1rem 2rem 1rem;
    }

    .about-cta-content h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .about-cta-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .about-cta-image {
        min-height: auto;
        margin-top: 0;
    }

    .cta-image {
        margin-top: 0;
        max-height: 350px;
        object-fit: contain;
    }

    .cta-image-placeholder {
        min-height: 250px;
    }
}