/* 
    Vidhyadeep University - Master Premium Stylesheet
    Consolidated & Hardened for 100% Reliability
*/

:root {
    --primary: #1E4FA1;
    --primary-light: #3a7bd5;
    --accent: #5efce8;
    --bg-light: #F5F7FA;
    --white: #ffffff;
    --text-main: #2D3436;
    --text-muted: #636E72;
    --radius-lg: 30px;
    --radius-md: 18px;
    --shadow: 0 10px 40px rgba(30, 79, 161, 0.1);
}

/* Base Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Open Sans', sans-serif; 
    background: #fff; 
    color: var(--text-main); 
    line-height: 1.6; 
    overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; font-weight: 700; }
a { text-decoration: none; transition: 0.3s ease; }

.container { 
    max-width: 1240px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: #fff !important;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(30, 79, 161, 0.2);
}
.btn-primary:hover { 
    background: var(--primary-light); 
    transform: translateY(-3px);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Sections */
section { padding: 80px 0; }
.highlight { color: var(--primary); font-weight: 800; }

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 100px;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #0f172a url('../images/campus-hero.jpg') no-repeat center center/cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(30, 79, 161, 0.9) 0%, rgba(0, 210, 255, 0.5) 100%);
    z-index: -1;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 1;
}

.hero-content { max-width: 650px; color: #fff; }
.hero-content h1 { font-size: 3.8rem; line-height: 1.1; margin-bottom: 20px; }
.hero-content p { font-size: 1.2rem; margin-bottom: 35px; opacity: 0.9; }

.hero-btns { display: flex; gap: 20px; }
.hero-btns .btn-primary { background: #fff; color: var(--primary) !important; }

.hero-image-wrap { position: relative; }
.hero-main-img {
    max-width: 500px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

/* Trust Section */
.trust-section { background: var(--bg-light); padding: 50px 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
.trust-section p { text-align: center; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; color: var(--text-muted); font-size: 0.8rem; margin-bottom: 30px; }
.trust-logos-wrap { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; opacity: 0.7; }
.trust-logo { font-size: 1.1rem; font-weight: 800; display: flex; align-items: center; gap: 10px; color: var(--text-main); }
.trust-logo i { color: var(--primary); }

/* About Section */
.about-section { padding: 100px 0; }
.about-flex {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-image { flex: 1; position: relative; }
.about-image img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

.about-content { flex: 1; }
.sub-title { color: var(--primary); font-weight: 700; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 15px; display: block; }
.about-content h2 { font-size: 2.8rem; line-height: 1.2; margin-bottom: 25px; }

.about-features { margin: 30px 0; }
.feature-item { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; font-weight: 600; }
.feature-item i { color: var(--primary); font-size: 1.1rem; }

/* Programs Section */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.program-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(30, 79, 161, 0.15);
}

.program-img { position: relative; height: 240px; }
.program-img img { width: 100%; height: 100%; object-fit: cover; }

.program-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 6px 15px;
    border-radius: 50px;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.program-body { padding: 30px; }
.program-body h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--text-main); }
.program-body p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 25px; }

.program-tags { display: flex; gap: 10px; margin-bottom: 25px; }
.program-tag { background: var(--bg-light); padding: 5px 12px; border-radius: 6px; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }

.program-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.fee-info { font-size: 0.85rem; color: var(--text-muted); }
.fee-amount { display: block; font-size: 1.2rem; font-weight: 800; color: var(--primary); }

.btn-whatsapp {
    background: #25D366;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-whatsapp:hover { background: #128C7E; transform: scale(1.05); }

/* Responsive */
@media (max-width: 1024px) {
    .about-flex { gap: 40px; }
    .hero-content h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
    .hero-container, .about-flex { flex-direction: column; text-align: center; }
    .hero-btns, .about-features { justify-content: center; }
    .hero-main-img { max-width: 100%; margin-top: 40px; }
    .about-image { margin-bottom: 40px; }
}
