/* ============================================
   VEC Website - Main CSS
   ============================================ */

/* CSS Variables */
:root {
    --primary-blue: #4A90E2;
    --light-blue: #7FB3D5;
    --accent-blue: #2C5AA0;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-gradient: linear-gradient(135deg, #4A90E2 0%, #2C5AA0 100%);
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
    --transition: all 0.3s ease;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --font-accent: 'Poppins', sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.125rem;
}

/* Header Styles */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: var(--shadow-sm);
}

.top-bar {
    background: var(--primary-blue);
    color: white;
    padding: 8px 0;
    font-size: 0.875rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
}

.contact-item:hover {
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background: white;
    color: var(--primary-blue);
}

/* Navigation */
.main-nav {
    padding: 15px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 600;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu > li > a {
    font-weight: 600;
    color: var(--text-dark);
    padding: 8px 0;
    position: relative;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--primary-blue);
}

.nav-menu > li > a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-blue);
}

.has-dropdown {
    position: relative;
}

.has-dropdown > a {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 12px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    font-weight: 500;
}

.dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary-blue);
}

.cta-nav {
    margin-left: 20px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 25px;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    background: var(--bg-gradient);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.trust-indicators {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.trust-item {
    text-align: center;
}

.trust-number {
    font-size: 2rem;
    font-weight: 700;
    display: block;
}

.trust-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Lead Form */
.lead-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    animation: fadeInUp 0.8s ease 0.3s backwards;
}

.lead-form h3 {
    color: var(--text-dark);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
}

select.form-control {
    cursor: pointer;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
}

/* Course Categories */
.categories-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.125rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.category-card {
    background: white;
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-blue);
    color: white;
}

.category-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.category-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.category-card p {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Course/College Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.course-card,
.college-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.course-card:hover,
.college-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-blue);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.card-meta {
    display: flex;
    gap: 15px;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.card-description {
    color: var(--text-light);
    font-size: 0.9375rem;
    margin-bottom: 15px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.testimonial-header {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.testimonial-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-info h4 {
    margin-bottom: 5px;
}

.testimonial-meta {
    font-size: 0.875rem;
    color: var(--text-light);
}

.testimonial-rating {
    color: #ffc107;
    margin-top: 5px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    line-height: 1.8;
}

/* Footer */
.main-footer {
    background: #1a1a1a;
    color: white;
}

.footer-top {
    padding: 60px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-tagline {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--light-blue);
}

.footer-desc {
    font-size: 0.9375rem;
    opacity: 0.8;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: white;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    font-size: 0.9375rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--light-blue);
    padding-left: 5px;
}

.branch-info {
    margin-bottom: 25px;
}

.branch-info h4 {
    color: var(--light-blue);
    margin-bottom: 8px;
}

.branch-info p {
    font-size: 0.875rem;
    opacity: 0.8;
    line-height: 1.6;
}

.branch-info a {
    color: var(--light-blue);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
}

.footer-bottom-links a:hover {
    color: white;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-primary { color: var(--primary-blue); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }
.py-5 { padding: 5rem 0; }
