/* ========================================================================
   GLOBAL STYLES & RESET
   ======================================================================== */

/* Universal reset and base font family */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
    font-family: 'Source Sans Pro', sans-serif;
}

/* Base body styles with overflow prevention for horizontal scroll */
body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* ========================================================================
   HEADER & NAVIGATION STYLES
   ======================================================================== */

/* Fixed header with blur effect when scrolled */
.header {
    background: #1F2937;
    color: white;
    padding: 16px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Scrolled state with backdrop blur effect */
.header.scrolled {
    background: rgba(31, 41, 55, 0.95);
    backdrop-filter: blur(10px);
}

/* Navigation container with flexbox layout */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 32px;
}

/* Main navigation menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

/* Navigation links with hover effects */
.nav-menu a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #98F9FF;
}

.nav-menu a.active {
    color: #98F9FF;
}

/* Right side navigation actions (search, cart) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Search functionality in header */
.search-container {
    position: relative;
    display: inline-block;
}

.search-box {
    padding: 8px 16px;
    padding-left: 40px;
    border: none;
    border-radius: 25px;
    background:white;
    color: white;
}

.search-box::placeholder {
    color: #333;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    pointer-events: none;
    z-index: 1;
}

/* Shopping cart icon in header */
.cart-icon {
    color: white;}


/* Mobile hamburger menu toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Transform hamburger to X when active */
.mobile-menu-toggle.active {
    transform: rotate(90deg);
}

.mobile-menu-toggle::before {
    content: "☰";
}

.mobile-menu-toggle.active::before {
    content: "✕";
}

/* ========================================================================
   HERO SECTION STYLES
   ======================================================================== */

