/* ========================================
   OWLYPIA GLOBALS PAGE STYLES
   ======================================== */

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, #97ABFF, rgb(5, 26, 83));
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-banner h1 {
    font-size: 3.2rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-banner h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Section Backgrounds */
.content-section {
    padding: 50px 0;
    position: relative;
    width: 100%;
}

.content-section.odd-section {
    background-color: #f9f9f9;
}

.content-section.even-section {
    background-color: #ffffff;
}

/* Special sections without top/bottom margins */
.testimonial-section,
.content-section.full-image-section {
    padding: 0 !important;
    margin: 0 !important;
}

/* Content Wrapper */
.content-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Section Headers */
.section-header h1 {
    font-size: 2.5rem;
    color: #2a5298;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    position: relative;
    text-align: center;
}

.section-header h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #f47920;
    border-radius: 2px;
}

.section-header h1::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background-color: #2a5298;
    border-radius: 2px;
    z-index: 1;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2a5298;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    position: relative;
    text-align: center;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #f47920;
    border-radius: 2px;
}

.section-header h2::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background-color: #2a5298;
    border-radius: 2px;
    z-index: 1;
}

/* Video Container Styles */
.video-text-container {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
    justify-content: center;
}

.video-wrapper {
    flex: 0 0 auto;
    width: 524px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 524px;
    height: 300px;
    position: relative;
    background-color: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 524px !important;
    height: 300px !important;
    border: none;
}

.text-container {
    flex: 1;
    min-height: 220px;
    display: flex;
    align-items: center;
    position: relative;
}

.text-content {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px 20px 30px 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.text-content:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #f47920;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.text-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

/* Steps Navigation Styles */
.steps-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 0;
    position: relative;
}

.steps-nav {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 80px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.steps-nav:before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e0e0e0;
    z-index: 1;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
    width: 140px;
}

.step-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f47920, #ed5f26);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(244, 121, 32, 0.2);
    margin: 0 auto;
}

.step-circle.active,
.step-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(244, 121, 32, 0.4);
}

.step-circle i {
    font-size: 2rem;
}

.step-title {
    text-align: center;
    margin-top: 15px;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    padding: 0 5px;
}

.step-content-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-top: 30px;
    transition: all 0.5s ease;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    text-align: center;
}

.step-content {
    display: none;
    animation: fadeIn 0.5s ease;
    padding: 40px;
}

.step-content.active {
    display: block;
}

.step-content h3 {
    font-size: 1.8rem;
    color: #2a5298;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content h3 i {
    margin-right: 15px;
    color: #f47920;
    font-size: 1.5rem;
}

.step-content p {
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Full Image Section Styles */
.full-image-section .testimonial-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: stretch;
    min-height: 500px;
}

.full-image-section .content-column {
    flex: 0 0 55%;
    padding: 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.full-image-section .content-column-inner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 50px 50px;
}

.full-image-section .image-column {
    flex: 0 0 45%;
    position: relative;
    min-height: 500px;
}

.full-image-section .image-column img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Sliding Cards */
.sliding-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.card-link {
    text-decoration: none;
}

.sliding-card {
    width: 300px;
    height: 250px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    cursor: pointer;
}

.card-front {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.5s ease;
}

.card-back {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    color: white;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.5s ease;
}

.sliding-card:hover .card-front {
    transform: translateX(-100%);
}

.sliding-card:hover .card-back {
    transform: translateX(-100%);
}

.card-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Card specific backgrounds */
.london-bg {
    background-color: #293b67;
}

