/* Layout Update CSS */
 
 
 
/* Navbar Styling */
.header-container {
    width: 100%;
    padding: 15px 20px 15px 40px; /* increased left padding to push logo more left */
    border-radius: 0;
}
 
.nav-menu .nav-link {
    color: white;
    font-weight: 500;
}
 
.logo img {
    height: 140px; /* increased from 120px */
    width: auto;
    color: white;
    max-width: 100%;
}
 
/* Banner Section */
.banner-section {
    background: var(--gradient-primary);
    color: white;
    width: 70%;
    border-radius: 0px 50px 0px 50px;
    padding: 40px 0px;
    margin: auto;
}
 
.banner-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
 
.banner-content {
    flex: 1;
    min-width: 300px;
    padding-right: 30px;
}
 
.banner-action {
    margin-top: 20px;
}
 
.banner-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
 
.banner-content p {
    font-size: 1.1rem;
    margin-bottom: 0;
}
 
/* Gradient for Landing Page */
.gradient-bg {
    background: linear-gradient(90deg, var(--teal), var(--blue), var(--purple));
    min-height: 100vh; /* always full height */
    width: 100%;
    display: flex;
    flex-direction: column;
}
 
/* Alternating Sections */
.services-container-home {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}
 
.section-alt {
    display: flex;
    align-items: center;
    margin: 60px 0;
    gap: 40px;
}
 
.section-alt-reverse {
    flex-direction: row-reverse;
}
 
.section-alt-image {
    flex: 1;
    min-width: 300px;
}
 
.section-alt-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
 
.section-alt-content {
    flex: 1;
    min-width: 300px;
}
 
.section-alt-content h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}
 
.section-alt-content p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.6;
}
 
/* Square Card Layout */
.card-square {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}
 
.card-square:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
 
.card-content {
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
}
 
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}
 
.card-title {
    font-size: 1.4rem;
    margin: 0;
    color: var(--color-primary);
}
 
.card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: white;
}
 
.card-icon i {
    font-size: 1.5rem;
}
 
.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
 
.card-body {
    flex: 1;
}
 
.card-body p {
    margin: 0;
    line-height: 1.6;
}
 
/* Horizontal Scrolling */
.scroll-container {
    position: relative;
    padding: 20px 0;
    margin: 30px 0;
}
 
.scroll-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    gap: 20px;
    padding: 10px 0;
}
 
.scroll-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}
 
.scroll-item {
    flex: 0 0 300px;
    min-width: 300px;
    height: 350px;
}
 
.scroll-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 15px;
}
 
.scroll-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
 
.scroll-btn:hover {
    background: var(--gradient-primary);
    color: white;
}
 
/* Accordion */
.accordion {
    margin: 20px 0;
}
 
.accordion-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
 
.accordion-header {
    background: white;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
    min-height: 60px;
}
 
.accordion-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--color-primary);
}
 
.accordion-icon {
    transition: transform 0.3s ease;
}
 
.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}
 
.accordion-content {
    background: #f9f9f9;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}
 
.accordion-item.active .accordion-content {
    padding: 15px 20px;
    max-height: 500px;
}
 
/* Process Grid Update */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
 
.process-item {
    height: 100%;
    max-width: 100%;
}
 
/* Responsive Adjustments */
@media (max-width: 768px) {
    /* Header and Logo Mobile */
    .header-container {
        padding: 15px 20px; /* reset to normal padding on mobile */
        flex-wrap: wrap;
    }
    
    .logo img {
        height: 100px; /* slightly bigger than before but smaller than desktop */
    }
    
    .nav-menu {
        margin-top: 0;
        margin-left: 0;
        margin-right: 0;
    }
    
    /* Sections Mobile */
    .section-alt {
        flex-direction: column;
        margin-left: 0;
        margin-right: 0;
        gap: 20px;
    }
    
    .section-alt-reverse {
        flex-direction: column;
        margin-left: 0;
        margin-right: 0;
    }
    
    .section-alt-image {
        margin-left: 0;
        max-width: 100%;
    }
    
    .section-alt-reverse-image {
        margin-right: 0;
        max-width: 100%;
    }
    
    /* Banner Mobile */
    .banner-section {
        width: 95%;
        border-radius: 20px;
        padding: 30px 20px;
    }
    
    .banner-container {
        flex-direction: column;
        text-align: center;
    }
    
    .banner-content {
        padding-right: 0;
        margin-bottom: 20px;
    }
    
    .banner-content h2 {
        font-size: 2rem;
    }
    
    /* Scroll Items Mobile */
    .scroll-item {
        flex: 0 0 250px;
        min-width: 250px;
    }
    
    /* Process Grid Mobile */
    .process-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .process-item {
        max-width: 100%;
    }
}
 
@media (max-width: 576px) {
    .logo img {
        height: 80px; /* increased from 60px for better visibility */
    }
    
    .banner-section {
        width: 98%;
        border-radius: 15px;
        padding: 25px 15px;
    }
    
    .banner-content h2 {
        font-size: 1.8rem;
    }
    
    .banner-content p {
        font-size: 1rem;
    }
    
    /* Accordion mobile optimization */
    .accordion-header {
        padding: 18px 20px;
        min-height: 55px;
    }
    
    .accordion-header h3 {
        font-size: 1.1rem;
    }
    
    .accordion-content {
        padding: 15px 20px;
    }
    
    .accordion-icon {
        font-size: 1.2rem;
    }
    
    /* Process Grid Small Mobile */
    .process-grid {
        gap: 1rem;
    }
}