:root {
    --primary: #1d4ed8;
    --secondary: #0284c7;
    --accent: #f59e0b;
    --text-dark: #1e293b;
    --text-light: #475569;
    --bg-light: #f1f5f9;
    --white: #ffffff;
    --dark: #0f172a;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

.section {
    padding: 80px 0;
}

.bg-light { background: linear-gradient(135deg, var(--bg-light) 0%, #e2e8f0 100%); }
.bg-dark { background-color: var(--dark); }
.text-white { color: var(--white); }
.text-center { text-align: center; }

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    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;
    height: 80px;
}

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--secondary);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Hero */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
    position: relative;
}

.slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: absolute;
    top: 0; left: 0; width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.slide::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--white);
    max-width: 800px;
    margin-left: 10%;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 1s ease-out, opacity 1s ease-out;
}

.slide.active .hero-content {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.5s;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.btn-large {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(245, 158, 11, 0.4);
}

.btn-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.6);
}

/* Titles */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary);
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--accent), var(--secondary));
    margin: 15px auto;
    border-radius: 2px;
}

.title-accent {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 30px;
}

.subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-top: -30px;
    margin-bottom: 50px;
}

/* Grid Systems */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

/* Cards */
.card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card h3 { color: var(--primary); margin-bottom: 20px; }

.list-check { list-style: none; margin-top: 20px; }
.list-check li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.list-check li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* Process */
.process-grid { margin-top: 50px; }
.process-item { text-align: center; }
.process-letter {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: var(--primary);
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

/* Counselors */
.counselor-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    text-align: center;
}

.counselor-img {
    margin: 40px auto 10px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
}

.counselor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.counselor-info { padding: 20px 30px 40px; }
.counselor-info h3 { color: var(--primary); margin-bottom: 15px; }

/* Placements */
.placements-container {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.placement-category h3 {
    color: var(--secondary);
    border-left: 4px solid var(--accent);
    padding-left: 15px;
    margin-bottom: 15px;
}

.p-top { margin-top: 30px; }

/* Testimonials Grid */
.testimonial-grid {
    column-count: 3;
    column-gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    break-inside: avoid;
    display: inline-block;
    width: 100%;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.testimonial-card p {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.testimonial-card cite {
    font-weight: 700;
    color: var(--primary);
    display: block;
    font-size: 0.9rem;
}


/* Form */
.form-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.form-group { margin-bottom: 25px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 5px rgba(0,80,157,0.2);
}

.radio-group { display: flex; align-items: center; gap: 20px; padding: 10px 0; }
.radio-group label { margin-bottom: 0; font-weight: 400; cursor: pointer; }

.btn-full { width: 100%; padding: 15px; font-size: 1.1rem; border: none; cursor: pointer; }

#formMessage { margin-top: 20px; padding: 15px; border-radius: 5px; display: none; }
#formMessage.success { background: #d4edda; color: #155724; display: block; }
#formMessage.error { background: #f8d7da; color: #721c24; display: block; }

/* Footer */
footer { padding: 60px 0 20px; }
footer h3 { margin-bottom: 20px; color: var(--accent); }
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul li a { color: var(--white); text-decoration: none; opacity: 0.8; transition: var(--transition); }
footer ul li a:hover { opacity: 1; color: var(--accent); }

.copyright { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 14px; opacity: 0.6; }

@media (max-width: 900px) {
    .testimonial-grid { column-count: 2; }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-5 { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.5rem; }
    header .container { padding: 0 15px; }
    nav { display: none; } /* Add hamburger logic here */
}

@media (max-width: 600px) {
    .testimonial-grid { column-count: 1; }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: var(--white);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}