.london-back {
    background: linear-gradient(135deg, #293b67, #1e3c72);
}

.cambridge-bg {
    background-color: #507b11;
}

.cambridge-back {
    background: linear-gradient(135deg, #507b11, #3c5b0d);
}

.abudhabi-bg {
    background-color: #ae1c1c;
}

.abudhabi-back {
    background: linear-gradient(135deg, #ae1c1c, #8b0000);
}

.card-back h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 700;
}

.card-date {
    color: #f1c40f;
    font-weight: 600;
    font-size: 1.2rem;
    margin-top: 15px;
}

.card-year {
    color: #f1c40f;
    font-weight: 600;
    font-size: 1.2rem;
    margin-top: 5px;
}

/* Features Grid */
.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.feature-box {
    max-width: 270px;
    padding: 25px;
    text-align: center;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-top: 4px solid #2a5298;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    height: 80px;
    width: 80px;
    background: linear-gradient(135deg, #f47920, #ed5f26);
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    color: white;
    font-size: 30px;
}

.feature-box h3 {
    color: #2a5298;
    font-size: 1.4rem;
    margin-bottom: 15px;
    text-align: center;
}

.feature-box p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

/* Testimonial Section */
.testimonial-section {
    padding: 0;
    background: linear-gradient(135deg, rgb(203, 206, 203), rgb(137, 21, 99));
    position: relative;
    overflow: hidden;
}

/* Animated Background Elements */
.bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    right: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 80px;
    height: 80px;
    top: 25%;
    right: 25%;
    animation-delay: 1s;
}

.circle-3 {
    width: 60px;
    height: 60px;
    top: 45%;
    right: 15%;
    animation-delay: 2s;
}

.circle-4 {
    width: 40px;
    height: 40px;
    top: 65%;
    right: 30%;
    animation-delay: 3s;
}

.circle-5 {
    width: 100px;
    height: 100px;
    top: 75%;
    right: 8%;
    animation-delay: 4s;
}

.bg-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    animation: floatRotate 8s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 150px;
    top: 20%;
    right: 5%;
    transform: rotate(25deg);
    animation-delay: 0.5s;
}

.shape-2 {
    width: 150px;
    height: 100px;
    top: 55%;
    right: 20%;
    transform: rotate(-15deg);
    animation-delay: 2.5s;
}

.shape-3 {
    width: 180px;
    height: 120px;
    top: 10%;
    right: 35%;
    transform: rotate(45deg);
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) translateX(10px);
        opacity: 1;
    }
}

@keyframes floatRotate {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-30px) rotate(10deg);
        opacity: 0.9;
    }
}

/* Testimonial Content */
.testimonial-section .testimonial-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: stretch;
    min-height: 500px;
}

.testimonial-section .image-column {
    flex: 0 0 50%;
    position: relative;
    min-height: 500px;
}

