/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --maroon: #631000;
    --yellow: #FFBF00;
    --grey: #D9D9D9;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Navbar Styles */
.navbar {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: inline-block;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 400;
    transition: font-weight 0.2s ease;
    position: relative;
}

.nav-link:hover {
    font-weight: 700;
}

.dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 10px;
    margin-left: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    list-style: none;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    padding: 10px 0;
    margin-top: 10px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s ease;
}

.dropdown-menu a:hover {
    background: var(--grey);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

/* About Hero Section */
.about-hero {
    width: 100%;
    height: 140px;
    overflow: hidden;
    opacity: 30%;
    margin-top: 0;
}

.about-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Grey Section */
.grey-section {
    background: var(--grey);
    padding: 20px 10px;
    text-align: center;
}

.grey-section-title {
    font-size: 2rem;
    font-weight: 1000;
    color: var(--maroon);
}

/* Introduction Section */
.intro-section {
    padding: 20px 10px;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.intro-text {
    text-align: left;
}

.intro-image {
    width: 90%;
    height: 220px;
    overflow: hidden;
    border-radius: 20px;
    margin:25px;
    
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    align-items: center;
    
}

/* Mission Section */
.mission-section {
    padding: 0px 10px;
    
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.mission-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 10px;
    order: 1;
}

.mission-image img {
    width: 100%;
    height: 100%;
    object-fit:contain;
}

.mission-text {
    text-align: left;
    order: 2;
    margin-left:25px ;
}

/* Center Text Section */
.center-text-section {
    padding: 10px;
    text-align: center;
}

.center-text {
    padding-bottom: 25px;
    font-size: 1.2rem;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.2;

}
.center-text1 {
    padding-bottom: 5px;
    font-size: 1.2rem;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1;

}

/* Material & Craftsmanship Section */
.material-section {
    padding: 60px 10px;
}

.material-content {
    display: grid;
    grid-template-columns: 650px 1fr;
    gap: 100px;
    align-items: start;
    max-width: 100%;
    box-sizing: border-box;
}

.material-text {
    background: var(--grey);
    padding: 40px 30px;
    border-radius: 10px;
    align-self: start;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    min-height: 100%;
}

.material-text-content {
    position: sticky;
    top: 70px;
    width: 100%;
    z-index: 1;
}

.material-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--maroon);
    margin-bottom: 20px;
}

.material-description {
    font-size: 1rem;
    color: #333;
    
    margin-bottom: 30px;
}


.material-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.material-card {
    background: var(--maroon);
    border-radius: 10px;
    overflow: hidden;
    width: 400px;
    max-width: 100%;
    height: 420px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.card-image-wrapper {
    border-radius: 10px;
    width: 360px;
    max-width: 90%;
    height: 150px;
    overflow: hidden;
    position: relative;
    margin: 20px 0px;
    display: flex;
    align-items:center;
    justify-content:left;
    transition: all 0.4s ease;
    box-sizing: border-box;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit:cover;
    align-items:start;
    transition: transform 0.3s ease;
}

.material-card:hover .card-image-wrapper {
    width: 100%;
    max-width: 90%;
    height: 380px;
    position: absolute; 
}

.material-card .card-heading,
.material-card .card-text {
    padding-left: 2px;
    
}

.material-card:hover .card-heading,
.material-card:hover .card-text {
    opacity: 0;
    visibility: hidden;
}

.card-heading {
    text-align: left;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--yellow);
    margin: 10px;
   
    
}

.card-text {
    font-size: 0.95rem;
    color: #ffffff;
    margin: 0 20px 20px;
    line-height: 1.4;
    
}

/* Gallery Section */
.gallery-section {
    padding: 0 0 60px 0;
}

.gallery-section .grey-section {
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-square {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.gallery-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section Title and Text */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--maroon);
    margin-bottom: 20px;
}

.section-text {
    font-size: 1.1rem;
    color: #000000;
    margin-bottom: 15px;
    line-height: 1.3;
}

/* Footer */
.footer {
    background: rgb(35, 0, 0);
    color: #fff;
    padding: 40px 10px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 15px;
}

.footer-text {
    font-size: 0.9rem;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.9);
}

.footer-heading {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--yellow);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    overflow: hidden;
    background: #fff;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

.whatsapp-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

@media (max-width: 768px) {
    .whatsapp-button {
        width: 55px;
        height: 55px;
        bottom: 15px;
        left: 15px;
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .intro-content,
    .mission-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .mission-image {
        order: 1;
    }

    .mission-text {
        order: 2;
    }

    .material-content {
        grid-template-columns: 1fr;
    }

    .material-text {
        position: static;
    }

    .material-cards {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .dropdown-menu {
        position: static;
        display: none;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        box-shadow: none;
        background: rgba(0,0,0,0.05);
        margin-top: 0;
        padding: 0;
        transition: opacity 0.3s ease, max-height 0.3s ease, padding 0.3s ease;
    }

    .dropdown.active .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        padding: 10px 0;
        margin-top: 10px;
    }

    .about-hero {
        height: 150px;
    }

    .section-title {
        font-size: 2rem;
    }

    .material-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .material-text {
        position: static;
        padding: 30px 20px;
        max-width: 100%;
        height: auto !important;
        min-height: auto;
    }

    .material-text-content {
        position: static;
    }

    .material-cards {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .material-card {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .card-image-wrapper {
        width: 90%;
        max-width: 90%;
    }

    .material-card {
        cursor: default;
        pointer-events: auto;
        transition: none;
    }

    .material-card:hover .card-image-wrapper {
        width: 90%;
        max-width: 90%;
        height: 150px;
        position: relative;
        transition: none;
    }

    .material-card:hover .card-heading,
    .material-card:hover .card-text {
        opacity: 1;
        visibility: visible;
    }

    .material-card:active {
        transform: none;
    }

    .card-image-wrapper {
        transition: none;
    }

    .card-img {
        transition: none;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .material-section {
        padding: 40px 10px;
    }

    .material-content {
        gap: 20px;
    }

    .material-text {
        padding: 20px 15px;
    }

    .material-title {
        font-size: 1.5rem;
    }

    .material-description {
        font-size: 0.9rem;
    }

    .material-card {
        height: auto;
        min-height: 350px;
    }

    .card-image-wrapper {
        width: 85%;
        max-width: 85%;
        height: 120px;
    }

    .material-card {
        cursor: default;
        pointer-events: auto;
        transition: none;
    }

    .material-card:hover .card-image-wrapper {
        width: 85%;
        max-width: 85%;
        height: 120px;
        position: relative;
        transition: none;
    }

    .material-card:hover .card-heading,
    .material-card:hover .card-text {
        opacity: 1;
        visibility: visible;
    }

    .material-card:active {
        transform: none;
    }

    .card-image-wrapper {
        transition: none;
    }

    .card-img {
        transition: none;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .intro-image,
    .mission-image {
        height: 300px;
    }
}

