/* Import Cormorant SC font */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+SC:wght@400;500;600;700&display=swap');
/* Import Scope One font */
@import url('https://fonts.googleapis.com/css2?family=Scope+One&display=swap');

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 1040;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo {
    height: 90px;
    width: auto;
}

/* Add spacing for fixed header */
body {
    padding-top: 106px; /* 90px logo height + 16px (py-3) */
}

.company-name {
    font-size: 1.8rem;
    color: #333;
    line-height: 1.2;
}

/* Navigation Styles */
.navbar {
    padding: 0;
    min-width: auto;
    z-index: 1030;
}

.navbar-toggler {
    padding: 0.25rem 0.5rem;
    font-size: 1rem;
}

.navbar-nav .nav-link {
    color: #333;
    padding: 0.5rem 1rem;
}

@media (min-width: 992px) {
    .navbar-nav .nav-link {
        font-size: 1.2rem;
    }
}

.navbar-nav .nav-link:hover {
    color: #0056b3;
}

/* Contact Info Styles */
.contact-info {
    white-space: nowrap;
}

.contact-info .btn-outline-primary {
    color: #3F48CC;
    border-color: #3F48CC;
}

.contact-info .btn-outline-primary:hover {
    background-color: #3F48CC;
    border-color: #3F48CC;
    color: white;
}

.phone-number {
    color: #333;
    text-decoration: none;
}

.phone-number:hover {
    color: #0056b3;
}

/* Social Media Links */
.social-link {
    color: #333;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.social-link:hover {
    color: #0056b3;
}

/* Hero Section Styles */
.hero {
    height: calc(94.8vh - 106px);
    position: relative;
    overflow: hidden;
    margin-top: -106px;
    padding-top: 106px;
    width: 100%;
    min-width: 100%;
    background-color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    background-size: contain;
    background-position: top center;
    transition: opacity 1s ease-in-out;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: white;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-bg.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 2rem;
}

.hero-content h2,
.hero-content h3 {
    font-family: 'Cormorant SC', serif;
}

.hero-content .lead {
    font-family: 'Scope One', serif;
}

/* About Hero Section Styles */
.about-hero {
    height: 600px;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('../images/about-bg.png') no-repeat;
    background-size: cover;
    background-position: center;
}

.about-hero .hero-content {
    height: 100%;
    display: flex;
    align-items: flex-start;
    padding-top: 3rem;
}

.about-hero .lead {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 1.5rem;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    margin-top: 2rem;
    font-size: 1.1rem;
    font-family: 'Scope One', serif;
}

.about-hero h2.display-4 {
    font-size: 3.2rem;
}

.about-hero h3.display-8 {
    font-size: 1.5rem;
}

.about-hero .hero-content h2,
.about-hero .hero-content h3 {
    font-family: 'Cormorant SC', serif;
}

.about-hero .hero-content .lead {
    font-family: 'Scope One', serif;
}

/* Icon Colors */
.values-check {
    color: #3F48CC;
}

.approach-icon {
    color: #483a6f;
}

/* CTA Section Styles */
.cta-section {
    background-color: #3F48CC;
}

.cta-section .btn-outline-light:hover {
    background-color: white;
    border-color: white;
    color: #3F48CC;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 1000;
        min-width: 200px;
    }

    .navbar-nav {
        text-align: right;
    }

    .about-hero {
        height: 700px;
    }
    
    .about-hero .hero-content {
        padding-top: 2rem;
    }

    .about-hero h2.display-4 {
        font-size: 2.8rem;
    }

    .about-hero h3.display-8 {
        font-size: 1.3rem;
    }

    .about-hero .lead {
        font-size: 1rem;
        padding: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .logo {
        height: 70px;
    }

    body {
        padding-top: 86px;
    }

    .hero {
        height: calc(70vh - 20px);
        margin-top: -86px;
        padding-top: 86px;
    }

    .hero-bg {
        background-size: cover;
        background-position: calc(50% - 130px) center;
    }

    .company-name {
        font-size: 1.4rem;
    }

    .contact-info {
        flex-direction: row;
        align-items: center;
    }

    .contact-info .btn,
    .contact-info .phone-number {
        margin-bottom: 0;
    }

    .about-hero {
        height: 800px;
    }

    .about-hero .hero-content {
        padding-top: 1.5rem;
    }

    .about-hero h2.display-4 {
        font-size: 2.4rem;
    }

    .about-hero h3.display-8 {
        font-size: 1.2rem;
    }

    .about-hero .lead {
        font-size: 0.95rem;
        padding: 1rem;
    }
}

