/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #003366;
    background-color: #ffffff;
}

h1, h2, h3 {
    margin-bottom: 1rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #ff6600;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #cc5500;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.btn.primary {
    background-color: #ff6600;
    color: #ffffff;
}

.btn.primary:hover {
    background-color: #cc5500;
    transform: translateY(-2px);
}

.btn.secondary {
    background-color: transparent;
    color: #ff6600;
    border: 2px solid #ff6600;
}

.btn.secondary:hover {
    background-color: #ff6600;
    color: #ffffff;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header and Navigation */
header {
    background-color: #003366;
    color: #ffffff;
    padding: 1rem 0;
}

.logo h1 {
    font-size: 1.5rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.nav-links li a {
    color: #ffffff;
    font-weight: 500;
}

.nav-links li a:hover {
    color: #ff6600;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #003366 0%, #005577 100%);
    color: #ffffff;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Benefits section */
.benefits {
    padding: 4rem 0;
}

.benefits h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.benefit-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    margin-bottom: 1rem;
}

/* Mission Vision */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.mv-card {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Training approach */
.training-approach {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.training-approach ul {
    list-style: none;
    padding-left: 1rem;
}

.training-approach li {
    margin-bottom: 0.5rem;
    position: relative;
}

.training-approach li:before {
    content: "✓";
    color: #ff6600;
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

/* Instructors mentorship */
.instructors-mentorship {
    padding: 4rem 0;
}

/* Team section */
.team {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.team h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-card {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    color: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #ff6600;
    box-shadow: 0 4px 20px rgba(255, 102, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,102,0,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 102, 0, 0.5);
}

.team-card:hover::before {
    opacity: 1;
}

.card-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.card-content .title {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.card-content p {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Courses section */
.courses {
    padding: 4rem 0;
}

.courses h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.course-card {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.course-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.course-card h3 {
    margin-bottom: 1rem;
}

/* Career sections */
.career-support, .placement-assistance, .resume-interview {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.career-support:nth-child(odd), .placement-assistance:nth-child(odd), .resume-interview:nth-child(odd) {
    background-color: #ffffff;
}

.career-support h2, .placement-assistance h2, .resume-interview h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.career-support ul, .placement-assistance ul, .resume-interview ul {
    list-style: none;
    padding-left: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.career-support li, .placement-assistance li, .resume-interview li {
    margin-bottom: 0.5rem;
    position: relative;
}

.career-support li:before, .placement-assistance li:before, .resume-interview li:before {
    content: "•";
    color: #ff6600;
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

/* Success stories */
.success-stories {
    padding: 4rem 0;
}

.success-stories h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.story-card {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #ff6600;
}

.story-card blockquote {
    font-style: italic;
    margin-bottom: 1rem;
    color: #555;
}

.story-card cite {
    font-weight: bold;
    color: #003366;
}

/* Contact section */
.contact-info {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-details h2, .contact-form h2 {
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 1rem;
}

.contact-item strong {
    display: inline-block;
    width: 80px;
}

.map-placeholder {
    margin-top: 2rem;
}

.map-embed iframe {
    width: 100%;
    height: 300px;
    border-radius: 8px;
}

.contact-form {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #ff6600;
    box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.2);
}

/* Error page */
.error-page {
    padding: 4rem 0;
    text-align: center;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-page h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.error-page p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background-color: #003366;
    color: #ffffff;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .mv-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-grid, .courses-grid, .stories-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .benefit-card, .course-card, .team-card, .story-card, .mv-card {
        padding: 1.5rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles */
.btn:focus, a:focus, input:focus, textarea:focus {
    outline: 2px solid #ff6600;
    outline-offset: 2px;
}
