/* 
   Main Stylesheet for D.A.E. Classes Website
   This file contains all the core styles for the website
*/

/* ===== CSS Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== Color Variables ===== */
:root {
    --primary-purple: #5D2F8E;
    --primary-purple-light: #7B4EAE;
    --primary-purple-dark: #472569;
    --white: #FFFFFF;
    --light-gray: #F2F2F2;
    --medium-gray: #E0E0E0;
    --dark-gray: #2C3E50;
    --emerald-green: #2ECC71;
    --emerald-green-dark: #27AE60;
    --sky-blue: #00BFFF;
    --sky-blue-dark: #0099CC;
    --accent-orange: #E67E22;
    --accent-orange-dark: #D35400;
    --text-color: #333333;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --overlay-color: rgba(0, 0, 0, 0.5);
}

/* ===== Basic Typography ===== */
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--primary-purple);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-purple-light);
}

.accent-font {
    font-family: 'Dancing Script', cursive;
}

/* ===== Layout & Container ===== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-purple);
}

.section-header p {
    color: var(--dark-gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--emerald-green);
    color: var(--white);
    box-shadow: 0 3px 6px rgba(46, 204, 113, 0.2);
}

.btn-primary:hover {
    background-color: var(--emerald-green-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.btn-secondary {
    background-color: var(--sky-blue);
    color: var(--white);
    box-shadow: 0 3px 6px rgba(0, 191, 255, 0.2);
}

.btn-secondary:hover {
    background-color: var(--sky-blue-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 191, 255, 0.3);
}

/* ===== Header & Navigation ===== */
header {
    background-color: var(--primary-purple);
    color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--white);
    text-decoration: none;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-family: 'Roboto Slab', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 5px;
}

.nav-menu a {
    color: var(--white);
    padding: 10px 15px;
    display: block;
    position: relative;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 15px;
    right: 15px;
    height: 2px;
    background-color: var(--white);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    transform: scaleX(1);
}

.nav-menu a.active {
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.cta-button {
    margin-left: 20px;
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    overflow: hidden;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(93, 47, 142, 0.7) 0%, rgba(46, 204, 113, 0.4) 100%);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    width: 90%;
    max-width: 800px;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--white);
}

.hero-content .subtitle {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 2;
}

.prev-btn, .next-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.prev-btn:hover, .next-btn:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 2;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--white);
}

/* ===== Stats Section ===== */
.stats-section {
    background-color: var(--primary-purple);
    color: var(--white);
    padding: 30px 0;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--accent-orange);
}

.stat-item h2 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    color: var(--white);
}

