/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #17232e;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    text-align: center;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 15px 0;
}

header .logo {
    max-width: 265px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.sanskrit-tagline {
    font-size: 1.2em;
    font-style: italic;
    margin: 10px 0;
    color: #e8eaec;
}

/* Navigation Bar */
.navigation-bar {
    background: #dfe6e9;
    padding: 10px 0;
    position: relative;
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 2em;
    cursor: pointer;
    display: none;
    color: #3e4f60;
    margin: 0 auto;
}

.nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.nav-btn {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    padding: 12px 20px;
    background: #3e4f60;
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease;
    margin: 5px;
    touch-action: manipulation;
}

.nav-btn:hover {
    background: #2c3e50;
    color: white;
}

/* Home Section */
#home {
    padding: 40px 20px;
    background: #f9f9f9;
}

.company-name {
    font-size: clamp(1.8em, 5vw, 2.8em);
    font-weight: 900;
    color: #2c3e50;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
    margin: 10px 0;
}

.welcome-text {
    font-size: clamp(1.5em, 5vw, 2.5em);
    font-weight: 900;
    color: #2c3e50;
    margin-bottom: 10px;
}

.world-text {
    font-size: clamp(1.2em, 4vw, 2em);
    font-weight: 900;
    color: #2c3e50;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.home-tagline {
    font-size: clamp(1em, 3vw, 1.2em);
    color: #566573;
    margin: 15px 0 25px;
}

.home-tagline strong {
    font-weight: 900;
    color: #2c3e50;
}

/* Buttons */
.section-buttons {
    background: #dfe6e9;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.btn {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    padding: 12px 20px;
    background: #3e4f60;
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease;
    touch-action: manipulation;
}

.btn:hover {
    background: #2c3e50;
    color: white;
}

/* Construction Solutions Section */
#construction {
    padding: 40px 20px;
    background: #f9f9f9;
}

/* Jiniya InfoTech Solutions Section */
#it-solutions {
    padding: 40px 20px;
    background: #dfe6e9;
}

/* About Section */
#about {
    padding: 40px 20px;
    background: #e8eaec;
}

#about .subhead {
    font-size: clamp(1.2em, 3.5vw, 1.5em);
    font-weight: bold;
    color: #17232e;
    margin-bottom: 15px;
}

.about-heading {
    font-size: clamp(1.125em, 3vw, 1.65em);
    font-weight: bold;
    color: #17232e;
    margin: 20px 0;
}

.subhead {
    font-size: clamp(1.2em, 3.5vw, 1.5em);
    font-weight: bold;
    color: #34495e;
    margin-bottom: 15px;
}

.expertise-heading, .why-choose-heading {
    font-size: clamp(0.9em, 2.4vw, 1.32em);
    font-weight: bold;
    color: #17232e;
    margin: 20px 0;
}

.sub-section-heading {
    font-size: clamp(1em, 2.5vw, 1.2em);
    font-weight: bold;
    color: #17232e;
    text-decoration: underline;
    margin: 15px 0;
}

.sub-subhead {
    font-size: clamp(1em, 3vw, 1.2em);
    font-weight: bold;
    color: #566573;
    margin: 20px 0 10px;
}

#construction p strong {
    font-weight: 900;
    color: #17232e;
}

#it-solutions p strong {
    font-weight: 900;
    color: #17232e;
    display: block;
    margin-top: 15px;
}

.product-categories {
    margin-top: 20px;
    text-decoration: underline;
    color: #17232e;
}

.key-offerings {
    margin: 20px 0;
    text-decoration: underline;
    color: #17232e;
}
.whatsapp-link img {
    width: 48px;
    height: 48px;
.whatsapp-link:hover img 
    opacity: 0.10; /
}

/* Contact Section */
#contact {
    padding: 40px 20px;
    background: #34495e;
    color: white;
}

#contact .subhead {
    color: white;
}

#contact .contact-info a {
    color: #e8eaec;
    text-decoration: none;
}

#contact .contact-info a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.contact-info {
    margin: 20px 0;
}

.contact-form {
    margin: 20px auto;
    max-width: 600px;
    text-align: left;
}

.form-heading {
    font-size: 1.2em;
    font-weight: bold;
    color: white;
    margin-bottom: 15px;
    text-align: center;
}

.contact-form label {
    display: block;
    margin: 10px 0 5px;
    color: white;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #e8eaec;
    border-radius: 5px;
    font-size: 1em;
    color: #17232e;
}

.contact-form button {
    display: block;
    margin: 0 auto;
}

.copyright {
    margin-top: 20px;
    font-size: 0.9em;
    color: #e8eaec;
}

.visitor-counter {
    margin-top: 10px;
    font-size: 0.9em;
    color: #e8eaec;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

/* Lists */
.services-list, .about-list {
    list-style: none;
    margin: 20px auto;
    padding: 0;
    max-width: 600px;
}

.services-list li, .about-list li {
    margin: 10px 0;
    text-align: center;
}

/* Gallery */
.gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.gallery-img {
    max-width: 250px; /* Changed from width: 250px to max-width */
    width: 100%; /* Ensures it scales down */
    height: auto; /* Maintains aspect ratio */
    border-radius: 5px;
    border: 3px solid #000000;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

#construction .gallery-img,
#it-solutions .gallery-img {
    max-width: 250px; /* Changed from width: 250px to max-width */
    width: 100%; /* Ensures it scales down */
    height: auto; /* Maintains aspect ratio */
}

/* Additional Styling */
.bold-tagline {
    font-weight: bold;
}

.italic-text {
    font-style: italic;
}

.build-future {
    text-decoration: underline;
    font-size: clamp(1.1em, 3vw, 1.4em);
}

.build-future-graphics {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.graphic-img {
    max-width: 50px; /* Changed from width: 50px to max-width */
    width: 100%; /* Scales down on smaller screens */
    height: auto; /* Maintains aspect ratio */
    object-fit: contain;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-btn {
        width: 80%;
        margin: 5px auto;
    }
    .section-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 15px 0;
    }
    .btn {
        width: 80%;
        margin: 0 auto;
    }
    .gallery-img {
        max-width: 100%; /* Overrides the 250px max-width for smaller screens */
        width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    header .logo {
        max-width: 200px;
    }
    .sanskrit-tagline {
        font-size: 1em;
    }
    .company-name {
        font-size: clamp(1.6em, 4.5vw, 2.4em);
    }
    .world-text {
        font-size: clamp(1em, 3.5vw, 1.8em);
    }
    .nav-btn, .btn {
        font-size: 1em;
        padding: 10px 15px;
    }
    .graphic-img {
        max-width: 40px; /* Slightly smaller icons on very small screens */
    }
}

/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700;900&display=swap');