/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Open+Sans:wght@300;400;500;600;700&display=swap');

/* Root Variables */
:root {
    --primary-color: #B71C1C;
    --secondary-color: #C62828;
    --dark-gray: #2C3E50;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    --text-color: #333333;
    --border-color: #DDDDDD;
    --heading-font: 'Oswald', sans-serif;
    --body-font: 'Open Sans', sans-serif;
}

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

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    letter-spacing: 0.5px;
}

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

/* Navigation Bar */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--dark-gray);
}

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

.logo .tagline {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--dark-gray);
    margin-top: -5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-gray);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.btn:hover::after {
    width: 70%;
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    color: #000000;
    background-color: var(--white);
    border-color: #000000;
}

.btn-primary:hover::after {
    background-color: #000000;
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    color: var(--white);
    background-color: transparent;
    border-color: var(--white);
}

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

/* Intro Section */
.intro {
    padding: 80px 20px;
    background-color: var(--light-gray);
    text-align: center;
}

.intro h2 {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.intro p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-color);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1rem;
    color: var(--dark-gray);
}

/* Services Preview */
.services-preview {
    padding: 80px 20px;
}

.services-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background-color: var(--light-gray);
    padding: 0;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

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

.service-card .icon,
.service-card h3,
.service-card p {
    padding: 0 2rem;
}

.service-card h3 {
    padding-top: 1rem;
}

.service-card p {
    padding-bottom: 2rem;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-color);
    line-height: 1.6;
}

.center-button {
    text-align: center;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.2rem;
}

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

.about-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.about-intro .about-image {
    width: 100%;
    max-width: 800px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 auto 2rem auto;
    display: block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-intro h2 {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.about-intro .lead {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.about-intro p {
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-color);
}

.highlights {
    margin-bottom: 4rem;
}

.highlights h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.highlight-item {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.highlight-item .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.highlight-item h4 {
    font-size: 1.3rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.highlight-item p {
    color: var(--text-color);
}

.commitment {
    background-color: var(--light-gray);
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
}

.commitment h3 {
    font-size: 2rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.commitment p {
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-color);
}

/* Services Content */
.services-content {
    padding: 80px 20px;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 4rem;
}

.service-detail {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background-color: var(--light-gray);
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
}

.service-detail .service-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.service-detail .service-info {
    padding: 0 2.5rem 2.5rem 2.5rem;
}

.service-icon {
    font-size: 4rem;
    min-width: 80px;
}

.service-info h2 {
    font-size: 2rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.service-description {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.service-info h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.service-info ul {
    list-style: none;
    padding-left: 0;
}

.service-info ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-info ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
}

.cta-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* History Content */
.history-content {
    padding: 80px 20px;
}

.section-hero-image {
    width: 100%;
    max-width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:before {
    content: "";
    position: absolute;
    left: 150px;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
}

.timeline-item:last-child:before {
    display: none;
}

.timeline-year {
    text-align: right;
}

.timeline-year h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

.timeline-content {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    position: relative;
}

.timeline-content:before {
    content: "";
    position: absolute;
    left: -12px;
    top: 20px;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    border: 4px solid var(--white);
}

.timeline-content h3 {
    font-size: 1.8rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 1.1rem;
    color: var(--text-color);
}

.achievements {
    margin-top: 4rem;
}

.achievements h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.achievement-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.achievement-card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.achievement-card p {
    font-size: 1rem;
}

/* Mission & Vision Content */
.mission-vision-content {
    padding: 80px 20px;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.mission-box,
.vision-box {
    background-color: var(--light-gray);
    padding: 3rem;
    border-radius: 10px;
    border-top: 5px solid var(--primary-color);
}

.mission-box h2,
.vision-box h2 {
    font-size: 2rem;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    text-align: center;
}

.mission-list,
.vision-list {
    list-style: none;
    padding: 0;
}

.mission-list li,
.vision-list li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

.mission-list li:last-child,
.vision-list li:last-child {
    border-bottom: none;
}

.mission-list li:before,
.vision-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.3rem;
}

.goals-section {
    margin-top: 4rem;
}

.goals-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.goals-intro {
    text-align: center;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-color);
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.goal-card {
    background-color: var(--light-gray);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.goal-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.goal-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.goal-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.goal-card h4 {
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.goal-card p {
    font-size: 1rem;
    color: var(--text-color);
}

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

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
}

.contact-item h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    font-size: 1.1rem;
    color: var(--text-color);
}

.contact-item a {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-form-container {
    background-color: var(--light-gray);
    padding: 3rem;
    border-radius: 10px;
}

.contact-form-container h2 {
    font-size: 2rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

.form-group input.valid,
.form-group textarea.valid {
    border-color: #28a745;
}

.form-group input.invalid,
.form-group textarea.invalid {
    border-color: #dc3545;
}

.required {
    color: var(--primary-color);
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
    min-height: 1.2rem;
}

.g-recaptcha {
    margin-top: 0.5rem;
}

.thank-you-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
}

.thank-you-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.thank-you-section p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 3rem 20px 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: #CCCCCC;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #CCCCCC;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #CCCCCC;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 0.5rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .timeline-item {
        grid-template-columns: 100px 1fr;
        gap: 2rem;
    }

    .timeline-item:before {
        left: 100px;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .service-detail {
        flex-direction: column;
    }
}
