/* General Body Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ensure all elements use border-box */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Hero Section */
.hero-section {
    position: relative;
    text-align: center;
    padding: 80px 15px; /* Reduced padding for mobile */
    color: #ffffff;
    border-bottom: 2px solid #ddd;
    background-color: #ffffff;
    background-size: cover;
    background-position: center;
    min-height: 60vh; /* Ensure minimum height on mobile */
}

/* Title Styling - Mobile First */
.hero-section h1 {
    font-size: 2.5rem; /* Smaller on mobile */
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgb(255, 255, 255);
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
}

/* Subtitle Styling - Mobile First */
.hero-section h2 {
    font-size: 1.3rem; /* Smaller on mobile */
    margin-bottom: 25px;
    color: rgb(255, 255, 255);
    text-shadow: 1px 1px 3px rgb(255, 253, 253);
    font-family: 'Lato', sans-serif;
    line-height: 1.4;
}

/* Button Styling - Mobile First */
.hero-section .button {
    background-color: #ff9900;
    color: #fff;
    padding: 12px 25px; /* Slightly smaller padding on mobile */
    font-size: 1.2rem; /* Smaller font size */
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 20px;
    display: inline-block;
    text-decoration: none;
    min-width: 160px; /* Minimum button width */
}

.hero-section .button:hover {
    background-color: #e68000;
    transform: translateY(-2px);
}

/* Optional Image or Video Content Styling */
.hero-section #hero-media {
    max-width: 100%;
    height: auto; /* Maintain aspect ratio */
    margin-top: 20px;
    display: inline-block;
}

/* Mission Section */
.section {
    padding: 60px 15px; /* Reduced padding for mobile */
    background-color: #f5f7fa;
    text-align: center;
}

/* Section Title Styling - Mobile First */
.section-title {
    font-size: 1.8rem; /* Smaller on mobile */
    margin-bottom: 25px;
    font-weight: 700;
    color: #222;
    font-family: 'Poppins', sans-serif;
    position: relative;
    display: inline-block;
    line-height: 1.3;
}

.section-title::after {
    content: "";
    width: 50px; /* Smaller underline on mobile */
    height: 3px;
    background-color: #ff9900;
    display: block;
    margin: 8px auto 0;
    border-radius: 2px;
}

#mission-text {
    font-size: 1.1rem; /* Slightly smaller on mobile */
    color: #555;
    max-width: 100%; /* Full width on mobile */
    margin: 0 auto;
    line-height: 1.8;
    font-family: 'Lato', sans-serif;
    padding: 0 10px;
}

/* Projects Section */
#projects.section {
    padding: 60px 15px; /* Reduced padding for mobile */
    background-color: #ffffff;
    text-align: center;
}

/* Project List Styling - Mobile First */
#projects-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column; /* Stack on mobile */
    align-items: center;
    gap: 25px;
}

#projects-list img {
    width: 100%;
    height: 180px; /* Slightly smaller on mobile */
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

/* Project Card Styling - Mobile First */
.project-card {
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 12px;
    background: #f9f9f9;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    width: 100%; /* Full width on mobile */
    max-width: 350px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Project Image Styling */
.project-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Project Title Styling - Mobile First */
.project-title {
    font-size: 1.4rem; /* Slightly smaller on mobile */
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
}

/* Project Description Styling */
.project-description {
    font-size: 0.95rem; /* Slightly smaller on mobile */
    color: #555;
    line-height: 1.6;
    font-family: 'Lato', sans-serif;
}

/* Testimonials Section */
#testimonials.section {
    padding: 50px 15px; /* Reduced padding for mobile */
    background-color: #f5f5f5;
    text-align: center;
}

/* Container + Arrows - Mobile Adjustments */
.testimonials-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.arrow {
    background-color: #ff9900;
    border: none;
    color: white;
    font-size: 1.5rem; /* Smaller arrows on mobile */
    padding: 10px 14px; /* Smaller padding */
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.2s ease;
    z-index: 10;
    outline: none;
    margin: 0 10px; /* Add horizontal margin */
}

.arrow:focus {
    outline: none;
    box-shadow: none;
}

.arrow:hover {
    background-color: #e68000;
    transform: scale(1.1);
}

/* Wrapper & Scroll Track */
#testimonials-wrapper {
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 15px; /* Smaller gap on mobile */
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 15px;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

/* Testimonial Card - Mobile First */
.testimonial-card {
    flex: 0 0 90%; /* Single card takes most of screen on mobile */
    max-width: 100%;
    scroll-snap-align: center;
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    margin: 0 5px;
}

.testimonial-card:hover {
    transform: scale(1.03);
}

.testimonial-photo {
    width: 70px; /* Slightly smaller on mobile */
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #ff9900;
    margin-bottom: 15px;
}

