* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: #007bff;
    color: #fff;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header .logo {
    font-size: 1.8rem;
    font-weight: bold;
    margin-left: 20px;
}

.nav {
    margin-right: 20px;
}

.nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav a:hover,
.nav a.active {
    color: #ffd700;
}

/* Hero Section */
.hero-section {
    background: url('/assets/images/bg.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: 80px; /* Adjusted for header height */
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-text .highlight {
    color: #ffd700;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn:hover {
    background: #0056b3;
}

/* Intro Section */
.intro-section {
    padding: 80px 20px;
    text-align: center;
    background: #fff;
}

.intro-text h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.intro-text p {
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 80px 20px;
    background: #f9f9f9;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card .icon {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.card p {
    font-size: 1rem;
    color: #555;
}

/* Portfolio Section */
.portfolio {
    padding: 80px 20px;
    background: #fff;
}

.portfolio h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
}

.portfolio p {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.project-card {
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-card h3 {
    font-size: 1.3rem;
    margin: 15px;
}

.project-card p {
    font-size: 1rem;
    color: #555;
    margin: 0 15px 15px;
}

.project-card .btn {
    display: block;
    margin: 15px;
    text-align: center;
}

/* About Section */
.about-section {
    padding: 80px 20px;
    background: #f9f9f9;
}

.about-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
}

.about-section p {
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto 20px;
}

.skills {
    text-align: center;
    margin-top: 30px;
}

.skills h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.skills ul {
    list-style: none;
    padding: 0;
}

.skills li {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 10px;
}

/* Contact Section */
.contact-section {
    padding: 80px 20px;
    background: #fff;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-section p {
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto 30px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 1rem;
    margin-bottom: 5px;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-group textarea {
    resize: vertical;
}

.contact-section .success {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
}

.contact-section .error {
    background: #f8d7da;
    color: #721c24;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
}

/* FAQs Section */
.faqs-section {
    padding: 80px 20px;
    background: #f9f9f9;
    text-align: center;
}

.faqs-section .container {
    max-width: 900px; /* Narrower for readability */
    margin: 0 auto;
    padding: 0 15px;
}

.faqs-section h2#faqs-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
}

.faqs-section > .container > p {
    font-size: 1.125rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.faqs-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem 1.5rem;
    background: #fff;
    border: none;
    font-size: 1.125rem;
    font-weight: 500;
    color: #2d3748;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.faq-question:hover {
    background-color: #edf2f7;
}

.faq-question:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.3);
}

.faq-question[aria-expanded="true"] {
    background-color: #007bff; /* Matches site theme */
    color: #fff;
}

.faq-question[aria-expanded="true"] .faq-toggle::before {
    content: "−";
}

.faq-toggle {
    font-size: 1.25rem;
    font-weight: bold;
    color: inherit;
}

.faq-answer {
    padding: 1rem 1.5rem;
    background: #f9f9f9;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    border-top: 1px solid #e2e8f0;
}

.faq-answer[hidden] {
    display: none;
}

.faqs-section .no-faqs,
.faqs-section .error {
    font-size: 1rem;
    color: #718096;
    text-align: center;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

/* Footer */
.site-footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

.social-links a {
    color: #fff;
    margin: 0 10px;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #ffd700;
}

.site-footer p {
    margin-top: 10px;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        text-align: center;
    }

    .site-header .logo,
    .nav {
        margin: 10px 0;
    }

    .nav a {
        margin: 10px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .faqs-section h2#faqs-heading {
        font-size: 1.75rem;
    }

    .faqs-section > .container > p {
        font-size: 1rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }

    .faq-answer {
        font-size: 0.875rem;
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .faqs-section {
        padding: 40px 10px;
    }

    .faqs-section h2#faqs-heading {
        font-size: 1.5rem;
    }
}

.swiper {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.swiper-slide img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
    color: #007bff;
}

.swiper-pagination-bullet-active {
    background: #007bff;
}

.accordion-item {
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.accordion-header {
    width: 100%;
    background: #f9f9f9;
    color: #333;
    font-size: 1.1rem;
    padding: 1rem;
    text-align: left;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: #edf2f7;
}

.accordion-header .icon {
    font-weight: bold;
    font-size: 1.25rem;
}

.accordion-content {
    padding: 1rem;
    background: #fff;
    font-size: 1rem;
    color: #555;
    border-top: 1px solid #eee;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .accordion-header {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }

    .accordion-content {
        font-size: 0.95rem;
        padding: 0.75rem 1rem;
    }
}
/* FAQ Section Fix */
.faqs-section {
    padding: 80px 20px;
    background: #fff;
    text-align: center;
}

.faqs-section h2#faqs-heading {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.faqs-section > .container > p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}

.faqs-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.accordion-header {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    background: #f9f9f9;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: #edf2f7;
}

.accordion-header .icon {
    font-size: 1.2rem;
    font-weight: bold;
}

.accordion-content {
    padding: 15px 20px;
    background: #fff;
    color: #555;
    font-size: 1rem;
    border-top: 1px solid #eee;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .accordion-header {
        font-size: 1rem;
        padding: 12px 16px;
    }

    .accordion-content {
        font-size: 0.95rem;
        padding: 12px 16px;
    }

    .faqs-section h2#faqs-heading {
        font-size: 2rem;
    }

    .faqs-section > .container > p {
        font-size: 1rem;
    }
}

/* Project Swiper Slider Styles */
.project-card .swiper {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.project-card .swiper-slide img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.project-card .swiper-button-next,
.project-card .swiper-button-prev {
    color: #007bff;
}

.project-card .swiper-pagination-bullet-active {
    background: #007bff;
}

@media (max-width: 768px) {
    .project-card {
        margin-bottom: 30px;
    }

    .project-card h3 {
        font-size: 1.2rem;
    }

    .project-card p {
        font-size: 0.95rem;
    }
}
