:root {
    --primary-color: #004d99; /* A professional, deep blue */
    --secondary-color: #ffd700; /* Bright, energetic yellow for contrast */
    --accent-color: #ff9900; /* Warm orange for key elements */
    --background-light: #f4f7f9;
    --text-dark: #333;
    --text-light: #fff;
    --card-bg: #ffffff;
    --border-radius-lg: 15px;
    --border-radius-sm: 8px;
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--background-light);
}

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

h1, h2, h3 {
    font-weight: 700;
    color: var(--primary-color);
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1em;
    color: #666;
    margin-bottom: 40px;
}

.sub-section-title {
    text-align: center;
    font-size: 2em;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* Header and Navigation */
header {
    background-color: var(--card-bg);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5em;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    color: var(--primary-color);
}

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

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

nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color var(--transition-speed);
}

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

nav ul li a.active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 5px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--background-light) 0%, #e0e8ed 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    max-width: 50%;
}

.hero-text h1 {
    font-size: 3.5em;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.hero-text h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.cta-button {
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.primary-cta {
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.4);
}

.primary-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.5);
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Section Styling */
section {
    padding: 80px 0;
    position: relative;
}

.about-page-section, .contact-section {
    background-color: var(--card-bg);
    padding-top: 60px;
    padding-bottom: 60px;
}

/* Features Section */
.features-section {
    background-color: var(--background-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-item {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-item i {
    font-size: 3em;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.feature-item h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* About Section */
.about-page-section {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin: 40px auto;
    padding: 60px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
}

.team-section {
    background-color: var(--background-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.team-member {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

/* Notes & PDFs Page */
.content-section {
    padding: 60px 0;
    background-color: var(--background-light);
}

.notes-sub-section, .pdfs-sub-section {
    padding: 40px 0;
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.content-list {
    display: grid;
    gap: 30px;
}

.content-card {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed);
}

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

.read-more-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: background-color var(--transition-speed);
}

.read-more-btn:hover {
    background-color: #003366;
}

.pdf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.pdf-item {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.pdf-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.pdf-item i {
    font-size: 3em;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.pdf-item h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.download-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: background-color var(--transition-speed);
}

.download-btn:hover {
    background-color: #003366;
}

/* Contact Section */
.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--background-light);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius-sm);
    font-size: 1em;
    transition: border-color var(--transition-speed);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    color: var(--primary-color);
    font-size: 1.1em;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.5);
}

.form-status {
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
    display: none;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 2rem 0;
    text-align: center;
}

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

.social-links a {
    color: var(--text-light);
    margin: 0 10px;
    font-size: 1.5em;
    transition: color var(--transition-speed);
}

.social-links a:hover {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text, .hero-image {
        max-width: 100%;
    }

    .about-content {
        flex-direction: column;
    }

    .cta-buttons {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2em;
    }
    
    nav {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 15px;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    footer .container {
        flex-direction: column;
        gap: 20px;
    }
}
