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

body {
    font-family: 'Arial', 'Segoe UI', 'Tahoma', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Header Styles */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

/* Logo Section */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-placeholder {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.institute-name h1 {
    font-size: 22px;
    color: #1e40af;
    margin-bottom: 2px;
    font-weight: 700;
}

.institute-name p {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

/* Navigation Styles */
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

nav a:hover,
nav a.active {
    background-color: #2563eb;
    color: white;
}

/* Main Content */
main {
    min-height: calc(100vh - 140px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    padding: 80px 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 42px;
    color: #1e40af;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-content h3 {
    font-size: 28px;
    color: #3b82f6;
    margin-bottom: 25px;
    font-weight: 600;
}

.hero-content p {
    font-size: 18px;
    color: #6b7280;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin: 0 10px;
}

.btn-primary {
    background-color: #2563eb;
    color: white;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-secondary:hover {
    background-color: #2563eb;
    color: white;
    transform: translateY(-2px);
}

.cta-buttons {
    margin-top: 30px;
}

/* Quick Info Section */
.quick-info {
    padding: 80px 0;
    background-color: #ffffff;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.info-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card h4 {
    font-size: 22px;
    color: #1e40af;
    margin-bottom: 15px;
    font-weight: 600;
}

.info-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Social Section */
.social-section {
    background: linear-gradient(135deg, #1e40af, #2563eb);
    padding: 60px 0;
    text-align: center;
}

.social-section h3 {
    color: white;
    font-size: 28px;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-icon {
    font-size: 20px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    padding: 60px 0;
    text-align: center;
}

.page-header h2 {
    font-size: 36px;
    color: #1e40af;
    margin-bottom: 10px;
    font-weight: 700;
}

.page-header h3 {
    font-size: 24px;
    color: #3b82f6;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 16px;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* About Content */
.about-content {
    padding: 80px 0;
}

.about-intro {
    margin-bottom: 60px;
    text-align: center;
}

.about-intro p {
    font-size: 18px;
    line-height: 1.8;
    color: #4b5563;
    max-width: 900px;
    margin: 0 auto 25px;
}

.section-block {
    margin-bottom: 60px;
}

.section-block h3 {
    font-size: 28px;
    color: #1e40af;
    margin-bottom: 5px;
    font-weight: 600;
}

.section-block h4 {
    font-size: 20px;
    color: #3b82f6;
    margin-bottom: 20px;
    font-weight: 500;
}

.section-block p {
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 15px;
}

.section-block ul {
    list-style: none;
    padding-left: 0;
}

.section-block li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #4b5563;
}

.section-block li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}

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

.program-card {
    padding: 30px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-card h4 {
    font-size: 20px;
    color: #1e40af;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 18px;
    color: #1e40af;
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-item p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 60px 30px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 16px;
    margin-top: 60px;
    color: white;
}

.cta-section h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background-color: white;
    color: #2563eb;
}

.cta-section .btn-primary:hover {
    background-color: #f8fafc;
    transform: translateY(-2px);
}

/* Contact Content */
.contact-content {
    padding: 80px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-form-section h3,
.contact-info-section h3 {
    font-size: 24px;
    color: #1e40af;
    margin-bottom: 30px;
    font-weight: 600;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Contact Info */
.contact-info-section {
    padding-left: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 24px;
    margin-top: 5px;
}

.contact-details h4 {
    font-size: 18px;
    color: #1e40af;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-details p {
    color: #6b7280;
    line-height: 1.6;
}

.contact-social {
    margin-top: 40px;
}

.contact-social h4 {
    font-size: 18px;
    color: #1e40af;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Additional Info */
.additional-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.info-box {
    padding: 30px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.info-box h4 {
    font-size: 20px;
    color: #1e40af;
    margin-bottom: 15px;
    font-weight: 600;
}

.info-box p {
    color: #6b7280;
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: #1f2937;
    color: white;
    padding: 40px 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Mobile Navigation */
.nav-toggle {
    background: #2563eb;
    border: none;
    color: white;
    font-size: 20px;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 15px;
}

.nav-toggle:hover {
    background: #1d4ed8;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile navigation */
    .nav-toggle {
        display: block !important;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    nav.nav-open {
        max-height: 300px;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }
    
    nav li {
        margin-bottom: 10px;
    }
    
    nav a {
        display: block;
        padding: 15px 20px;
        border-radius: 8px;
        text-align: center;
        background: #f8fafc;
        margin-bottom: 5px;
    }
    
    nav a:hover,
    nav a.active {
        background: #2563eb;
        color: white;
    }
    /* Header responsive */
    header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: relative;
        text-align: left;
    }
    
    .logo {
        justify-content: flex-start;
    }
    
    /* Hero responsive */
    .hero-content h2 {
        font-size: 28px;
    }
    
    .hero-content h3 {
        font-size: 20px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        margin: 0;
        padding: 12px 24px;
    }
    
    /* Grid responsive */
    .info-grid,
    .programs-grid,
    .features-grid,
    .additional-info {
        grid-template-columns: 1fr;
    }
    
    /* Contact responsive */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info-section {
        padding-left: 0;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    /* Footer responsive */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    /* Typography responsive */
    .page-header h2 {
        font-size: 28px;
    }
    
    .page-header h3 {
        font-size: 20px;
    }
    
    .section-block h3 {
        font-size: 24px;
    }
    
    .institute-name h1 {
        font-size: 18px;
    }
    
    .institute-name p {
        font-size: 12px;
    }
    
    .logo-placeholder {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .quick-info,
    .about-content,
    .contact-content {
        padding: 60px 0;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .hero-content h2 {
        font-size: 24px;
    }
    
    .hero-content h3 {
        font-size: 18px;
    }
}