/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background-color: #1a3a5f;
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav a:hover, nav a.active {
    background-color: #2a5a8c;
}

nav a i {
    margin-right: 5px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a3a5f 0%, #2a5a8c 100%);
    color: white;
    padding: 60px 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.hero-image img:hover {
    transform: scale(1.05);
}

.btn {
    display: inline-block;
    background-color: #ff7e30;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #e66a20;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features {
    padding: 80px 0;
    text-align: center;
}

.features h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #1a3a5f;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature {
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
}

.feature i {
    font-size: 2.5rem;
    color: #2a5a8c;
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1a3a5f;
}

/* Footer Styles */
footer {
    background-color: #1a3a5f;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #ff7e30;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ff7e30;
}

.footer-section p {
    margin-bottom: 10px;
    color: #ddd;
}

.footer-section i {
    margin-right: 10px;
    color: #ff7e30;
}

/* Student Info Section */
.student-info {
    border-top: 1px solid #2a5a8c;
    padding-top: 20px;
    text-align: center;
}

.student-details {
    margin-bottom: 15px;
}

.student-details p {
    margin-bottom: 5px;
    color: #ddd;
}

.project-links {
    margin-bottom: 15px;
}

.project-links a {
    color: #ff7e30;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.project-links a:hover {
    text-decoration: underline;
}

.copyright {
    color: #aaa;
    font-size: 0.9rem;
}

/* Cars Page Styles */
.cars-page {
    padding: 60px 0;
}

.cars-page h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #1a3a5f;
}

.cars-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.car-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.car-card:hover {
    transform: translateY(-10px);
}

.car-image {
    height: 220px;
    overflow: hidden;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.car-card:hover .car-image img {
    transform: scale(1.05);
}

.car-details {
    padding: 25px;
}

.car-details h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #1a3a5f;
}

.car-price {
    color: #ff7e30;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.car-features {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    color: #666;
}

.car-features span {
    display: flex;
    align-items: center;
}

.car-features i {
    margin-right: 5px;
    color: #2a5a8c;
}

.car-details .btn {
    width: 100%;
    text-align: center;
}

/* Contact Page Styles */
.contact-page {
    padding: 60px 0;
}

.contact-page h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #1a3a5f;
}

.contact-page p {
    text-align: center;
    margin-bottom: 50px;
    color: #666;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #1a3a5f;
}

.contact-info p {
    text-align: left;
    margin-bottom: 15px;
    color: #666;
}

.contact-info i {
    color: #2a5a8c;
    margin-right: 10px;
    width: 20px;
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #1a3a5f;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2a5a8c;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* About Page Styles */
.about-page {
    padding: 60px 0;
}

.about-page h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #1a3a5f;
}

.about-page p {
    text-align: center;
    margin-bottom: 50px;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #1a3a5f;
}

.about-text p {
    text-align: left;
    margin-bottom: 20px;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.mission, .vision {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.mission h3, .vision h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1a3a5f;
}

/* Responsive Styles */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .features h2, .cars-page h2, .contact-page h2, .about-page h2 {
        font-size: 1.8rem;
    }
    
    .student-info {
        text-align: center;
    }
    
    .student-details, .project-links, .copyright {
        margin-bottom: 15px;
    }
}