/* Custom Properties & Tokens */
:root {
    --primary: #0360aa;
    --primary-light: #1877c5;
    --primary-dark: #024a84;
    --secondary: #f5d732;
    --secondary-hover: #e0c217;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --danger: #dc3545;
    
    --font-main: 'Poppins', sans-serif;
    
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.2);
    
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Layout Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-6 {
    width: 100%;
    padding: 0 15px;
}

@media (min-width: 768px) {
    .col-md-6 {
        width: 50%;
    }
}

.align-center {
    align-items: center;
}

/* Typography Classes */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-white { color: var(--white) !important; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-yellow { color: var(--secondary) !important; }
.text-blue { color: var(--primary) !important; }
.font-bold { font-weight: 800 !important; }
.text-gray { color: var(--text-muted); }

.section-title {
    font-size: 2.2rem;
    color: #111111;
    font-weight: 400;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.why-us-section .section-title {
    color: var(--white);
    font-weight: 400;
}

.why-us-section .section-subtitle {
    color: var(--secondary);
}

/* Spacing */
.py-medium { padding: 40px 0; }
.py-large { padding: 80px 0; }
.mt-small { margin-top: 15px; }
.mt-medium { margin-top: 30px; }
.mt-large { margin-top: 50px; }
.mb-medium { margin-bottom: 30px; }
.pr-large { padding-right: 40px; }

/* Backgrounds */
.bg-light { background-color: var(--bg-light); }
.bg-primary { background-color: var(--primary); }
.bg-primary-dark { background-color: var(--primary-dark); }

/* Flip Button Styles */
.btn, .btn-inscribete {
    perspective: 1000px;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    position: relative;
    box-shadow: none !important;
}

.flip-btn-inner {
    position: relative;
    width: 100%;
    display: block;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.btn:hover .flip-btn-inner,
.btn-inscribete:hover .flip-btn-inner {
    transform: rotateX(180deg);
}

.flip-btn-front, .flip-btn-back {
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
    padding: 14px 28px;
    border-radius: 99px;
    font-weight: 600;
}

.flip-btn-front {
    position: relative;
    width: 100%;
}

.btn-inscribete .flip-btn-front, .btn-inscribete .flip-btn-back {
    padding: 8px 18px;
}

.flip-btn-back {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    transform: rotateX(180deg);
}

.flip-bg-primary { background-color: var(--primary); color: var(--white); border: 2px solid var(--primary); }
.flip-bg-secondary { background-color: var(--secondary); color: var(--primary-dark); border: 2px solid var(--secondary); }
.flip-bg-outline { background-color: transparent; color: var(--primary); border: 2px solid var(--primary); }
.flip-bg-white { background-color: #ffffff; color: #111111; border: 2px solid #ffffff; }


/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    font-family: var(--font-main);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--primary-dark);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Forms */
.form-group {
    margin-bottom: 18px;
    text-align: left;
}

.form-group.row {
    display: flex;
    gap: 12px;
}

.form-group.row .col {
    flex: 1;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
    text-align: left;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e4e4e7;
    border-radius: 6px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    transition: var(--transition);
    background-color: var(--white);
    color: var(--text-main);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder {
    color: #a1a1aa;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(3, 96, 170, 0.15);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 15px;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-top: 3px;
}

.checkbox-label {
    font-weight: 400 !important;
    font-size: 0.8rem !important;
    color: var(--text-muted) !important;
    margin-bottom: 0 !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    background-image: url('../Fotos/H4.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 110px 0 50px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(3, 96, 170, 0.85) 0%, rgba(3, 96, 170, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    flex: 1;
}

.hero-text {
    width: 100%;
    color: var(--white);
    margin-bottom: 30px;
}

.hero-text .logo {
    max-width: 200px;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 2.4rem;
    font-weight: 400;
    margin-bottom: 15px;
    color: var(--white);
    line-height: 1.3;
}

.hero-text .subtitle {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.9;
    max-width: 500px;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.badge {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
}

.badge i {
    color: var(--secondary);
}

.hero-form-container {
    width: 100%;
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 0;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.hero-form-header {
    background-color: #f5d732;
    padding: 30px 30px 12px;
}

.hero-form-header h3 {
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.25;
}

.hero-form-header p {
    margin-bottom: 0;
}

.hero-form-body {
    padding: 12px 30px 30px;
}

.lead-form h3 {
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.25;
    text-align: center;
}

.lead-form p {
    color: var(--text-muted);
    margin-bottom: 22px;
    font-size: 1.1rem;
    line-height: 1.4;
    text-align: center;
}

@media (min-width: 992px) {
    .hero-text {
        width: 55%;
        margin-bottom: 0;
        padding-right: 40px;
    }
    
    .hero-form-container {
        width: 40%;
    }
}

/* Stats Section Carousel */
.stats-carousel-container {
    position: relative;
    max-width: 100%;
    margin: 40px auto 0;
    padding: 0;
}

.stats-carousel {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: grab;
}
.stats-carousel:active {
    cursor: grabbing;
}
.stats-carousel::-webkit-scrollbar {
    display: none;
}

.stats-track {
    display: flex;
    gap: 20px;
    transition: none;
}

.stats-carousel-container .carousel-dots {
    display: none !important;
}
.stats-carousel-container .carousel-control {
    background-color: var(--secondary);
    color: var(--primary-dark);
}
.stats-carousel-container .carousel-control:hover {
    background-color: var(--white);
}
.stats-carousel-container .carousel-control.prev { left: -15px; }
.stats-carousel-container .carousel-control.next { right: -15px; }

@media (min-width: 992px) {
    .stats-carousel-container {
        padding: 0 50px;
    }
    .stats-carousel-container .carousel-control.prev { left: 0px; }
    .stats-carousel-container .carousel-control.next { right: 0px; }
}

/* Stats Section Style */
.stats-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.stats-section .section-title {
    color: var(--white);
    margin-bottom: 20px;
}

.stats-section .text-blue {
    color: var(--secondary) !important;
}

/* Add a subtle background pattern */
.stats-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.stat-card {
    flex: 0 0 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.stat-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@media (min-width: 768px) {
    .stat-card {
        flex: 0 0 calc((100% - 20px) / 2);
    }
}

@media (min-width: 992px) {
    .stat-card {
        flex: 0 0 calc((100% - 40px) / 3);
    }
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 5px;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    text-align: center;
    letter-spacing: 0.5px;
}

.stat-sublabel {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--white);
    opacity: 0.9;
    margin-top: 5px;
    text-align: center;
}

.stat-logo-img {
    max-height: 60px;
    max-width: 90%;
    object-fit: contain;
    margin-bottom: 15px;
}

/* Carousel controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.carousel-control:hover {
    background-color: var(--primary-dark);
    transform: translateY(-50%) scale(1.05);
}

.carousel-control.prev { left: 0; }
.carousel-control.next { right: 0; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.carousel-dot.active {
    background-color: var(--primary);
    width: 25px;
    border-radius: 5px;
}

/* Programs Section */
.programs-accordion {
    margin: 35px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    background-color: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none;
}

.accordion-title-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.accordion-header-icon {
    font-size: 1.25rem;
    color: var(--primary);
    transition: var(--transition);
}

.accordion-item.active .accordion-header-icon {
    color: var(--secondary);
}

.accordion-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.accordion-arrow {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
    color: var(--primary);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
    opacity: 0;
}

.accordion-item.active .accordion-content {
    opacity: 1;
}

.accordion-list {
    list-style: none;
    padding: 0 20px 20px 50px; /* Align with the text, skipping icon */
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.accordion-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    position: relative;
    padding-left: 15px;
}

.accordion-list li::before {
    content: "•";
    color: var(--secondary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.programs-section .image-wrapper {
    height: 480px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.programs-section .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 75% 50%;
    transition: opacity 0.3s ease-in-out;
}

.programs-section .btn-programs-image {
    display: none;
}

@media (max-width: 767px) {
    .programs-section .image-wrapper {
        height: 300px;
    }
}

@media (max-width: 767px) {
    .programs-section .col-md-6:last-child {
        margin-top: 40px;
    }
    .pr-large {
        padding-right: 15px;
    }
    .programs-section .programs-accordion + .btn.btn-primary {
        display: block;
        width: 100%;
    }
    .programs-section .btn-programs-image {
        display: block;
        width: 100%;
    }
}

/* Campus Section */
@media (max-width: 767px) {
    .campus-section.py-large {
        padding-top: 0;
    }
}

.campus-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .campus-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .campus-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.campus-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.campus-card .card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.campus-card .card-content {
    padding: 25px;
    text-align: center;
}

.campus-card h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--primary);
}

/* Why Us Section */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 576px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.benefit-item {
    background-color: var(--white);
    border: 3px solid var(--primary-dark);
    border-radius: 20px;
    position: relative;
    padding: 50px 20px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 40px;
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.benefit-item-large {
    grid-column: 1 / -1;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.icon-circle {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    width: 85px;
    height: 85px;
    background-color: var(--white);
    border: 6px solid var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--primary-dark);
    transition: var(--transition);
    z-index: 2;
}

.benefit-item:hover .icon-circle {
    transform: translateX(-50%) scale(1.05);
}

.benefit-item h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0;
}

.benefit-item-large h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
}

.titulacion-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 30px;
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

@media (max-width: 575px) {
    .titulacion-list { grid-template-columns: 1fr; }
}

.titulacion-list li {
    position: relative;
    padding-left: 25px;
    color: var(--primary-dark);
    font-weight: 400;
    font-size: 1.05rem;
}

.titulacion-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    background-color: var(--secondary);
    border-radius: 50%;
}

/* Alliances */
.logos-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.logo-item {
    font-size: 1.5rem;
    font-weight: 700;
    color: #999;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.logo-item:hover {
    color: var(--primary);
}

.alliance-logo {
    max-height: 60px;
    max-width: 180px;
    object-fit: contain;
    transition: var(--transition);
}

/* Infinite Logo Slider */
@keyframes infinite-slide {
    from { transform: translateX(0); }
    to { transform: translateX(-25%); }
}

.logos-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 40px;
    height: 80px;
    z-index: 10;
}

.logos-slider-track {
    display: flex;
    width: max-content;
    animation: infinite-slide 15s linear infinite;
    align-items: center;
    height: 100%;
}

.logos-set {
    display: flex;
    align-items: center;
    gap: 60px;
    padding-right: 60px;
}

.logos-slider-track img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: var(--transition);
}

.logos-slider-track img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.blur-left,
.blur-right {
    position: absolute;
    top: 0;
    height: 100%;
    width: 150px;
    pointer-events: none;
    z-index: 2;
}

.blur-left {
    left: 0;
    background: linear-gradient(to right, var(--primary-dark) 0%, transparent 100%);
    mask-image: linear-gradient(to right, black 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 0%, transparent 100%);
}

.blur-right {
    right: 0;
    background: linear-gradient(to left, var(--primary-dark) 0%, transparent 100%);
    mask-image: linear-gradient(to left, black 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, black 0%, transparent 100%);
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    width: 100%;
    margin-bottom: 30px;
}

.footer-logo img {
    max-width: 220px;
}

.footer-logo p {
    opacity: 0.8;
}

.footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.1rem;
}

.social-links a:hover {
    background-color: var(--secondary);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

@media (min-width: 768px) {
    .footer-logo {
        width: auto;
        margin-bottom: 0;
    }
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Animation Utilities */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-text h1, .hero-text .subtitle, .badges {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-text .subtitle { animation-delay: 0.2s; }
.badges { animation-delay: 0.4s; }
.hero-form-container { 
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

@media (max-width: 768px) {
    .badge {
        font-size: 0.95rem;
        padding: 8px 16px;
    }
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-form-header {
        padding: 25px 25px 10px;
    }

    .hero-form-body {
        padding: 10px 25px 25px;
    }
}

/* Sticky Navbar Styles */
.main-navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background-color: rgba(3, 96, 170, 0.85); /* Institutional Blue with glass effect */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    transition: all 0.3s ease;
    border-radius: 16px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo-link {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
    display: block;
}

.btn-inscribete {
    background-color: var(--secondary); /* Yellow */
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 8px 18px;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
    display: inline-block;
}

.btn-inscribete:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    color: var(--primary-dark);
}

@media (max-width: 768px) {
    .badge {
        font-size: 0.95rem;
        padding: 8px 16px;
    }
    .main-navbar {
        padding: 8px 0;
    }
    
    .nav-logo {
        height: 30px;
    }
    
    .btn-inscribete {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
}


