/* Color Palette:
   Dark Blue: #1d204a
   Vibrant Orange: #ff8f4a
*/

/* Basic body and container styling */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
}

/* --- Header Section --- */
.main-header {
    width: 100%;
    box-sizing: border-box;
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background-color: #f7e9c5;
    color: #1d204a;
    font-size: 14px;
}

.top-bar-left, .top-bar-right, .top-bar-center {
    display: flex;
    align-items: center;
}

.top-bar-left .social-icons a {
    color: #1d204a;
    margin-left: 10px;
    font-size: 18px;
    transition: color 0.3s;
}

.top-bar-left .social-icons a:hover {
    color: #ff8f4a;
}

.top-bar-right i {
    margin-right: 5px;
}

/* Main Navigation Bar */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background-color: #f7e9c5;
    border-bottom: 2px solid #ccc;
}

.nav-logo img {
    height: 70px;
    width: auto;
    margin-left: 25px;
}

.nav-links a {
    margin-left: 30px;
    text-decoration: none;
    color: #1d204a;
    font-weight: bold;
    text-transform: uppercase;
    transition: color 0.3s;
    font-size: 1.18em;
}

.nav-links a:hover {
    color: #ff8f4a;
}

/* Video Links Bar with Marquee Effect */
.video-links-bar {
    background-color: #f7e9c5;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 30s linear infinite;
}

.video-link {
    color: #1d204a;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    margin-right: 50px;
    display: inline-block;
}

.video-link:hover {
    color: #ff8f4a;
    text-decoration: underline;
}

@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}

/* --- Hero Section --- */
.main-content {
    background-color: #ffffff;
    padding: 50px 5%;
}

.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 4em;
    font-weight: bold;
    color: #1d204a;
    line-height: 1.1;
    margin: 0;
}

.hero-content h1 span {
    color: #ff8f4a;
}

.hero-content p {
    font-size: 1.2em;
    color: #1d204a;
    line-height: 1.5;
    margin-top: 20px;
}

