/* General Body Styling */
body {
    font-family: 'Open Sans', sans-serif;
    background-color: #F8F9FA; /* Light Gray */
    color: #4B5563; /* Medium Gray */
    margin: 0;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #1F2937; /* Dark Gray */
    font-weight: 700;
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
.body-text { font-size: 16px; }
.description-text { color: #6B7280; } /* Light Gray */

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Header & Navigation */
.main-header {
    background-color: #FFFFFF;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #1F2937;
    text-decoration: none;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: #4B5563;
    font-weight: 600;
    transition: color 0.3s ease;
}

.main-nav a:hover, .main-nav a.active {
    color: #0052CC;
    transform: scale(1.1);
} /* Dark Blue */

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-block;
    font-size: 14px;
}

.btn-primary {
    background-color: #0052CC; /* Dark Blue */
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #0066FF; /* Live Blue */
}

.btn-secondary {
    background-color: #E5E7EB; /* Light Gray */
    color: #1F2937;
}

.btn-secondary:hover {
    background-color: #D1D5DB;
}

.btn-cta {
    background: linear-gradient(90deg, #7C3AED, #0066FF);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
}

/* Hero Slider Section */
.hero-slider-section {
    width: 100%;
    height: 90vh;
}

.hero-slider {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    background-size: contain;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    text-align: left;
    color: #FFFFFF;
    position: relative;
}

@media (max-width: 768px) {
    .swiper-slide {
        background-attachment: scroll;
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
    }
}

@media (max-width: 480px) {
    .swiper-slide {
        background-size: contain;
        background-position: center center;
        background-attachment: scroll;
        background-repeat: no-repeat;
    }
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.swiper-slide .container {
    position: relative;
    z-index: 2;
}



.swiper-slide .hero-content h1 {
    font-size: 56px;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1rem;
}

.swiper-slide .hero-content .description {
    font-size: 20px;
    max-width: 600px;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.swiper-pagination-bullet-active {
    background: #FFFFFF !important;
}

.swiper-button-next, .swiper-button-prev {
    color: #FFFFFF !important;
}

@media (max-width: 768px) {
    .swiper-slide .hero-content h1 { font-size: 32px; }
    .swiper-slide .hero-content .description { font-size: 16px; }
    .hero-slider-section { height: 60vh; }
}

@media (max-width: 480px) {
    .swiper-slide .hero-content h1 { font-size: 24px; }
    .swiper-slide .hero-content .description { font-size: 14px; }
    .hero-slider-section { height: 26vh; }
    .swiper-button-next, .swiper-button-prev { display: none; }
}

/* Sections */
section {
    padding: 0px 0;
}

section h2 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 4rem;
}

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

.service-card {
    background: #FFFFFF;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #BFDBFE;
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-icon img {
    height: 50px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 1rem;
}

.service-card p {
    color: #6B7280;
    margin-bottom: 1.5rem;
}

.details-link {
    color: #0052CC;
    text-decoration: none;
    font-weight: 700;
}

/* Why Us Section */
.why-us-section {
    background: #F9FAFB;
}

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

.advantage-card {
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    text-align: center;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: #7C3AED;
}

.advantage-card h4 {
    font-size: 20px;
    margin-bottom: 1rem;
    color: #0052CC;
}

/* Portfolio Summary */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.project-card img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #FFFFFF;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.project-card:hover .project-info {
    transform: translateY(0);
}

.project-info h5 {
    font-size: 20px;
    color: #FFFFFF;
    margin: 0 0 0.5rem 0;
}

.project-info span {
    font-size: 14px;
    opacity: 0.8;
}

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

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(45deg, rgba(124, 58, 237, 0.05), rgba(0, 102, 255, 0.05));
}

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

.testimonial-card {
    background: #FFFFFF;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.testimonial-author strong {
    display: block;
}

.testimonial-author span {
    color: #6B7280;
    font-size: 14px;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(45deg, #0052CC, #7C3AED);
    padding: 80px 0;
    text-align: center;
    color: #FFFFFF;
}

.page-hero h1 {
    color: #FFFFFF;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
}

/* Services Page */
.services-page-section {
    padding: 60px 0;
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: #E5E7EB;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #D1D5DB;
}

.filter-btn.active {
    background: linear-gradient(90deg, #7C3AED, #0066FF);
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

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

.service-card-full {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

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

.service-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-content h3 {
    font-size: 22px;
    margin-bottom: 1rem;
}

.service-card-content p {
    color: #6B7280;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-content .service-sidebar {
    padding: 2rem;
    background: #F9FAFB;
    border-radius: 12px;
}

.sidebar-widget h3 {
    font-size: 22px;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #0052CC;
}

.service-content section:last-child {
    border-bottom: none;
}

/* Service Detail Page */
.service-detail-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 992px) {
    .service-detail-container {
        grid-template-columns: 3fr 1fr;
    }
}

.service-main-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.service-content section {
    padding: 40px 0;
    border-bottom: 1px solid #E5E7EB;
}


.service-content h2 {
    text-align: left;
    font-size: 36px;
    margin-bottom: 2rem;
}

.service-sidebar .sidebar-widget {
    background: #FFFFFF;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid #E5E7EB;
}

.service-sidebar h3 {
    font-size: 24px;
    margin-bottom: 1.5rem;
}

.pricing-package {
    margin-bottom: 1.5rem;
}

.pricing-package h4 {
    font-size: 18px;
    margin-bottom: 0.5rem;
}

.pricing-package span {
    font-weight: 700;
    color: #0052CC;
}

.other-services-list {
    list-style: none;
    padding: 0;
}

.other-services-list li {
    margin-bottom: 1rem;
}

.other-services-list a {
    text-decoration: none;
    color: #4B5563;
    font-weight: 600;
}

.other-services-list a:hover {
    color: #0052CC;
}

/* About Us Page */
.about-us-section .about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-us-section .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-content h2 {
    text-align: left;
    font-size: 48px;
    margin-bottom: 2rem;
}

.about-content h4 {
    font-size: 24px;
    color: #0052CC;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
}

.story-section {
    background-color: #F8F9FA;
    text-align: center;
}

.story-section h2 {
    margin-bottom: 2rem;
}

.story-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
}

.achievements-section {
    background-color: #0052CC;
    color: #FFFFFF;
}

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

.achievement-item .counter {
    font-size: 56px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.achievement-item p {
    font-size: 18px;
    opacity: 0.9;
}

.team-section h2 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 4rem;
}

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

.team-member-card {
    text-align: center;
}

.team-member-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid #FFFFFF;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.team-member-card h4 {
    font-size: 22px;
    margin-bottom: 0.5rem;
}

.team-member-card h5 {
    font-size: 16px;
    color: #0052CC;
    margin-bottom: 1rem;
    font-weight: 600;
}

.team-member-card p {
    color: #6B7280;
}

/* Portfolio Page */
.portfolio-page-section {
    padding: 60px 0;
}

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

.project-card-full {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4.8 / 3;
}

.project-link-wrapper {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.project-card-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card-full:hover .project-card-overlay {
    opacity: 1;
}

.project-card-full:hover img {
    transform: scale(1.1);
}

.project-card-overlay h4 {
    font-size: 22px;
    color: #FFFFFF;
    margin: 0;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.project-card-full:hover .project-card-overlay h4 {
    transform: translateY(0);
}

.project-card-overlay span {
    font-size: 14px;
    opacity: 0.8;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.project-card-full:hover .project-card-overlay span {
    transform: translateY(0);
}

/* Blog Page */
.blog-page-section {
    padding: 60px 0;
}

.blog-search-bar {
    margin-bottom: 3rem;
    text-align: center;
}

#blog-search-input {
    width: 100%;
    max-width: 600px;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #D1D5DB;
    font-size: 16px;
}

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

.blog-post-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.blog-post-card a {
    text-decoration: none;
    color: inherit;
}

.blog-post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-category {
    display: inline-block;
    background: #F0F7FF;
    color: #0052CC;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.blog-title {
    font-size: 20px;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-card-content p {
    color: #6B7280;
    font-size: 15px;
    margin-bottom: 1.5rem;
}

.blog-author-info {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #4B5563;
    border-top: 1px solid #E5E7EB;
    padding-top: 1rem;
}

/* Blog Post Detail Page */
.post-detail-container {
    max-width: 800px;
    margin: 40px auto;
}

.post-header {
    text-align: center;
    margin-bottom: 2rem;
}

.post-header h1 {
    font-size: 48px;
    margin-bottom: 1rem;
}

.post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    color: #6B7280;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.post-main-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.post-content {
    font-size: 18px;
    line-height: 1.8;
}

.post-content h2 {
    font-size: 32px;
    margin: 2.5rem 0 1.5rem 0;
}

.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #E5E7EB;
    text-align: center;
}

.social-share a {
    margin: 0 10px;
    text-decoration: none;
    color: #0052CC;
    font-weight: 600;
}

/* Contact Page */
.contact-page-section {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.contact-form-container h3, .contact-info-container h3 {
    font-size: 28px;
    margin-bottom: 2rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 16px;
}

.contact-info-item {
    margin-bottom: 2rem;
}

.contact-info-item h4 {
    font-size: 18px;
    margin-bottom: 0.5rem;
    color: #0052CC;
}

.map-container {
    margin-top: 2rem;
}

.map-container img {
    width: 100%;
    border-radius: 8px;
}

#form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    display: none; /* Hidden by default */
}

#form-status.success {
    background: #D1FAE5; /* Green */
    color: #065F46;
    display: block;
}

#form-status.error {
    background: #FEE2E2; /* Red */
    color: #991B1B;
    display: block;
}

/* Application Modal */
.modal-content.large-modal {
    max-width: 800px;
}

.large-modal h3 {
    font-size: 28px;
    margin-bottom: 1rem;
}

.large-modal p {
    margin-bottom: 2rem;
    color: #6B7280;
}

.large-modal .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.large-modal .form-group.full-width {
    grid-column: 1 / -1;
}

.large-modal select {
    width: 100%;
    padding: 12px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 16px;
    background: #FFFFFF;
}

#app-form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    display: none; /* Hidden by default */
}

#app-form-status.success {
    background: #D1FAE5; /* Green */
    color: #065F46;
    display: block;
}