/* Full viewport hero section with background image */
.hero {
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

/* Hero content container with glass morphism effect */
.hero-content {
    max-width: 600px;
    width: 90%; /* Responsive width */
    z-index: 2;
    position: absolute;
    left: 50%;
    top: 70%; /* Changed from 60% to 65% to move content further down */
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0;
    padding: 32px;
}

/* Glass morphism background effect */
.glass-svg {
    position: absolute;
    left: 50%;
    top: 70%;
    transform: translate(-50%, -50%);
    width: min(800px, 90vw);
    height: auto;
    z-index: 1;
    pointer-events: none;
    opacity: 0.95;
    border-radius: 8px;
}

/* Enhanced responsive styles for glass.svg */
@media (max-width: 1024px) {
    .glass-svg {
        width: min(700px, 85vw);
    }
}

@media (max-width: 768px) {
    .glass-svg {
        display: none; /* Hide glass.svg on mobile */
    }
    
    .hero-content {
        top: 60%; /* Changed from 50% to 60% to move content further down */
        max-width: 500px;
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .glass-svg {
        display: none; /* Keep glass hidden on small mobile */
    }
    
    .hero-content {
        top: 60%; /* Changed from 50% to 60% to move content further down */
        max-width: 320px;
        padding: 16px;
    }
}

@media (max-width: 320px) {
    .glass-svg {
        display: none; /* Keep glass hidden on very small screens */
    }
    
    .hero-content {
        top: 60%; /* Changed from 50% to 60% to move content further down */
        max-width: 260px;
        padding: 12.8px;
    }
}

/* Hero background image - covers entire viewport */
.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;        /* Behind everything */
    pointer-events: none;
}

/* Hero text styling */
.hero h1 {
    font-size: 50px;
    margin-bottom: 16px;
    line-height: 1.1; /* Reduced line spacing */
}

.hero p {
    font-size: 24px;
    margin-bottom: 24px;
    color: #333;
    line-height: 1.4; /* Reduced line spacing */
}

/* Call-to-action button */
.cta-button {
    background: #1C5A98;
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 6px;
    font-size: 17.6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: #111827;
}

/* Slide-in animation for hero content */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================================================
   MAIN CONTENT & LAYOUT STYLES
   ======================================================================== */

/* Main content container with top margin to account for fixed header */
.main-content {
    padding-top: 80px;
    padding-bottom: 80px;  /* Add bottom padding to create space before footer */
    min-height: calc(100vh - 300px);  /* Ensure minimum height */
}

/* About Page Main Content Styling */
.main-content .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

/* About page sections */
.main-content .section {
    margin-bottom: 80px;  /* Add margin between sections */
}

.main-content .section:last-child {
    margin-bottom: 0;  /* Remove margin from last section since main-content has padding */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-content {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .main-content .section {
        margin-bottom: 60px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    .main-content .section {
        margin-bottom: 40px;
    }
}

/* Container for centering content with max-width */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Standard section padding - 68px desktop, 48px mobile */
.section {
    padding: 68px 0;
}

/* About page sections - same padding as standard sections */
.about-section {
    padding: 68px 0;
}

/* ========================================================================
   FEATURED PROJECTS SECTION
   ======================================================================== */

/* Responsive grid for featured projects */
.projects-grid {
    display: grid;
    /* Creates responsive grid columns that automatically adjust based on available space.
       - repeat(): Creates multiple columns with the same pattern
       - auto-fit: Automatically fits as many columns as possible in the container width
       - minmax(300px, 1fr): Each column has minimum width of 300px and maximum of 1fr (equal fraction)
       - Result: Columns automatically wrap to new rows when screen gets too narrow for 300px minimum */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

/* Services */
/* ========================================================================
   SERVICES SECTION
   ======================================================================== */

/* Responsive grid for services with smaller minimum width */
.services-grid {
    display: grid;
    /* Creates responsive grid columns that automatically adjust based on available space.
       - repeat(): Creates multiple columns with the same pattern
       - auto-fit: Automatically fits as many columns as possible in the container width
       - minmax(250px, 1fr): Each column has minimum width of 250px and maximum of 1fr (equal fraction)
       - Result: Columns automatically wrap to new rows when screen gets too narrow for 250px minimum */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

/* ========================================================================
   MOBILE RESPONSIVE STYLES
   ======================================================================== */

/* Tablet and mobile breakpoint adjustments */
@media (max-width: 768px) {
    /* Reduce section padding on mobile */
    .section {
        padding: 48px 0;
    }
    
    .about-section {
        padding: 48px 0;
    }
    
    /* Reduce container padding on mobile */
    .container {
        padding: 0 24px;
    }
    
    .nav-container {
        padding: 0 24px;
    }
    
    /* Mobile navigation menu - hidden by default, shown when active */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(31, 41, 55, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    /* Show mobile menu toggle button */
    .mobile-menu-toggle {
        display: block;
    }

    /* Hide desktop search on mobile */
    .search-container {
        display: none;
    }
    
    /* Hide shopping cart on mobile */
    .nav-actions .social-icon {
        display: none;
    }

    /* Mobile search and cart links in menu */
    .mobile-search,
    .mobile-cart {
        display: flex;
        align-items: center;
        gap: 12px;
        color: white;
        text-decoration: none;
        padding: 8px 0;
        border-top: 1px solid #C4C4C4;
        margin-top: 8px;
        transition: color 0.3s ease;
    }

    .mobile-search:hover,
    .mobile-cart:hover {
        color: #98F9FF;
    }

    .mobile-search-icon,
    .mobile-cart-icon {
        width: 20px;
        height: 20px;
        filter: brightness(0) invert(1);
    }
}

/* Desktop-only navigation elements */
@media (min-width: 769px) {
    .mobile-search,
    .mobile-cart {
        display: none;
    }
}

/* Mobile-only navigation elements */
@media (max-width: 768px) {
    .mobile-search,
    .mobile-cart {
        display: flex;
    }
    
    /* Hide desktop search and cart on mobile */
    .search-container,
    .nav-actions .social-icon {
        display: none;
    }
}

/* ========================================================================
   SECTION HEADERS & CONTENT STYLES
   ======================================================================== */

/* Section header styling for consistent typography */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

/* Section subtitle with brand color */
.section-subtitle {
    color: #1C5A98;
    font-size: 18px;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-align: left;
    font-weight: bold;
}

/* Main section title */
.section-title {
    font-size: 30px;
    margin-bottom: 16px;
    color: #1F2937;
    line-height: 1.2; /* Reduced line spacing */
    text-align: left;

}

/* Section description text */
.section-description {
    font-size: 18px;
    color: #333;
    margin: 0 auto;
    text-align: left;

}

/* ========================================================================
   PROJECT CARD STYLES
   ======================================================================== */

/* Individual project card styling with hover effects */
.project-card {
    background: white;
    border-radius: 6px;
    padding: 32px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Top accent line for project cards */
.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

/* Card hover effects */
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Project image container */
.project-icon {
    width: 100%;
    height: 260px;
    border-radius: 6px;
    display: block;
    overflow: hidden;
    margin: 0 0 16px 0;
}

/* Project image styling */
.project-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    margin: 0;
    padding: 0;
    display: block;
}

/* Project card title */
.project-card h3 {
    font-size: 16px;
    margin-bottom: 4px;
    color: #1F2937;
}

/* Project card description */
.project-card p {
    color: #333;
    font-size: 14px;
    line-height: 1.4;
}

/* ========================================================================
   SERVICE CARD STYLES
   ======================================================================== */

/* Individual service card styling */
.service-card {
    background: #FFFFFF;
    padding: 32px;
    border-radius: 6px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

/* Service card hover effects */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Service icon container */
.service-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

/* Service icon image styling */
.service-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Service card title */
.service-card h3 {
    color: #333;
    padding: 20px 25px;
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

/* Service card description */
.service-card p {
    color: #333;
    font-size: 14px;
}

/* ========================================================================
   FOOTER STYLES
   ======================================================================== */

/* Main footer container */
.footer {
    background: #1F2937;
    color: white;
    padding: 48px 0 16px;
}

/* Footer content grid layout */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

/* Footer section headers */
.footer-section h3 {
    font-size: 20.8px;
    margin-bottom: 16px;
    color: white;
    font-weight: bold; 
}

/* Footer section text and list items */
.footer-section p, .footer-section li {
    color: white;
    margin-bottom: 8px;
    font-weight: normal; 
}

/* Footer links */
.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: normal; 
}

/* Footer bottom section with copyright */
.footer-bottom {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid #c4c4c4;
}

.footer-bottom p {
    color: #ecf0f1;
    font-size: 14px;
    margin: 0;
}

/* Footer section layouts and alignments */
.footer-contact {
    text-align: left;
}

.footer-social {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-self: center;
    margin-bottom: 0;
}

.footer-social h3 {
    text-align: center;
    margin-bottom: 16px;
}

.footer-social .social-icons {
    justify-content: center;
    margin-top: auto;
}

.footer-services {
    text-align: right;
}

.footer-services h3 {
    text-align: right;
}

.footer-services ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

.footer-services ul li {
    margin-bottom: 8px;
}

.footer-services ul li a {
    color: #ecf0f1;
    text-decoration: none;
    transition: none;
}

.footer-services ul li a:hover {
    color: #ecf0f1;
}

/* ========================================================================
   SOCIAL MEDIA ICONS
   ======================================================================== */

/* Social icons container */
.social-icons {
    display: flex;
    gap: 16px;
}

/* Individual social icon styling */
.social-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

/* Social icon images with white filter */
.social-icon img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

/* Social icon hover effects */
.social-icon:hover {
    transform: scale(1.1);
}

.social-icon:hover img {
    filter: brightness(0) invert(0.7);
}

/* ========================================================================
   MOBILE FOOTER RESPONSIVE STYLES
   ======================================================================== */

/* Mobile footer adjustments */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
    
    .footer-contact,
    .footer-social,
    .footer-services {
        text-align: center;
    }
    
    .footer-contact h3,
    .footer-social h3,
    .footer-services h3 {
        text-align: center;
    }
    
    .footer-services ul {
        text-align: center;
    }
    
    .footer-social {
        align-self: auto;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Extra small mobile adjustments */
@media (max-width: 480px) {
    .footer {
        padding: 32px 0 16px;
    }
    
    .footer-content {
        gap: 20px;
    }
    
    .footer-section h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .footer-section p {
        font-size: 14px;
    }
    
    .social-icons {
        gap: 12px;
    }
    
    .social-icon img {
        width: 18px;
        height: 18px;
    }
}

/* ========================================================================
   HEADER SHOPPING CART ICON SIZING
   ======================================================================== */

/* Shopping cart icon in header - specific sizing */
.nav-actions .social-icon img {
    width: 32px;
    height: 32px;
}

/* Mobile responsive adjustments for icons */
@media (max-width: 480px) {
    .social-icon img {
        width: 18px;
        height: 18px;
    }
    
    /* Keep shopping cart at 32px even on mobile */
    .nav-actions .social-icon img {
        width: 32px;
        height: 32px;
    }
}

/* ========================================================================
   ABOUT PAGE STYLES
   ======================================================================== */

/* About page section content layout */
.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Reverse layout for alternating sections */
.section-content.reverse {
    grid-template-columns: 1fr 1fr;
}

.section-content.reverse .text-content {
    order: 2;
}

.section-content.reverse .illustration {
    order: 1;
}

/* About page text content styling */
.section h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.section p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.section a {
    color: #3498db;
    text-decoration: none;
}

.section a:hover {
    text-decoration: underline;
}

/* Illustration container and styling */
.illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.illustration img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Illustration placeholders for development */
.illustration-placeholder {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-align: center;
}

/* ========================================================================
   ABOUT PAGE MOBILE RESPONSIVE STYLES
   ======================================================================== */

/* Mobile responsive styles for about page content */
@media (max-width: 768px) {
    .section-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .section-content.reverse {
        grid-template-columns: 1fr;
    }

    .section-content.reverse .text-content,
    .section-content.reverse .illustration {
        order: unset;
    }

    .section h2 {
        font-size: 2rem;
    }

    .container {
        padding: 2rem 1rem;
    }

    .illustration-placeholder {
        height: 250px;
    }
}

/* ========================================================================
   PORTFOLIO/TABLE PAGE STYLES
   ======================================================================== */

/* Portfolio section container */
.portfolio-section {
    padding-top: 68px;
    padding-right: 0;
    padding-bottom: 68px;
    padding-left: 0;
    }

/* Portfolio page header */
.portfolio-header {
    margin-bottom: 48px;
}

.portfolio-header h2 {
    font-size: 30px;
    color: #1F2937;
    margin-bottom: 16px;
    line-height: 1.2;
}

.portfolio-header p {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
}

/* ========================================================================
   PORTFOLIO FILTER BUTTONS
   ======================================================================== */

/* Filter buttons for portfolio categorization */
.filter-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    justify-content: end;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid #e9ecef;
    background: white;
    color: #333;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.filter-btn:hover,
.filter-btn.active {
    background: #98F9FF;
    color: #333;
    border-color: #98F9FF;
}

/* ========================================================================
   PORTFOLIO TABLE STYLES
   ======================================================================== */

/* Table base styling consistent with design system */
table {
    font-family: 'Source Sans Pro', sans-serif;
    border-collapse: collapse;
    width: 100%;
    background: white;
    border-radius: 6px;
    overflow: hidden;
}

/* Table header styling */
th {
    background: #F0F0F0;
    color: #333;
    text-align: left;
    padding: 16px;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 2px solid #e9ecef;
    border-right: none;
    border-left: none;
    border-top: none;
    position: relative;
}

/* Sort icon styling in table headers */
.sort-icon {
    display: inline-block;
    margin-right: 6px;
    width: 16px;
    height: 16px;
    color: #333;
    vertical-align: middle;
}

/* Table data cell styling */
td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #F0F0F0;
    border-right: none;
    border-left: none;
    border-top: none;
    font-size: 14px;
    color: #333;
}

/* Table row styling - all white, no alternating colors */
tr {
    background-color: white;
}

tr:hover {
    background-color: #F0F0F0;
}

/* First column (Project Name) - emphasized styling */
td:first-child {
    font-weight: 600;
    color: #1F2937;
}

/* Remove border from last row */
tr:last-child td {
    border-bottom: none;
}

/* ========================================================================
   PORTFOLIO MOBILE RESPONSIVE STYLES
   ======================================================================== */

/* Mobile responsive adjustments for portfolio */
@media (max-width: 768px) {
    .portfolio-section {
        padding: 48px 0;
    }
    
    .portfolio-header h2 {
        font-size: 24px;
    }
    
    .portfolio-header p {
        font-size: 16px;
    }
    
    .filter-buttons {
        gap: 12px;
    }
    
    /* Table responsive adjustments */
    table {
        font-size: 14px;
    }
    
    th, td {
        padding: 12px 8px;
    }
    
    /* Stack table on very small screens */
    @media (max-width: 480px) {
        table, thead, tbody, th, td, tr {
            display: block;
        }
        
        thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }
        
        tr {
            border: 1px solid #e9ecef;
            margin-bottom: 10px;
            border-radius: 6px;
            padding: 8px;
        }
        
        td {
            border: none;
            border-bottom: 1px solid #e9ecef;
            position: relative;
            padding-left: 50%;
            padding-top: 8px;
            padding-bottom: 8px;
        }
        
        td:before {
            content: attr(data-label) ": ";
            position: absolute;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
            font-weight: 600;
            color: #1F2937;
        }
    }
}

/* ========================================================================
   GALLERY STYLES
   ======================================================================== */

/* Main gallery grid layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 20px;
    margin-top: 32px;
    padding-bottom: 68px;
}

/* Individual gallery item styling */
.gallery-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ========================================================================
   GALLERY MOBILE RESPONSIVE STYLES
   ======================================================================== */

/* Mobile responsive gallery layouts */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 250px);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(8, 200px);
        gap: 16px;
    }
}

/* Filter functionality for gallery */
.gallery-item.hidden {
    display: none;
}

/* ========================================================================
   GALLERY MODAL STYLES
   ======================================================================== */

/* Modal overlay for gallery image viewing */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #1F2937;
    animation: fadeIn 0.3s ease-in-out;
}

/* Modal content container */
.modal-content {
    position: relative;
    margin: 5% auto;
    max-width: 50%;
    animation: zoomIn 0.3s ease-in-out;
}

.modal-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;}

/* Modal close button */
.close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
}

