/* 
=========================
  MV Edu Institution CSS
=========================
*/

/* Base Styles and Variables */
:root {
    /* Color Palette - Updated for University Style */
    --primary-color: #1e3a8a;
    --secondary-color: #2b4698;
    --accent-color: #c8a35f;
    --dark-color: #112045;
    --light-color: #f8f9fa;
    --gray-color: #8d99ae;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --danger-color: #f44336;
    
    /* Typography */
    --body-font: 'Roboto', sans-serif;
    --heading-font: 'Playfair Display', serif;
    
    /* Spacing */
    --section-padding: 5rem 0;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--heading-font);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 0;
}

.section-header h2::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 0;
    z-index: 1;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-color);
    font-style: italic;
}

.btn-primary, .btn-secondary, .btn-course {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    position: relative;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-course {
    background-color: var(--accent-color);
    color: white;
    border: none;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.btn-course::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn-course:hover::before {
    left: 0;
}

.btn-course:hover {
    background-color: transparent;
    color: var(--accent-color);
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-bottom: 3px solid var(--accent-color);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    max-height: 60px;
    width: auto;
    display: block;
}

.logo-text h1 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.logo-text h1 span {
    color: var(--accent-color);
    font-style: italic;
}

.logo-text .tagline {
    font-size: 0.8rem;
    color: var(--gray-color);
    margin-bottom: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 1.5rem;
    position: relative;
}

nav ul li a {
    font-weight: 500;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 0;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

nav ul li a.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    transition: all 0.3s ease;
    z-index: -1;
}

nav ul li a.btn-primary:hover::before {
    left: 0;
}

nav ul li a.btn-primary:hover {
    color: white;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin-bottom: 5px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(17, 32, 69, 0.95) 100%), url('images/university-campus.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('images/wave-pattern.png');
    background-size: contain;
    opacity: 0.1;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
    font-family: var(--heading-font);
    line-height: 1.2;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
}

.hero-content h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background-color: var(--accent-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.hero-buttons .btn-primary {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-buttons .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: all 0.3s ease;
    z-index: -1;
}

.hero-buttons .btn-primary:hover::before {
    left: 0;
}

.hero-buttons .btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
}

.hero-buttons .btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.hero-shape {
    width: 450px;
    height: 450px;
    background-image: url('images/education-collage.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border: 5px solid white;
    overflow: hidden;
    transform: rotate(3deg);
}

.hero-shape::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 100%;
    height: 100%;
    border: 5px solid var(--accent-color);
    z-index: -1;
    transform: rotate(-6deg);
}

.hero-shape::after {
    content: 'EXCELLENCE IN EDUCATION';
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    background-color: var(--accent-color);
    color: white;
    padding: 10px 0;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
}

/* About Section */
.about {
    background-color: white;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background-color: rgba(200, 163, 95, 0.1);
    border-radius: 0 0 0 100%;
    z-index: 0;
}

.about::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background-color: rgba(30, 58, 138, 0.05);
    border-radius: 0 100% 0 0;
    z-index: 0;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.about-text {
    flex: 1;
    min-width: 300px;
    position: relative;
    padding-left: 20px;
}

.about-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--accent-color);
}

.about-text h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    font-size: 1.8rem;
    font-family: var(--heading-font);
    position: relative;
    display: inline-block;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.about-text p {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-stats {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-item {
    background-color: white;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-bottom: 3px solid var(--primary-color);
    position: relative;
}

.stat-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
}

.stat-item:hover::before {
    width: 100%;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: var(--heading-font);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.stat-item h3::after {
    content: '+';
    font-size: 1.5rem;
    position: absolute;
    top: 0;
    right: -15px;
    color: var(--accent-color);
}

.stat-item p {
    font-size: 1rem;
    color: var(--gray-color);
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Courses Section */
.courses {
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.courses::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/university-pattern.png');
    opacity: 0.03;
    z-index: 0;
}

.courses .container {
    position: relative;
    z-index: 1;
}

.course-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-color);
    text-transform: uppercase;
    letter-spacing: 1px;    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: transparent;
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.course-card {
    background-color: white;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border-left: 4px solid var(--primary-color);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-left: 4px solid var(--accent-color);
}

.course-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.course-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(30, 58, 138, 0), rgba(30, 58, 138, 0.7));
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.course-card:hover .course-image::before {
    opacity: 1;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 10% 100%);
}

.course-content {
    padding: 1.8rem;
    position: relative;
}

.course-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.05);
}

.course-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-family: var(--heading-font);
    position: relative;
    padding-bottom: 10px;
}

.course-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.course-content p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--gray-color);
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
}

.course-meta span i {
    margin-right: 5px;
    color: var(--accent-color);
}

.courses-more {
    text-align: center;
    margin-top: 4rem;
}

/* Educators Section */
.educators {
    background-color: #f8f9fb;
    position: relative;
    overflow: hidden;
}

.educators::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/university-pattern.png');
    opacity: 0.03;
    z-index: 0;
}

.educators .container {
    position: relative;
    z-index: 1;
}

.educators .section-header h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
}

.educator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.educator-card {
    background-color: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-bottom: 4px solid var(--primary-color);
    position: relative;
}

.educator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--accent-color);
    transition: height 0.3s ease;
    z-index: 1;
}

.educator-card:hover::before {
    height: 100%;
}

.educator-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-bottom-color: var(--accent-color);
}