.get-started-btn {
    display: inline-block;
    padding: 15px 30px;
    margin-top: 30px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    color: #1d204a;
    border-radius: 50px;
    background: linear-gradient(to right, #ffe694, #ff8f4a);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.get-started-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-video {
    flex: 1.2;
    max-width: 700px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    aspect-ratio: 16 / 9;
}

.hero-video video,
.hero-video iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* --- Testimonials Section --- */
.testimonials-section {
    background-color: #f0f0f0;
    padding: 50px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonial-heading-container {
    padding: 0 5%;
}

.testimonials-section h2 {
    font-size: 2.5em;
    font-weight: bold;
    color: #1d204a; /* Dark Blue */
    margin: 0;
    position: relative;
    z-index: 2;
}

.testimonial-orange-strip {
    width: 100%;
    height: 150px;
    background-color: #ff8f4a; /* Vibrant Orange */
    margin-top: -100px; /* Moves the strip up */
    position: relative;
    z-index: 1;
}

.testimonial-slider-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 0 5%;
    margin-top: -95px; /* Pulls the slider up to overlap the strip */
}

.testimonial-cards-wrapper {
    overflow: hidden;
    width: 100%;
    max-width: 1000px;
}

.testimonial-cards {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    flex: 0 0 33.33%; /* 3 cards per view */
    max-width: 33.33%;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 0 15px;
    padding: 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-image-container {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.card-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card h3 {
    font-size: 1.5em;
    color: #1d204a;
    margin: 0 0 5px 0;
}

.testimonial-card .card-title {
    font-size: 1em;
    color: #ff8f4a;
    font-weight: bold;
    margin: 0 0 15px 0;
}

.testimonial-card .card-text {
    color: #555;
    font-size: 0.9em;
    line-height: 1.6;
    text-align: center;
}

/* Slider Buttons */
.slider-btn {
    background-color: #1d204a; /* Dark Blue */
    color: #ffffff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
    z-index: 3;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.slider-btn:hover {
    background-color: #ff8f4a; /* Vibrant Orange */
}

.prev-btn {
    margin-right: 20px;
}

.next-btn {
    margin-left: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonial-cards {
        flex-wrap: nowrap;
    }
    
    .testimonial-card {
        flex: 0 0 100%;
        max-width: 100%;
        margin: 0 10px;
    }
}

/* --- College Videos Section --- */
.college-videos-section {
    background-color: #fcfcfc;
    padding: 60px 0;
    text-align: center;
    overflow: hidden;
}

.college-video-heading-container {
    padding: 0 5%;
    margin-bottom: 40px;
}

.college-videos-section h2 {
    font-size: 2.8em;
    font-weight: bold;
    color: #1d204a;
    margin: 0;
}

.college-video-slider-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0 5%;
    max-width: 1300px;
    margin: 0 auto;
}

.college-video-carousel {
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.college-video-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
    height: 100%;
}

.college-video-item {
    flex: 0 0 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.college-video-frame {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.college-video-frame iframe,
.college-video-frame video {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    object-fit: cover;
}

.college-slider-btn {
    background-color: #ffda7f;
    color: #1d204a;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    margin: 0 30px;
}

.college-slider-btn:hover {
    background-color: #ffc84a;
    transform: scale(1.05);
}

/* --- Services Section --- */
.services-section {
    background-color: #f7f7f7;
    padding: 30px 5% 80px 5%;
    text-align: center;
}

.services-heading h2 {
    font-size: 2.5em;
    font-weight: bold;
    color: #1d204a;
    margin-bottom: 50px;
}

.services-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.service-card {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background-color: #ffe694;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.icon-circle i {
    font-size: 36px;
    color: #ff8f4a;
}

.service-card h3 {
    font-size: 1.5em;
    color: #1d204a;
    margin: 0 0 10px 0;
}

.service-card p {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-link {
    text-decoration: none;
    font-weight: bold;
    color: #ff8f4a;
    transition: color 0.3s;
}

.service-link:hover {
    color: #1d204a;
}

/* --- Newsletter Section --- */
.newsletter-section {
    background-color: #ffffff;
    padding: 60px 5%;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2.5em;
    color: #1d204a;
    margin-bottom: 5px;
}

.newsletter-content p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 40px;
}

#newsletter-form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.input-group {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 15px;
    background-color: #fcfcfc;
    width: 250px;
}

.input-group i {
    color: #ff8f4a;
    margin-right: 10px;
}

#newsletter-form input,
#newsletter-form select {
    border: none;
    outline: none;
    background-color: transparent;
    font-size: 1em;
    width: 100%;
    color: #333;
}

#newsletter-form input::placeholder,
#newsletter-form select option {
    color: #aaa;
}

.submit-btn {
    padding: 15px 30px;
    background-color: #ff8f4a;
    color: #1d204a;
    font-weight: bold;
    font-size: 1.1em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.submit-btn:hover {
    background-color: #ff7d2b;
    transform: translateY(-2px);
}

/* Pop-up Modal */
.popup-modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.popup-content {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    max-width: 400px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.popup-logo {
    width: 100px;
    margin-bottom: 20px;
}

.popup-content p {
    font-size: 1.4em;
    color: #1d204a;
    font-weight: bold;
}

/* --- Footer Section --- */
footer {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

.footer-top {
    background-color: #f7e9c5;
    padding: 60px 5%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo-section {
    flex: 1;
    min-width: 250px;
}

.footer-logo-section .footer-logo {
    height: 120px;
    width: auto;
    display: block;
}

.footer-logo-section p {
    color: #1d204a;
    font-style: italic;
    margin-top: 5px;
}

.footer-links,
.footer-social {
    flex: 1;
    min-width: 180px;
}

.footer-links h3,
.footer-social h3 {
    font-size: 1.5em;
    color: #1d204a;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    color: #1d204a;
    font-size: 1.1em;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ff8f4a;
}

.footer-social .social-icons {
    display: flex;
    gap: 15px;
    margin-top: -10px;
}

.footer-social .social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: #1d204a;
    font-size: 20px;
    transition: transform 0.3s;
}

.footer-social .social-icon:hover {
    color: #ff8f4a;
    transform: translateY(-5px);
}

.footer-bottom {
    background-color: #e0e0e0;
    padding: 15px 5%;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9em;
    color: #555;
}

/* --- Media Queries --- */
@media (max-width: 992px) {
    .college-video-slider-wrapper { padding: 0 20px; }
    .college-slider-btn { width: 45px; height: 45px; font-size: 20px; margin: 0 15px; }
    .college-videos-section h2 { font-size: 2.2em; }
    .hero-section { flex-direction: column; text-align: center; gap: 30px; }
    .hero-content { flex: auto; }
    .hero-video { flex: auto; }
}

@media (max-width: 768px) {
    .testimonial-cards { flex-wrap: nowrap; }
    .testimonial-card { flex: 0 0 100%; max-width: 100%; margin: 0 10px; }
    .college-video-slider-wrapper { flex-direction: column; gap: 20px; }
    .college-slider-btn { margin: 0; }
    .college-prev-btn { order: 2; }
    .college-next-btn { order: 3; }
    .college-video-carousel { order: 1; }
    .college-videos-section h2 { font-size: 1.8em; }
    .services-container { flex-direction: column; gap: 20px; align-items: center; }
    .service-card { width: 90%; }
    #newsletter-form { flex-direction: column; gap: 15px; }
    .input-group { width: 100%; }
    .submit-btn { width: 100%; }
    .footer-top { flex-direction: column; align-items: center; text-align: center; }
    .footer-social, .footer-links { min-width: auto; width: 100%; }
    .footer-links ul { display: flex; flex-direction: column; align-items: center; }
    .footer-social .social-icons { justify-content: center; }
}