/* Modal animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ========================================================================
   GALLERY MODAL MOBILE RESPONSIVE
   ======================================================================== */

/* Modal responsive design */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        max-width: 95%;
        max-height: 80%;
    }
    
    .close {
        font-size: 28px;
        top: -35px;
    }
}

/* ========================================================================
   VIDEO GALLERY STYLES
   ======================================================================== */

/* Video gallery grid layout */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 24px;
    margin-top: 24px;
    padding-bottom: 24px;
}

/* Individual video item container */
.video-item {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
}

/* Embedded video iframe styling */
.video-item iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 6px;
}

/* ========================================================================
   VIDEO GALLERY MOBILE RESPONSIVE
   ======================================================================== */

/* Video gallery mobile responsive layouts */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .video-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 1fr);
        gap: 16px;
    }
}

/* ========================================================================
   ACCORDION STYLES
   ======================================================================== */

/* Footer accordion container */
.footer-accordion {
    margin-top: 64px;
    padding-bottom: 68px;
}

/* Main accordion container */
.accordion {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Individual accordion items */
.accordion-item {
    border-bottom: 1px solid #e9ecef;
}

.accordion-item:last-child {
    border-bottom: none;
}

/* Accordion header button styling */
.accordion-header {
    width: 100%;
    padding: 16px 20px;
    background: #f8f9fa;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background: #e9ecef;
}

.accordion-header.active {
    background: #e9ecef;
    color: #333;
}

/* Accordion icon styling with rotation animation */
.accordion-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

.accordion-icon img {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

/* Rotate arrow 90 degrees when active */
.accordion-header.active .accordion-icon img {
    transform: rotate(90deg);
}

/* Accordion content with smooth height transition */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.active {
    max-height: 300px;
}

/* Accordion content body */
.accordion-body {
    padding: 16px 20px;
    background: white;
    color: #333;
    line-height: 1.6;
}

/* Accordion section in main content areas */
.accordion-section {
    margin-top: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.accordion-section h3 {
    font-size: 24px;
    color: #1F2937;
    margin-bottom: 24px;
    text-align: center;
}

/* ========================================================================
   CAROUSEL STYLES
   ======================================================================== */

/* Main carousel container */
.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Carousel wrapper for slides */
.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

/* Individual carousel slides */
.carousel-slide {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
    animation: fadeIn 0.5s ease-in-out;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ========================================================================
   CAROUSEL NAVIGATION & CONTROLS
   ======================================================================== */

/* Carousel navigation buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-btn img {
    width: 20px;
    height: 20px;
    color: #333;
}

/* Carousel indicators/dots */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* ========================================================================
   CAROUSEL MOBILE RESPONSIVE
   ======================================================================== */

/* Carousel mobile responsive design */
@media (max-width: 768px) {
    .carousel-wrapper {
        height: 300px;
    }
    
    .carousel-caption {
        padding: 20px 20px 20px;
    }
    
    .carousel-caption h3 {
        font-size: 20px;
    }
    
    .carousel-caption p {
        font-size: 14px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn.prev {
        left: 10px;
    }
    
    .carousel-btn.next {
        right: 10px;
    }
}

/* ========================================================================
   SERVICES DETAILS SECTION
   ======================================================================== */

/* Services details main container */
.services-details-section {
    padding-top: 48px;
    padding-right: 0;
    padding-bottom: 68px;
    padding-left: 0;
 
}

/* Services section header */
.services-header {
    text-align: center;
    margin-bottom: 24px;
    
}

.services-header h2 {
    font-size: 24px;
    color: #1F2937;
    margin-bottom: 12px;

}

/* Services cards container grid layout */
.services-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    
}

/* Enhanced service card styling with scrollable content */
.service-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card h3 {
    color: #333;
    padding: 20px 25px;
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    
}

/* Scrollable service content area */
.service-content {
    max-height: 400px;
    overflow-y: auto;
    padding: 0;
}

/* Custom scrollbar styling */
.service-content::-webkit-scrollbar {
    width: 6px;
}

.service-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.service-content::-webkit-scrollbar-thumb {
    background: #c4c4c4
    ;
    border-radius: 3px;
}

.service-content::-webkit-scrollbar-thumb:hover {
    background: #333;
}

/* Individual service items within cards */
.service-item {
    padding: 24px;
    text-align: left; 
    background: #F2F2F2
}

.service-item h4 {
    color: #1F2937;
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 600;
    text-align: left; 
}

.service-item p {
    color: #333;
    line-height: 1.6;
    margin-bottom: 12px;
    text-align: left; 
}

/* Service item lists with custom bullet points */
.service-item ul {
    list-style: none;
    padding: 0;
    margin: 12px 0;
    text-align: left;
}

.service-item ul li {
    color: #333;
    padding: 5px 0;
    padding-left: 24px;
    position: relative;
    text-align: left;
}

.service-item ul li:before {
    content: "•";
    color: #333;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 14px;
}

/* Learn more links */
.learn-more-link {
    color: #1C5A98;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;
    text-align: left;
    display: block; /* make the align left properly */
}

/* ============================================ */
/*              TESTIMONIALS SECTION            */
/* ============================================ */
.testimonials {
    padding: 80px 0;
    background-color: #ffffff;
}

.testimonials .section-header {
    text-align: center;  /* Changed from center to left */
    margin-bottom: 60px;
}

.testimonials .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-align: center;  /* Explicitly set to left */
}

.testimonials .section-description {
    font-size: 1.1rem;
    color: #666;
    /*max-width: 800px;
    margin: 0;  /* Changed from margin: 0 auto to just 0 */
    line-height: 1.8;
    text-align: center;  /* Explicitly set to center */
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);  /* Force 4 columns on desktop */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

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

.quote-icon {
    margin-bottom: 15px;
    text-align: center;  /* Center the icon container */
}

.quote-icon img {
    width: 40px;
    height: 40px;
    opacity: 0.8;
    display: inline-block;  /* Ensure the image respects text-align */
}

.testimonial-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.testimonial-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.client-info {
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: auto;

}

/* Responsive Design for Testimonials */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);  /* 2 columns on tablets */
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 60px 20px;
    }
    
    .testimonials .section-title {
        font-size: 2rem;
    }
    
    .testimonials .section-description {
        font-size: 1rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;  /* 1 column on mobile */
        gap: 20px;
    }
    
    .testimonial-card {
        padding: 25px;
    }
}