.educator-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.educator-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(30, 58, 138, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.educator-card:hover .educator-image::after {
    opacity: 1;
}

.educator-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.educator-card:hover .educator-image img {
    transform: scale(1.1);
}

.educator-info {
    padding: 1.8rem;
    text-align: center;
    position: relative;
}

.educator-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.05);
}

.educator-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.educator-info h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.educator-card:hover .educator-info h3::after {
    width: 100%;
}

.educator-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.educator-bio {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.educator-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.educator-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 0;
    transition: all 0.3s ease;
}

.educator-social a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.educators-more {
    text-align: center;
    margin-top: 3rem;
}

.educators-more .btn-secondary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.educators-more .btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
    z-index: -1;
}

.educators-more .btn-secondary:hover {
    color: white;
    border-color: var(--accent-color);
}

.educators-more .btn-secondary:hover::before {
    left: 0;
}

/* Testimonials Section */
.testimonials {
    background-color: #f5f7fa;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/university-pattern.png');
    opacity: 0.03;
    z-index: 0;
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonials .section-header h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.testimonial-item {
    padding: 2.5rem;
    background-color: white;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-left-color: var(--accent-color);
}

.testimonial-content {
    position: relative;
    padding: 1rem 0;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -30px;
    left: -10px;
    font-size: 6rem;
    color: var(--accent-color);
    opacity: 0.1;
    font-family: var(--heading-font);
    line-height: 1;
}

.testimonial-content::after {
    content: '"';
    position: absolute;
    bottom: -60px;
    right: -10px;
    font-size: 6rem;
    color: var(--accent-color);
    opacity: 0.1;
    font-family: var(--heading-font);
    line-height: 1;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    font-style: italic;
    color: #505050;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-author::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.testimonial-author img {
    width: 70px;
    height: 70px;
    border-radius: 0;
    object-fit: cover;
    margin-right: 1rem;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-author h4 {
    margin-bottom: 0.2rem;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.testimonial-author p {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 0;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
}

.prev-btn, .next-btn {
    background-color: white;
    border: 2px solid var(--primary-color);
    width: 45px;
    height: 45px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.prev-btn:hover, .next-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
    margin: 0 1.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 0;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--accent-color);
    width: 25px;
}

/* Contact Section */
.contact {
    background-color: white;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background-color: rgba(200, 163, 95, 0.1);
    border-radius: 100% 0 0 0;
    z-index: 0;
}

.contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background-color: rgba(30, 58, 138, 0.05);
    border-radius: 0 0 100% 0;
    z-index: 0;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact .section-header h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background-color: #f8f9fb;
    padding: 2.5rem;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-left-color: var(--accent-color);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    position: relative;
}

.contact-item:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.05);
}

.contact-item i {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-right: 1.5rem;
    margin-top: 0.2rem;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    transform: translateY(-3px);
    color: var(--primary-color);
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
    color: var(--primary-color);
    font-family: var(--heading-font);
    position: relative;
    display: inline-block;
}

.contact-item h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

.contact-item p {
    color: var(--gray-color);
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-social h3 {
    margin-top: 2rem;
    font-size: 1.3rem;
    color: var(--primary-color);
    font-family: var(--heading-font);
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.contact-social h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 0;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.social-icons a:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
}

.contact-form {
    flex: 1;
    min-width: 300px;
    padding: 2.5rem;
    background-color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.contact-form:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-bottom-color: var(--accent-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 0;
    font-family: var(--body-font);
    transition: all 0.3s ease;
    background-color: #f8f9fb;
    color: var(--dark-color);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(200, 163, 95, 0.1);
}

.contact-form .btn-primary {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    letter-spacing: 1px;
    background-color: var(--primary-color);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-top: 1rem;
}

.contact-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
    z-index: -1;
}

.contact-form .btn-primary:hover::before {
    left: 0;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0 1.5rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-logo-img {
    max-height: 50px;
    width: auto;
}

.footer-logo-text h3 {
    color: white;
    font-family: var(--heading-font);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.footer-logo-text h3 span {
    color: var(--accent-color);
    font-style: italic;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-column {
    flex: 1;
    min-width: 150px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    color: white;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: var(--accent-color);
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/university-pattern.png');
    opacity: 0.05;
    z-index: 0;
}

.newsletter .container {
    position: relative;
    z-index: 1;
}

.newsletter-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.newsletter-text {
    flex: 1;
    min-width: 300px;
}

.newsletter-text h2 {
    color: white;
    margin-bottom: 1.2rem;
    font-size: 2.2rem;
    font-family: var(--heading-font);
    position: relative;
    padding-bottom: 15px;
}

.newsletter-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.newsletter-form {
    flex: 1;
    min-width: 300px;
    display: flex;
    gap: 1rem;
    position: relative;
}

.newsletter-form::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 70%;
    height: 70%;
    border: 2px solid var(--accent-color);
    opacity: 0.3;
    z-index: -1;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 0;
    font-family: var(--body-font);
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(200, 163, 95, 0.2);
}

.newsletter-form .btn-primary {
    background-color: var(--accent-color);
    border: none;
    padding: 0 2rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.newsletter-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--dark-color);
    transition: all 0.3s ease;
    z-index: -1;
}

.newsletter-form .btn-primary:hover::before {
    left: 0;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-shape {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 768px) {
    header .container {
        padding: 1rem;
    }
    
    nav ul {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: all 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav ul li {
        margin: 1rem 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-shape {
        width: 100%;
        max-width: 400px;
        height: 300px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-content,
    .about-content {
        flex-direction: column;
    }
}