#app-form-status.error {
    background: #FEE2E2; /* Red */
    color: #991B1B;
    display: block;
}

/* Mobile Navigation */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #1F2937;
}

@media (max-width: 1080px) {
    .main-nav ul {
        gap: 1rem;
    }

    .main-nav a {
        font-size: 14px;
    }

    section {
        padding: 60px 0;
    }

    section h2 {
        font-size: 40px;
    }

    .services-grid, .why-us-grid, .portfolio-grid, .testimonials-grid, .team-grid, .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .container {
        width: 92%;
    }
}

@media (max-width: 992px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #FFFFFF;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }

    .main-nav li {
        border-bottom: 1px solid #E5E7EB;
    }

    .main-nav a {
        display: block;
        padding: 1rem;
        font-size: 15px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .logo {
        font-size: 22px;
    }

    section h2 {
        font-size: 36px;
    }

    .services-grid, .why-us-grid, .portfolio-grid, .testimonials-grid, .team-grid, .blog-grid, .achievements-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .portfolio-full-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .service-detail-container, .about-us-section .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }

    .project-detail-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 32px; }
    h2 { font-size: 28px; }
    section h2 { font-size: 26px; }
    section { padding: 0px 0; }

    .hero-content h1 { font-size: 32px; }

    .services-grid, .why-us-grid, .portfolio-grid, .testimonials-grid, .team-grid, .blog-grid, .achievements-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .portfolio-full-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .contact-grid, .service-detail-container, .about-us-section .about-grid, .large-modal .form-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .project-detail-body {
        grid-template-columns: 1fr;
    }

    .main-header .container {
        flex-wrap: wrap;
    }

    .logo {
        font-size: 18px;
    }

    .btn {
        padding: 9px 15px;
        font-size: 12px;
    }

    section h2 {
        margin-bottom: 2rem;
    }

    .service-card, .advantage-card, .testimonial-card, .blog-post-card {
        padding: 1.5rem;
    }

    .contact-form input, .contact-form textarea, .contact-form select {
        padding: 10px;
        font-size: 16px;
    }

    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .project-card-full {
        aspect-ratio: auto;
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 15px 0;
    }

    h1 { font-size: 28px; }
    h2 { font-size: 24px; }
    section h2 { font-size: 24px; }
    section { padding: 0px 0; }

    .hero-content h1 { font-size: 28px; }
    .hero-content .subtitle { font-size: 16px; }

    .btn {
        padding: 8px 14px;
        font-size: 12px;
        display: inline-block;
    }

    .header-actions .btn-cta {
        display: none;
    }

    .main-nav ul {
        gap: 0.5rem;
    }

    .main-nav a {
        font-size: 14px;
    }

    .service-card h3, .blog-title {
        font-size: 18px;
    }

    .service-card p, .blog-card-content p {
        font-size: 14px;
    }

    .filter-bar {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 8px 12px;
        font-size: 12px;
    }

    .portfolio-full-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .project-card-full {
        aspect-ratio: auto;
        min-height: 250px;
    }

    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }

    .post-header h1 {
        font-size: 28px;
    }

    .post-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-form input, .contact-form textarea, .contact-form select {
        font-size: 16px;
        padding: 10px;
    }

    .large-modal .form-grid {
        grid-template-columns: 1fr;
    }

    .large-modal .form-group.full-width {
        grid-column: 1;
    }

    .close-modal {
        font-size: 28px;
        right: 15px;
        top: 10px;
    }

    .footer-section h4::after {
        left: 0;
        transform: none;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 0.5rem;
    }

    .newsletter-form input {
        font-size: 16px;
    }
}