.testimonial-section .image-column img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.testimonial-section .content-column {
    flex: 0 0 50%;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.testimonial-content {
    text-align: center;
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    z-index: 5;
}

.testimonial-quote {
    font-size: 1.8rem;
    line-height: 1.7;
    color: white;
    font-style: italic;
    margin-bottom: 10px;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
    position: relative;
    z-index: 2;
}

.student-profile-simple {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.profile-info {
    text-align: center;
}

.student-name {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 3px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.student-details {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.rating-stars i {
    color: #ffd700;
    font-size: 1.6rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    animation: sparkle 2s ease-in-out infinite;
}

.rating-stars i:nth-child(2) { animation-delay: 0.2s; }
.rating-stars i:nth-child(3) { animation-delay: 0.4s; }
.rating-stars i:nth-child(4) { animation-delay: 0.6s; }
.rating-stars i:nth-child(5) { animation-delay: 0.8s; }

@keyframes sparkle {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Big Quotes */
.big-quotes {
    position: relative;
    padding: 10px 30px;
    margin-bottom: 20px;
}

.quote-start,
.quote-end {
    position: absolute;
    color: #ffd700;
    line-height: 1;
    font-size: 3rem;
}

.quote-start i,
.quote-end i {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.quote-start {
    top: -5px;
    left: -10px;
}

.quote-end {
    bottom: -5px;
    right: 0;
}

/* Benefits Section */
.benefits-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin: 0 auto;
    max-width: 1200px;
}

.benefits-column {
    flex: 1;
    min-width: 300px;
}

.benefits-title {
    font-size: 2rem;
    color: #2a5298;
    text-align: center;
    margin-bottom: 30px;
}

.benefit-item-horizontal {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
}

.benefit-icon-horizontal {
    background-color: #f47920;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.benefit-text h3 {
    color: #2a5298;
    margin: 0 0 5px;
}

.benefit-text p {
    margin: 0;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Only apply these styles to buttons within content sections, not header buttons */
.content-section .btn,
.cta-buttons .btn,
.main-content .btn {
    display: inline-block;
    padding: 16px 35px;
    font-weight: 600;
    font-size: 1.2rem;
    border-radius: 30px;
    text-decoration: none;
    min-width: 200px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.content-section .btn-school,
.cta-buttons .btn-school,
.main-content .btn-school {
    background: linear-gradient(135deg, #2a5298, #1e3c72);
    color: white;
    box-shadow: 0 4px 10px rgba(42,82,152,0.2);
}

.content-section .btn-school:hover,
.cta-buttons .btn-school:hover,
.main-content .btn-school:hover {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    box-shadow: 0 8px 20px rgba(42,82,152,0.3);
    transform: translateY(-2px);
}

.content-section .btn-student,
.cta-buttons .btn-student,
.main-content .btn-student {
    background: linear-gradient(135deg, #f47920, #ed5f26);
    color: white;
    box-shadow: 0 4px 10px rgba(244,121,32,0.3);
}

.content-section .btn-student:hover,
.cta-buttons .btn-student:hover,
.main-content .btn-student:hover {
    background: linear-gradient(135deg, #ed5f26, #f47920);
    box-shadow: 0 8px 20px rgba(244,121,32,0.4);
    transform: translateY(-2px);
}

.content-section .btn i,
.cta-buttons .btn i,
.main-content .btn i {
    margin-right: 8px;
}

/* Section Intro and Highlighted Text */
.section-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 30px;
}

.highlighted-text {
    font-style: italic;
    font-weight: 600;
    color: #2a5298;
    text-align: center;
    margin: 40px 0;
    font-size: 1.2rem;
}

/* Go Top Button */
#go-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f47920, #ed5f26);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(244, 121, 32, 0.3);
    transition: all 0.3s ease;
}

#go-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(244, 121, 32, 0.4);
}

/* Responsive Design */
@media (max-width: 992px) {
    .section-header h1 {
        font-size: 2.2rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .steps-nav {
        max-width: 700px;
    }
    
    .step {
        width: 120px;
    }
    
    .video-text-container {
        flex-direction: column;
        align-items: center;
    }
    
    .video-wrapper {
        width: 100%;
        max-width: 524px;
    }
    
    .video-container {
        width: 100%;
        max-width: 524px;
    }
    
    .video-container iframe {
        width: 100% !important;
    }
    
    .text-container {
        margin-top: 30px;
    }
    
    .benefits-container {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonial-section .testimonial-wrapper,
    .full-image-section .testimonial-wrapper {
        flex-direction: column;
        min-height: auto !important;
    }
    
    .testimonial-section .image-column,
    .testimonial-section .content-column,
    .full-image-section .image-column,
    .full-image-section .content-column {
        flex: 1 1 100% !important;
    }
    
    .testimonial-section .image-column,
    .full-image-section .image-column {
        height: 400px;
        min-height: 400px !important;
        position: relative !important;
    }
    
    .testimonial-section .content-column,
    .full-image-section .content-column {
        padding: 30px 20px !important;
    }
    
    .testimonial-quote {
        font-size: 1.5rem;
    }
    
    .student-name,
    .student-details {
        font-size: 1.1rem;
    }
    
    .rating-stars i {
        font-size: 1.4rem;
    }
    
    .quote-start,
    .quote-end {
        font-size: 2.5rem;
    }
    
    .bg-circle,
    .bg-shape {
        transform: scale(0.7);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        padding: 30px;
    }
    
    .steps-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 500px;
        margin: 0 auto 50px;
        padding: 0;
        justify-items: center;
    }
    
    .steps-nav:before {
        display: none;
    }
    
    .step {
        width: 100%;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .step-circle {
        margin: 0 auto;
    }
    
    .step-title {
        text-align: center;
        width: 100%;
    }
    
    .testimonial-section .image-column,
    .full-image-section .image-column {
        height: 350px;
        min-height: 350px !important;
    }
    
    .testimonial-quote {
        font-size: 1.3rem;
        padding: 0 10px;
    }
    
    .quote-start {
        left: -5px;
    }
    
    .quote-end {
        right: -5px;
    }
}

@media (max-width: 576px) {
    .steps-nav {
        gap: 20px;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .step {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .step-circle {
        width: 70px;
        height: 70px;
        margin: 0 auto;
    }
    
    .step-circle i {
        font-size: 1.8rem;
    }
    
    .step-title {
        font-size: 0.9rem;
        text-align: center;
        width: 100%;
    }
    
    .step-content h3 {
        font-size: 1.5rem;
    }
    
    .step-content p {
        font-size: 0.95rem;
    }
    
    .testimonial-section .image-column,
    .full-image-section .image-column {
        height: 300px;
        min-height: 300px !important;
    }
    
    .testimonial-section .content-column,
    .full-image-section .content-column {
        padding: 20px 15px !important;
    }
    
    .testimonial-quote {
        font-size: 1.2rem;
    }
    
    .student-name,
    .student-details {
        font-size: 1rem;
    }
    
    .rating-stars i {
        font-size: 1.2rem;
    }
    
    .quote-start,
    .quote-end {
        font-size: 2rem;
    }
    
    .circle-4,
    .circle-5,
    .shape-3 {
        display: none;
    }
}