.testimonial-name {
    font-size: 1.1rem; /* Slightly smaller on mobile */
    font-weight: 600;
    color: #333;
}

.testimonial-designation {
    font-style: italic;
    color: #777;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.testimonial-message {
    font-size: 0.95rem; /* Slightly smaller on mobile */
    color: #555;
    line-height: 1.6;
}

/* Dot Indicators */
.dot-indicators {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    gap: 8px; /* Smaller gap on mobile */
}

.dot {
    width: 8px; /* Smaller dots on mobile */
    height: 8px;
    background: #ccc;
    border-radius: 50%;
    transition: background 0.3s ease;
    cursor: pointer;
}

.dot.active {
    background-color: #ff9900;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Small Mobile Devices (up to 480px) */
@media (max-width: 480px) {
    .hero-section {
        padding: 60px 10px;
        min-height: 50vh;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .hero-section h2 {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .hero-section .button {
        font-size: 1rem;
        padding: 10px 20px;
        min-width: 140px;
    }
    
    .section {
        padding: 40px 10px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    #mission-text {
        font-size: 1rem;
        padding: 0 5px;
    }
    
    .project-card {
        padding: 15px;
    }
    
    .project-title {
        font-size: 1.3rem;
    }
    
    .testimonial-card {
        padding: 15px;
        flex: 0 0 95%;
    }
    
    .testimonial-photo {
        width: 60px;
        height: 60px;
    }
    
    .arrow {
        font-size: 1.3rem;
        padding: 8px 12px;
        margin: 0 5px;
    }
}

/* Tablets (481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .hero-section {
        padding: 100px 20px;
        min-height: 60vh;
    }
    
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .hero-section h2 {
        font-size: 1.5rem;
    }
    
    .hero-section .button {
        font-size: 1.3rem;
        padding: 12px 30px;
    }
    
    .section {
        padding: 70px 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    #mission-text {
        font-size: 1.15rem;
        max-width: 90%;
        padding: 0 15px;
    }
    
    #projects-list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
    
    .project-card {
        width: calc(50% - 15px);
        max-width: 350px;
    }
    
    .testimonial-card {
        flex: 0 0 calc(50% - 10px);
    }
    
    .testimonial-photo {
        width: 75px;
        height: 75px;
    }
}

/* Small Tablets/Large Mobile (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-section {
        padding: 120px 30px;
        min-height: 70vh;
    }
    
    .hero-section h1 {
        font-size: 3.5rem;
    }
    
    .hero-section h2 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 80px 30px;
    }
    
    .section-title {
        font-size: 2.3rem;
    }
    
    #mission-text {
        font-size: 1.2rem;
        max-width: 85%;
    }
    
    .project-card {
        width: calc(50% - 15px);
    }
    
    .testimonial-card {
        flex: 0 0 calc(33.333% - 13px);
    }
}

/* Desktop and Large Screens (1025px and up) */
@media (min-width: 1025px) {
    .hero-section {
        padding: 150px 40px;
        min-height: 80vh;
    }
    
    .hero-section h1 {
        font-size: 4rem;
    }
    
    .hero-section h2 {
        font-size: 2rem;
    }
    
    .hero-section .button {
        font-size: 1.5rem;
        padding: 12px 35px;
    }
    
    .section {
        padding: 80px 40px;
    }
    
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }
    
    .section-title::after {
        width: 70px;
        height: 4px;
        margin: 10px auto 0;
    }
    
    #mission-text {
        font-size: 1.2rem;
        max-width: 900px;
    }
    
    #projects-list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
    
    .project-card {
        width: auto;
        max-width: 350px;
    }
    
    #projects-list img {
        height: 200px;
    }
    
    .project-title {
        font-size: 1.6rem;
    }
    
    .project-description {
        font-size: 1rem;
    }
    
    .testimonial-card {
        flex: 0 0 calc(33.333% - 20px);
        padding: 25px;
    }
    
    .testimonial-photo {
        width: 80px;
        height: 80px;
    }
    
    .testimonial-name {
        font-size: 1.2rem;
    }
    
    .testimonial-message {
        font-size: 1rem;
    }
    
    .arrow {
        font-size: 1.8rem;
        padding: 12px 18px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .dot-indicators {
        gap: 10px;
    }
}

/* Large Desktop Screens (1400px and up) */
@media (min-width: 1400px) {
    .hero-section {
        padding: 150px 60px;
    }
    
    .section {
        padding: 80px 60px;
    }
    
    .hero-section h1 {
        font-size: 4.5rem;
    }
    
    .hero-section h2 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .section-title::after {
        width: 80px;
    }
    
    #mission-text {
        font-size: 1.3rem;
        max-width: 1000px;
    }
}
