/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(8, 51, 68, 0.85) 0%, rgba(14, 116, 144, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* ===== BUTTONS ===== */
.cta-button, .submit-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: var(--white);
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-button:hover, .submit-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--accent), var(--secondary));
}

.cta-button.big-cta {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
}

/* Alternative Button Style */
.cta-button.orange {
    background-color: var(--nano-orange);
    color: var(--white);
    padding: 15px 35px;
    font-weight: bold;
    border-radius: 5px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button.orange:hover {
    background-color: #e07d00;
    transform: translateY(-2px);
}

/* ===== CONTENT BLOCKS ===== */
.content-media-block {
    margin-bottom: 6rem;
}

.media-placeholder img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.media-placeholder img:hover {
    transform: scale(1.02);
}

.media-placeholder iframe {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

/* ===== LISTS ===== */
ul.list-disc {
    margin-left: 1.5rem;
    list-style: disc;
}

ul.list-disc li {
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    color: var(--dark);
}

/* ===== CERTIFICATIONS SECTION ===== */
.certifications-section {
    padding: 4rem 0;
}

.cert-grid, .certification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding-bottom: 50px;
}

.cert-card, .cert-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cert-card:hover, .cert-item.visible:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.cert-card:nth-child(1):hover {
    border-top-color: var(--secondary);
}

.cert-card:nth-child(2):hover {
    border-top-color: var(--success);
}

.cert-card:nth-child(3):hover {
    border-top-color: var(--danger);
}

/* Certification Item Animation */
.cert-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cert-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.cert-item.visible:hover {
    border-color: var(--nano-blue);
}

.cert-item .cert-image {
    background-color: #f4f4f4;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-item .cert-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.cert-item .cert-content {
    padding: 20px;
    background-color: var(--white);
    flex-grow: 1;
}

.cert-item .cert-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--nano-blue);
    margin: 0 0 10px 0;
}

.cert-item .cert-content p {
    font-size: 0.9rem;
    color: var(--nano-text-medium);
    line-height: 1.5;
    margin: 0;
}

/* ===== APPLICATIONS SECTION ===== */
.application-card {
    background: var(--white);
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.application-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.application-card:hover::before {
    transform: scaleX(1);
}

.application-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.application-card i {
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.application-card:hover i {
    transform: scale(1.1);
}

/* ===== FINAL CTA ===== */
.final-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.05"><polygon fill="white" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.final-cta h2,
.final-cta p {
    position: relative;
    z-index: 1;
    color: var(--white);
}

/* ===== CONTACT FORM STYLES ===== */
.contact-form-container {
    max-width: 760px;
    margin: 50px auto;
    padding: 40px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    border: 1px solid var(--nano-gray-medium);
}

.contact-form-container h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--nano-text-dark);
}

.contact-form-container p {
    text-align: center;
    margin-bottom: 35px;
    color: var(--nano-text-light);
    font-size: 1.1rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    color: var(--dark) !important;
    background-color: var(--white) !important;
    border: 1px solid var(--light-gray) !important;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--gray) !important;
    opacity: 0.7;
}

.contact-form label {
    color: var(--dark) !important;
    font-weight: 500;
}

.contact-form {
    color: var(--dark) !important;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

/* Form Elements */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--nano-gray-medium);
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 1rem;
    color: var(--nano-text-dark);
    background-color: var(--nano-gray-light);
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
    border-color: var(--nano-blue);
    background-color: var(--white);
    box-shadow: 0 0 0 0.2rem rgba(0,86,179,0.25);
    outline: none;
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.submit-button {
    background-color: var(--nano-orange);
    color: var(--white);
    padding: 15px 30px;
    font-weight: bold;
    border-radius: 8px;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.submit-button:hover {
    background-color: #e07d00;
    box-shadow: 0 4px 12px rgba(242,139,0,0.2);
}

.submit-button:active {
    background-color: #cc6d00;
    transform: translateY(1px);
}

/* Form Layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.phone-input-group {
    display: flex;
}

.flag-select {
    padding: 10px;
    border: 1px solid var(--nano-gray-medium);
    border-right: none;
    border-radius: 8px 0 0 8px;
    background-color: var(--nano-gray-light);
    font-size: 1.2rem;
    padding-left: 15px;
    padding-right: 10px;
    max-width: 80px;
    box-sizing: border-box;
    height: 55px;
}

.contact-form input[type="tel"] {
    border-radius: 0 8px 8px 0;
    border-left: none;
    height: 55px;
}

.phone-input-group:focus-within .flag-select {
    border-color: var(--nano-blue);
    box-shadow: 0 0 0 0.2rem rgba(0,86,179,0.25);
}

.phone-input-group:focus-within input[type="tel"] {
    border-color: var(--nano-blue);
    box-shadow: 0 0 0 0.2rem rgba(0,86,179,0.25);
}

/* Alert Messages */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 1rem;
}

.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.alert-danger ul {
    margin: 0;
    padding-left: 20px;
}

.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

/* ===== PAGE TITLE CONTAINER ===== */
.page-title-container {
    text-align: center;
    padding: 20px 0 40px 0;
}

.page-title-container h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--nano-text-dark);
    margin: 0 0 10px 0;
}

.page-title-container p {
    font-size: 1.1rem;
    color: var(--nano-text-light);
    max-width: 600px;
    margin: 0 auto;
}