@media (max-width: 575.98px) {
    .logo {
        height: 60px;
    }

    body {
        padding-top: 76px;
    }

    .hero {
        height: calc(70vh - 10px);
        margin-top: -76px;
        padding-top: 76px;
    }

    .hero-bg {
        background-size: cover;
        background-position: calc(50% - 130px) center;
    }

    .company-name {
        font-size: 1.2rem;
    }

    .contact-info {
        flex-wrap: wrap;
    }

    .contact-info .btn,
    .contact-info .phone-number {
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
    }

    .navbar-toggler {
        padding: 0.2rem 0.4rem;
    }
}

@media (max-width: 320px) {
    .logo {
        height: 50px;
    }

    .company-name {
        font-size: 1rem;
    }

    .contact-info .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.8rem;
    }

    .contact-info .phone-number {
        font-size: 0.8rem;
    }
}

/* Instructors Section Styles */
.instructors-section {
    background-color: #f8f9fa;
}

.instructor-card {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.instructor-card:hover {
    transform: translateY(-5px);
}

.instructor-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
    border: 3px solid #3F48CC;
}

.instructor-card:hover .instructor-img {
    border-color: #483a6f;
}

.modal-instructor-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #3F48CC;
}

.modal-content {
    border: none;
    border-radius: 12px;
}

.modal-header {
    border-bottom: 1px solid rgba(63, 72, 204, 0.2);
}

.modal-header .modal-title {
    color: #3F48CC;
}

.modal-body h6.text-primary {
    color: #3F48CC !important;
}

.services-hero {
    background: url('../images/services-bg.png') no-repeat center center;
    background-size: cover;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for better text readability */
}

.services-hero .hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.services-hero .hero-content h2 {
    font-family: 'Cormorant SC', serif;
}

.services-hero .hero-content .lead {
    font-family: 'Scope One', serif;
}

/* Carousel Styles */
.carousel-container {
    max-width: 800px; /* You can adjust this based on your largest image */
    margin: 0 auto;
}

.carousel-item {
    aspect-ratio: 16/9;
    overflow: hidden;
    background-color: #f8f9fa; /* Light background for empty space */
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changed from cover to contain to prevent cropping */
}

.carousel-item iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    background-color: #f8f9fa;
}

/* Button Styles */
.btn-brand {
    background-color: rgba(112,112,112,1);
    color: white;
    border: 2px solid rgba(112,112,112,1);
    transition: all 0.3s ease;
}

.btn-brand:hover {
    background-color: rgba(132,132,132,1);
    border-color: rgba(132,132,132,1);
    color: white;
}

.btn-primary {
    background-color: #3F48CC;
    border-color: #3F48CC;
}

.btn-primary:hover {
    background-color: #343EA8;
    border-color: #343EA8;
}

/* Courses Hero Section */
.courses-hero {
    padding: 3rem 0;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    position: relative;
}

.courses-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    z-index: 0;
}

.courses-hero .hero-content {
    padding: 2rem 0;
    height: auto !important;
    position: relative;
    z-index: 1;
}

.courses-hero .hero-content h2 {
    font-family: 'Cormorant SC', serif;
}

.courses-hero .hero-content .lead {
    font-family: 'Scope One', serif;
}

@media (max-width: 768px) {
    .courses-hero {
        padding: 3rem 0 1rem 0;
    }
    .courses-hero .hero-content {
        padding: 0.5rem 0;
        height: auto !important;
    }
    .courses-hero .lead {
        font-size: 1rem;
        margin-bottom: 0;
        padding: 1rem !important;
    }
    .courses-hero .display-4 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .services-hero {
        min-height: 300px;
    }
    
    .services-hero .hero-content {
        padding: 2rem 0;
    }
    
    .services-hero .display-4 {
        font-size: 2rem;
        margin-bottom: 1rem !important;
    }
    
    .services-hero .lead {
        font-size: 1rem;
        margin-bottom: 0;
    }
} 