/* ============================================ */
/*          BOTTOM NAVIGATION - INFINITE SCROLL */
/* ============================================ */
.navbar-bottom {
    background: #1F2937;
    padding: 25px 0;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    margin-bottom: 60px;
}

.nav-track {
    display: flex;
    animation: scroll 20s linear infinite;
}

.nav-content {
    display: flex;
    align-items: center;
    padding: 0; /* Remove all padding */
    min-width: max-content;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.333%); /* Changed from -50% to -33.333% for 3 sets */
    }
}

.nav-item {
    color: #ecf0f1;
    font-size: 18px;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.3s ease;
    cursor: pointer;
    margin: 0 20px; /* Consistent spacing between items */
}

.nav-item:hover {
    color: #4dd0e1;
}

.nav-separator {
    color: #7f8c8d;
    font-size: 18px;
    font-weight: 300;
    margin: 0 10px; /* Small margin for separators */
}

/* Responsive adjustments for Bottom Navigation */
@media (max-width: 768px) {
    .navbar-bottom {
        padding: 20px 0;
        margin-bottom: 40px;
    }
    
    .nav-item {
        font-size: 16px;
        margin: 0 15px;
    }
    
    .nav-separator {
        font-size: 16px;
        margin: 0 8px;
    }
}

@media (max-width: 480px) {
    .navbar-bottom {
        padding: 15px 0;
        margin-bottom: 30px;
    }
    
    .nav-item {
        font-size: 14px;
        margin: 0 12px;
    }
    
    .nav-separator {
        font-size: 14px;
        margin: 0 6px;
    }
}