/* Project Modal */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; 
    background-color: rgba(0,0,0,0.8); 
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto; 
    padding: 40px;
    border: 1px solid #888;
    width: 90%;
    max-width: 900px;
    border-radius: 12px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 20px;
        margin: 20% auto;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 98%;
        padding: 15px;
        margin: 10% auto;
    }
}

.close-modal {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: black;
}

.project-detail-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.project-detail-header {
    margin-bottom: 2rem;
}

.project-detail-header h2 {
    text-align: left;
    font-size: 36px;
    margin-bottom: 0.5rem;
}

.project-detail-header span {
    font-size: 18px;
    color: #6B7280;
    font-weight: 600;
}

.project-detail-body {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.project-meta h3, .project-description h3 {
    font-size: 22px;
    margin-bottom: 1rem;
}

.project-meta ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.project-meta li {
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(45deg, #0052CC, #7C3AED);
    color: #FFFFFF;
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    color: #FFFFFF;
}

.cta-section h2::after {
    background: #FFFFFF;
}

.cta-section .btn-cta {
    background: #FFFFFF;
    color: #0052CC;
    box-shadow: none;
}

.cta-section h2 {
    font-size: 36px;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

/* Newsletter Section */
.newsletter-section {
    background-color: #0052CC; /* Dark Blue */
    color: #FFFFFF;
    text-align: center;
}

.newsletter-section h2 {
    color: #FFFFFF;
}

.newsletter-section p {
    max-width: 600px;
    margin: 0 auto 2rem auto;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #BFDBFE;
    font-size: 16px;
}

.newsletter-form .btn {
    flex-shrink: 0;
}

/* Footer */
.main-footer {
    background-color: #1F2937; /* Dark Gray */
    color: #E5E7EB; /* Light Gray */
    padding: 4rem 0;
    margin-top: 4rem;
}

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

.footer-section h4 {
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #7C3AED;
}

.footer-section .text-center h4::after {
    left: 50%;
    transform: translateX(-50%);
}

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

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

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

.footer-section a:hover {
    color: #FFFFFF;
}

.social-icons a {
    margin-right: 1rem;
    font-size: 1.5rem;
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid #4B5563;
    font-size: 0.9rem;
    color: #9CA3AF;
}
