/*
    --------------------------------------------------
    CSS STYLESHEET FOR SHUBHAM INTEGRATED SERVICES
    Color Palette: Professional Blue (#004D99), Accent Green (#28a745), Dark Gray (#5A6A7D)
    --------------------------------------------------
*/

/* Global Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #FFFFFF;
}

a {
    text-decoration: none;
    color: #004D99; /* Primary Blue */
    transition: color 0.3s ease;
}

a:hover {
    color: #28a745; /* Accent Green */
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.section {
    padding: 60px 0;
}

.bg-light-gray {
    background-color: #F4F4F9;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #004D99;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* General Button Styles */
.btn {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1em;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: #004D99;
    color: #FFFFFF;
    border: 2px solid #004D99;
}

.btn-primary:hover {
    background-color: #00376B;
    border-color: #00376B;
}

.btn-secondary {
    background-color: transparent;
    color: #004D99;
    border: 2px solid #004D99;
}

.btn-secondary:hover {
    background-color: #004D99;
    color: #FFFFFF;
}

/* --------------------- Header & Navigation --------------------- */
#main-header {
    background-color: #FFFFFF;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo a {
    font-size: 1.6em;
    font-weight: 700;
    color: #5A6A7D;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Updated logo colors for Shubham Integrated Services */
.logo .highlight-text {
    color: #004D99;
    font-weight: 900;
}
.logo .sub-text {
    color: #28a745;
}

/* Desktop Navigation */
#main-nav ul {
    display: flex;
}

#main-nav ul li a {
    padding: 10px 15px;
    color: #5A6A7D;
    font-weight: 600;
    display: block;
    text-transform: uppercase;
}

#main-nav ul li a:hover, #main-nav ul li a.active {
    color: #004D99;
}

.menu-toggle {
    display: none; /* Hidden on desktop */
    background: transparent;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #004D99;
}

/* --------------------- Hero Section --------------------- */
.hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Professional background */
    background: linear-gradient(rgba(0, 77, 153, 0.85), rgba(0, 77, 153, 0.85)), 
                url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80') no-repeat center center/cover;
    background-color: #5A6A7D;
}
.hero-content {
    position: relative;
    color: #FFFFFF;
    z-index: 2;
    max-width: 800px;
}
.hero-content h2 {
    font-size: 3.5em;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
}

/* --------------------- About Section --------------------- */
.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}
.about-text {
    flex: 2;
}
.about-image-placeholder {
    flex: 1;
    min-width: 300px;
    height: 350px;
    background-color: #E0E4E7;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    color: #004D99;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.gst-badge {
    padding: 20px;
}

.gst-badge p {
    margin-top: 10px;
    font-weight: 600;
    color: #5A6A7D;
}

.gst-number {
    font-family: monospace;
    background-color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    color: #004D99;
    font-weight: 700;
}

/* --------------------- Services Section --------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.service-card {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
.service-card i {
    color: #004D99;
    margin-bottom: 15px;
}

.icon-blue {
    color: #004D99;
}

/* --------------------- Products Section --------------------- */
.product-categories {
    text-align: center;
    margin-bottom: 40px;
}
.category-btn {
    background: transparent;
    border: 2px solid #5A6A7D;
    color: #5A6A7D;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.category-btn:hover, .category-btn.active {
    background: #004D99;
    color: #FFFFFF;
    border-color: #004D99;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.product-image-placeholder {
    height: 200px;
    width: 100%;
    background-color: #E0E4E7;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #D0D0D0;
    color: #5A6A7D;
}
.product-card a {
    display: block;
    text-align: center;
    background: #004D99;
    color: #FFFFFF;
    padding: 10px 0;
    font-weight: 600;
    margin-top: auto;
}
.product-card a:hover {
    background: #00376B;
}

/* --------------------- Contact Section --------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-details {
    padding: 20px;
}

.office-location {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.office-location h4 {
    color: #004D99;
    margin-bottom: 15px;
}

.company-details {
    margin: 20px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
    border-left: 4px solid #28a745;
}

.company-details p {
    margin: 5px 0;
}

.map-link a {
    display: inline-block;
    margin-top: 15px;
    color: #004D99;
    font-weight: 600;
}

.map-container {
    height: 450px;
    border: 1px solid #D0D0D0;
    border-radius: 8px;
    overflow: hidden;
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.contact-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #D0D0D0;
}

/* --------------------- Footer --------------------- */
#main-footer {
    background: #5A6A7D;
    color: #FFFFFF;
    padding: 0;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-info h4 {
    color: #ffffff;
    margin-bottom: 10px;
}

.gst-footer {
    background-color: rgba(255,255,255,0.1);
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 10px;
    font-family: monospace;
}

.footer-contact i {
    color: #28a745;
    margin-right: 10px;
}
.footer-contact a {
    color: #ffffff;
}
.footer-contact p {
    margin-bottom: 8px;
}
.footer-bottom {
    text-align: center;
    padding: 15px 0;
    background: #4C5A6B;
}

/* ============================================================== */
/* ======================== MOBILE RESPONSIVENESS ======================== */
/* ============================================================== */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 40px 0;
    }
    
    .logo a {
        font-size: 1.3em;
    }

    #main-nav {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #FFFFFF;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        display: none;
        padding: 0;
        border-top: 1px solid #eee;
    }
    #main-nav.open {
        display: block;
    }
    #main-nav ul {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }
    #main-nav ul li a {
        padding: 15px;
        color: #004D99;
        border-bottom: 1px solid #F4F4F9;
    }
    .menu-toggle {
        display: block;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    .about-image-placeholder {
        width: 100%;
        margin-top: 20px;
        min-width: unset;
        height: 250px;
    }
    .product-categories {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .category-btn {
        flex: 1 1 45%;
        margin: 5px;
    }
    .map-container {
        height: 300px;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #004D99;
    color: white;
    padding: 8px;
    z-index: 1000;
    text-decoration: none;
}
.skip-link:focus {
    top: 0;
}