/* ========================================================================
   DESIGN PROCESS SECTION
   ======================================================================== */
.design-process-section {
    padding: 80px 0;
    background-color: #ffffff;
    
}

.design-process-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}




.process-header {
    margin-bottom: 48px;
}

.process-header h2 {
     font-size: 30px;
    color: #1F2937;
    margin-bottom: 16px;
    line-height: 1.2;

}

.process-header p {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 48px;
}

.process-step {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.step-number {
    position: absolute;
    top: -20px;
    left: -20px;  /* Changed from 30px to -20px to position on left corner */
    width: 40px;
    height: 40px;
    background: #1C5A98;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(28, 90, 152, 0.3);
}

.step-content {
    margin-top: 10px;
}

.step-icon {
    text-align: center;
    margin-bottom: 20px;
}

.step-icon img {
    width: 140px;
    height: 140px;
    object-fit: contain;
}

.process-step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
    text-align: center;
}

.process-step p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    text-align: center;
}

/* Responsive Design for Process Section */
@media (max-width: 1024px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .process-step {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .design-process-section {
        padding: 60px 0;
    }
    
    .process-header h1 {
        font-size: 2rem;
    }
    
    .process-header p {
        font-size: 1rem;
    }
    
    .process-steps {
        gap: 30px;
    }
    
    .process-step {
        padding: 25px;
    }
    
    .step-icon img {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .design-process-section {
        padding: 48px 0;
    }
    
    .design-process-section .container {
        padding: 0 24px;
    }
    
    .process-header {
        margin-bottom: 40px;
    }
    
    .process-step {
        padding: 20px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        top: -15px;
        left: -15px;  /* Changed from 20px to -15px for consistency */
    }
    
    .step-icon img {
        width: 60px;
        height: 60px;
    }
}