.stat-item p {
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* ===== Courses Section ===== */
.courses-section {
    background-color: var(--light-gray);
}

.courses-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.course-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.course-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-purple-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.course-icon i {
    font-size: 2rem;
    color: var(--white);
}

.course-card h3 {
    margin-bottom: 15px;
    color: var(--primary-purple);
}

.course-card p {
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.courses-cta {
    text-align: center;
}

/* ===== Results Section ===== */
.results-section {
    background-color: var(--white);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.result-card {
    background-color: var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.student-photo {
    height: 220px;
    overflow: hidden;
}

.student-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.result-card:hover .student-photo img {
    transform: scale(1.05);
}

.result-details {
    padding: 20px;
    text-align: center;
    background-color: var(--white);
}

.result-details h3 {
    margin-bottom: 10px;
    color: var(--primary-purple);
    font-size: 1.2rem;
}

.rank {
    font-weight: 700;
    color: var(--accent-orange);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.college {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.results-cta {
    text-align: center;
}

/* ===== Facilities Section ===== */
.facilities-section {
    background-color: var(--light-gray);
}

.facilities-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.facility-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.facility-icon {
    width: 70px;
    height: 70px;
    background-color: var(--sky-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.facility-card:hover .facility-icon {
    background-color: var(--primary-purple);
}

.facility-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.facility-card h3 {
    color: var(--primary-purple);
    margin-bottom: 15px;
}

.facilities-cta {
    text-align: center;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    background-color: var(--white);
    position: relative;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
}

.testimonial-content {
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -15px;
    left: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-icon i {
    color: var(--white);
    font-size: 1.2rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--primary-purple);
}

.author-info h4 {
    margin-bottom: 5px;
    color: var(--primary-purple);
}

.author-info p {
    color: var(--dark-gray);
    margin-bottom: 0;
}

.testimonial-nav {
    display: flex;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    padding: 0 -20px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* ===== Locations Preview Section ===== */
.locations-preview-section {
    background-color: var(--light-gray);
}

.locations-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.location-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.location-image {
    height: 200px;
    overflow: hidden;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.location-card:hover .location-image img {
    transform: scale(1.05);
}

.location-details {
    padding: 20px;
}

.location-details h3 {
    color: var(--primary-purple);
    margin-bottom: 10px;
}

.location-details p {
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.location-details p i {
    color: var(--accent-orange);
    margin-right: 5px;
}

.locations-cta {
    text-align: center;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
    color: var(--white);
    padding: 60px 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}
/* Adding this to your style.css file */
.success-card .success-image img,
.student-photo img,
.result-card .student-photo img,
.testimonial-author img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    max-height: 100%;
}

/* For specifically the success stories section you showed */
.success-image {
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 
   Additional CSS for About Us Page
   Adding these styles to your existing style.css file . made by satyam kr pandey
*/

/* Page Banner */
.page-banner {
    position: relative;
    height: 300px;
    background-image: url('../images/about/banner.jpeg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.page-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(93, 47, 142, 0.8) 0%, rgba(46, 204, 113, 0.5) 100%);
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    width: 90%;
    max-width: 800px;
    z-index: 1;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--white);
}

.banner-content p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* About Introduction Section */
.about-intro .row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-content h2 {
    color: var(--primary-purple);
    margin-bottom: 15px;
}

.accent-text {
    color: var(--accent-orange);
    font-size: 1.3rem;
    margin-bottom: 20px;
    display: block;
}

.about-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Vision and Mission Section */
.bg-light {
    background-color: var(--light-gray);
}

.vision-mission .row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.vision-box, 
.mission-box {
    flex: 1;
    min-width: 300px;
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.vision-box:hover, 
.mission-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: 70px;
    height: 70px;
    background-color: var(--primary-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.icon-box i {
    font-size: 2rem;
    color: var(--white);
}

.vision-box h2, 
.mission-box h2 {
    text-align: center;
    color: var(--primary-purple);
    margin-bottom: 20px;
}

.vision-box p, 
.mission-box p {
    margin-bottom: 15px;
    line-height: 1.7;
}

/* Timeline Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: var(--primary-purple-light);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 100%;
    padding: 20px 0;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    text-align: left;
    padding-left: 40px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
    text-align: right;
    padding-right: 40px;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--emerald-green);
    border-radius: 50%;
    z-index: 1;
}

.timeline-content {
    position: relative;
    width: 45%;
}

.timeline-content h3 {
    color: var(--primary-purple);
    margin-bottom: 10px;
}

.timeline-content p {
    line-height: 1.7;
}

/* Approach Section */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.approach-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.approach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.approach-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.approach-card:hover .approach-icon {
    background-color: var(--emerald-green);
}

.approach-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.approach-card h3 {
    color: var(--primary-purple);
    margin-bottom: 15px;
}

/* Presence Section (reusing styles from index.html) */
.presence-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

/* Responsive Styles for About Page */
@media screen and (max-width: 992px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
        text-align: left;
        padding-left: 20px;
        padding-right: 0;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .page-banner {
        height: 250px;
    }
    
    .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .banner-content p {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 768px) {
    .about-intro .row {
        flex-direction: column;
    }
    
    .vision-mission .row {
        flex-direction: column;
    }
    
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .banner-content p {
        font-size: 1rem;
    }
    
    .page-banner {
        height: 200px;
    }
}

@media screen and (max-width: 576px) {
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 50px);
        margin-left: 50px;
        padding-left: 15px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .banner-content h1 {
        font-size: 1.8rem;
    }
    
    .accent-text {
        font-size: 1.1rem;
    }
}

/* ===== Floating Contact Button ===== */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
}

.float {
    width: 60px;
    height: 60px;
    background-color: var(--emerald-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.float:hover {
    transform: scale(1.1);
    background-color: var(--emerald-green-dark);
}

.tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

.tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid var(--dark-gray);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.float:hover + .tooltip {
    opacity: 1;
    right: 75px;
}

/* ===== Footer ===== */
footer {
    background-color: var(--primary-purple-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 15px;
}

.footer-logo h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.8;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-orange);
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--emerald-green);
    padding-left: 5px;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact li i {
    margin-right: 10px;
    color: var(--emerald-green);
}

.footer-contact a {
    color: var(--white);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    opacity: 1;
    color: var(--emerald-green);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--emerald-green);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 0;
}


/* 
   Main CSS for D.A.E. Classes Website
   Contains global styles that apply across all pages
*/

/* CSS Reset and Base Styles */
:root {
    --primary-color: #5D2F8E;
    --secondary-color: #2ECC71;
    --tertiary-color: #00BFFF;
    --accent-color: #E67E22;
    --dark-gray: #2C3E50;
    --light-gray: #F2F2F2;
    --white: #FFFFFF;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Slab', serif;
    line-height: 1.3;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style-type: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles - Exactly like the image provided */
.main-header {
    background-color: #5D2F8E;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    width: 45px;
    height: 45px;
    margin-right: 10px;
}

.logo-text {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Open Sans', sans-serif;
}

.script-font {
    font-family: 'Dancing Script', cursive;
    font-weight: 600;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.nav-menu li {
    margin: 0 12px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 10px;
    position: relative;
    display: block;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #2ECC71;
}

.nav-link.active {
    position: relative;
}

.nav-link.active::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: white;
    bottom: -5px;
    left: 0;
}

.cta-button {
    background-color: #2ECC71;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
    display: inline-block;
    text-align: center;
    border: none;
}

.cta-button:hover {
    background-color: #27ae60;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: all 0.3s;
}

/* Common Section Styles */
.section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--dark-gray);
}

/* Page Banner Styles */
.page-banner {
    padding: 100px 0;
    position: relative;
    color: var(--white);
    text-align: center;
    background-position: center;
    background-size: cover;
}

.page-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.banner-content {
    position: relative;
    z-index: 1;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--white);
}

.banner-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #4A2472;
    border-color: #4A2472;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: #f8f9fa;
    color: #4A2472;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

/* Footer Styles */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    width: 60px;
    margin-bottom: 15px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.tagline {
    opacity: 0.9;
    font-style: italic;
}

.accent-font {
    font-family: 'Dancing Script', cursive;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3:after,
.footer-contact h3:after,
.footer-social h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links ul,
.footer-contact ul {
    list-style-type: none;
    padding-left: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-contact a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--secondary-color);
}

.footer-contact i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: #34495e;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
}

/* Utility Classes */
.bg-light {
    background-color: var(--light-gray);
}

.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

/* Mobile Navigation Styles */
.mobile-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    padding: 20px;
    z-index: 999;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav .nav-menu {
    flex-direction: column;
    align-items: center;
}

.mobile-nav .nav-menu li {
    margin: 10px 0;
    width: 100%;
    text-align: center;
}

.mobile-nav .nav-link {
    padding: 12px;
    display: block;
}

/* Mobile menu button animation */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .section {
        padding: 50px 0;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .banner-content h1 {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header-container {
        justify-content: space-between;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .page-banner {
        padding: 60px 0;
    }
}

@media screen and (max-width: 576px) {
    .section {
        padding: 40px 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .banner-content h1 {
        font-size: 1.8rem;
    }
    
    .banner-content p {
        font-size: 1rem;
    }
}