﻿/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive styles */ 
@media (max-width: 575px) {
    .bg-content {
        padding: 0;
        max-width: 100%;
    }

    .bg-content h1 {
        max-width: 100%;
        margin: 0 auto;
        line-height: 1.3;
    }
    
    .bg-content p {
        max-width: 100%;
        margin: 2rem auto;
        line-height: 1.5;
    }

    .opaque-container {
        margin-top: 5rem;
    }

    .contact-info p {
        margin: 10px 0;
        line-height: 1.6;
    }
}

/* Tablet responsive styles */
@media (min-width: 576px) and (max-width: 991px) {
    .bg-content {
        padding: 0;
        max-width: 90%;
    }
    
    .bg-content h1 {
        max-width: 100%;
    }
    
    .bg-content p {
        max-width: 100%;
    }

    .opaque-container {
        margin: 5.5rem 2rem 0;
        padding: 1rem 2rem;
    }

    .contact-info p {
        margin: 10px 0;
        line-height: 1.6;
    }
}

/* Desktop responsive styles */
@media (min-width: 992px) {
    .bg-content h1 {
        font-weight: 600;
        max-width: 1200px;
    }

    .opaque-container {
        margin-top: 4rem;
        margin-bottom: 1rem;
        padding: 2rem 3rem;
    }

    .contact-info p {
        margin: 10px 0;
        line-height: 1.6;
    }
}

.bg-image {
    position: relative;
    min-height: 100vh;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background: rgba(17, 40, 70, 0.918);
    z-index: 1;
}

.bg-content {
    position: relative;
    z-index: 2;
    width: 100%;  
    text-align: center;
    max-width: 1000px;
}

 p {
  color: inherit;
  margin-top: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.page-title {
    color: white;
    position: relative;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    animation: fadeInUp 0.2s ease-out;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ffffff, #2196F3);
    border-radius: 2px;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.container {
    padding-top: 0;
}

h3 {
    color: white;
}

body {
    margin: 0;
    padding: 0;
    background: #f5f5f5;
}

.contact-container {
    display: flex;
    flex-flow: row;
    border-radius: 12px;
    gap: 20px;
    margin-top: 2rem;
}

.contact-form, .contact-info {
    display: flex;
    flex-direction: column;
    padding: 0;
}

h2 {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.contact-form textarea {
    height: 100px;
}

.contact-form .cf-turnstile {
    width: 100%;
    margin-bottom: 15px;
}

.contact-details {
    text-align: left;
}

.container-description {
    margin: 2rem 0;
    padding: 0 1rem;
    color: white;
}

.social {
    display: flex;
    gap: 14px;
    align-items: center;
    border: 2px solid white;
    border-radius: 64px;
    padding: 0px 16px;
    color: white;
}

.social:hover {
    background-color: white;
    color: rgba(17, 40, 70, 0.918) !important;
}

.hyperlink {
    text-decoration: none;
    color: white !important;
}

.hyperlink:hover {
    text-decoration: underline;
}

.cta-btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #112846;
    background: linear-gradient(90deg, #ffffff 0%, rgba(6, 165, 221, 1) 100%);
    border: none;
    border-radius: 30px;
    box-shadow: 0 4px 18px rgba(33,150,243,0.15);
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    letter-spacing: 0.5px;
}

.cta-btn:hover, .cta-btn:focus {
    color: #ffffff;
    background: linear-gradient(90deg, #112846 0%, rgba(6, 165, 221, 1) 100%);
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 32px rgba(33,150,243,0.25);
    outline: none;
}

.opaque-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    animation: fadeInUp 0.2s ease-out;
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 15;
}

/* Mobile Breakpoint */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        margin: 0;
    }
    .contact-info {
        background: #0c1c32;
        padding: 12px 12px 24px 12px;
    }
    .contact-info p {
        margin: 8px 0;
    }
    .opaque-container {
        padding-bottom: 0;
        padding-left: 0;
        padding-right: 0;
        background: transparent;
    }
    .contact-form {
        padding: 0 20px;
    }
}

/* Responsive CTA button sizing */
/* Mobile responsive sizing for CTA button */
@media (max-width: 575px) {
    .cta-btn {
        padding: 0.7rem 1.8rem; /* Smaller padding for mobile */
        font-size: 1rem; /* Smaller font for mobile */
    }
}

/* Tablet responsive sizing for CTA button */
@media (min-width: 576px) and (max-width: 991px) {
    .cta-btn {
        padding: 0.8rem 2rem; /* Slightly smaller padding for tablet */
        font-size: 1.1rem; /* Slightly smaller font for tablet */
    }
}
