:root {
    --primary-color: #1a237e;
    --secondary-color: #ffd700;
    --text-color: #2c3e50;
    --light-color: #fff;
    --background-color: #f8f9fa;
    --dark-accent: #0d1b3e;
    --light-accent: #e8eaf6;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.site-header {
    background: var(--primary-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow-color);
    padding: 0.5rem 0;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    padding: 0.5rem 0;
}

.logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.company-name {
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.company-type {
    color: var(--light-color);
    font-size: 1rem;
    font-weight: 400;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--light-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: 1rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--light-color);
    margin: 5px 0;
    transition: transform 0.3s ease;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-link {
        padding: 1rem 2rem;
        display: block;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover,
    .nav-link.active {
        background: var(--dark-accent);
    }
}

/* Adjust banner padding for fixed header */
.banner {
    padding-top: 80px; /* Height of header */
    height: 100vh;
    background: linear-gradient(rgb(26 35 126 / 21%), rgba(13, 27, 62, 0.9)), url(../images/banner.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-color);
}

.banner-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Sections */
section {
    padding: 5rem 0;
}

h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

/* About Section */
.about-content {
    gap: 2rem;
    display: grid;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--light-accent);
}

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

/* Gallery Section */
.gallery {
    background: var(--background-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Contact Section */
.contact {
    background: var(--background-color);
    padding: 5rem 0;
}

.contact h2 {
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.3rem;
    background: var(--light-accent);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.contact-item h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.address-details {
    margin-bottom: 0.8rem;
}

.address-line {
    margin-bottom: 0.3rem;
    line-height: 1.5;
}

.gst {
    display: inline-block;
    margin-top: 0.8rem;
    padding: 0.6rem 1rem;
    background: var(--light-accent);
    border-radius: 6px;
    font-size: 0.9rem;
}

.phone-number {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.phone-number:hover {
    color: var(--secondary-color);
}

.working-hours {
    background: var(--light-accent);
    padding: 1.2rem;
    border-radius: 8px;
    margin-top: 0.5rem;
}

.time-block {
    margin-bottom: 0.8rem;
}

.time-label {
    font-weight: 500;
    color: var(--primary-color);
}

.blasting-times {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.blasting-times strong {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.blast-time {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.map {
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
}

.map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
footer {
    background: var(--primary-color);
    padding: 0.8rem 0;
}

.copyright {
    color: var(--light-color);
    font-size: 0.85rem;
    opacity: 0.8;
    text-align: center;
}

@media (max-width: 768px) {
    .contact {
        padding: 3rem 0;
    }

    .contact h2 {
        margin-bottom: 1.5rem;
        font-size: 1.8rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-info {
        padding: 1.5rem;
    }

    .contact-info h3 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

    .contact-details {
        gap: 1.5rem;
    }

    .contact-item {
        gap: 1rem;
    }

    .contact-item i {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }

    .contact-item h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .address-line {
        font-size: 0.9rem;
    }

    .gst {
        font-size: 0.85rem;
        padding: 0.5rem 0.8rem;
    }

    .phone-number {
        font-size: 0.9rem;
    }

    .working-hours {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .blasting-times strong {
        font-size: 0.95rem;
    }

    .blast-time {
        font-size: 0.85rem;
    }

    .map {
        min-height: 300px;
    }

    .copyright {
        font-size: 0.8rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .contact {
        padding: 4rem 0;
    }

    .contact-content {
        gap: 2rem;
    }

    .contact-info {
        padding: 2rem;
    }

    .contact-info h3 {
        font-size: 1.5rem;
    }
}

/* License Information Section */
.license {
    background: linear-gradient(135deg, var(--light-accent) 0%, #ffffff 100%);
    padding: 5rem 0;
}

.license-content {
    margin-top: 3rem;
}

.license-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.license-item {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.license-item:nth-child(1) {
    animation-delay: 0.1s;
}

.license-item:nth-child(2) {
    animation-delay: 0.3s;
}

.license-item:nth-child(3) {
    animation-delay: 0.5s;
}

.license-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.license-list li {
    padding: 1rem;
    background: var(--light-accent);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.license-list li::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.1), transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.license-list li:hover::after {
    transform: translateX(100%);
}

.license-list li strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.license-list li:hover strong {
    color: var(--secondary-color);
}

.validity {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    color: var(--primary-color);
}

.license-list li:hover .validity {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-color);
}

.license-item h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.license-item h3::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    transition: left 0.6s ease;
}

.license-item:hover h3::before {
    left: 100%;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .license-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .license-item {
        padding: 2rem;
    }

    .license-item h3 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    .license-list {
        gap: 1rem;
    }

    .license-list li {
        padding: 0.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .license-item,
    .contact-info,
    .contact-item,
    .map {
        animation: none;
        opacity: 1;
    }

    .license-item::before {
        animation: none;
    }

    .license-list li::after,
    .license-item h3::before {
        display: none;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .banner-content h1 {
        font-size: 2.5rem;
    }
    
    nav {
        padding: 0.5rem 0;
    }
    
    .nav-links {
        gap: 1rem;
    }
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1100;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    margin: auto;
    background: var(--light-color);
    border-radius: 15px;
    overflow: hidden;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.8rem;
    color: var(--light-color);
    cursor: pointer;
    z-index: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.close-modal:hover {
    background: rgba(0, 0, 0, 0.7);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .resource-tabs {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .tab-btn {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }

    .resources-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .resource-content {
        padding: 2rem 1.5rem;
    }

    .resource-icon i {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .modal-content {
        width: 95%;
    }
}

/* Resources Section */
.resources {
    background: var(--light-accent);
    padding: 5rem 0;
}

.resources h2 {
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.resource-card {
    background: var(--light-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.resource-content {
    padding: 2rem;
    text-align: center;
}

.resource-icon {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.resource-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.resource-card p {
    color: var(--text-color);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.resource-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.8;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: var(--light-color);
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: var(--dark-accent);
    transform: translateY(-2px);
}

.download-btn i {
    font-size: 1rem;
}

/* License Section */
.license {
    padding: 5rem 0;
    background: linear-gradient(to bottom, var(--light-color) 0%, var(--light-accent) 100%);
}

.license h2 {
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.license-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.license-item {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.license-item:hover {
    transform: translateY(-3px);
}

.license-icon {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.5s ease-out forwards;
    animation-delay: 0.3s;
}

.license-item:nth-child(2) .license-icon {
    animation-delay: 0.5s;
}

.license-item:nth-child(3) .license-icon {
    animation-delay: 0.7s;
}

.license-item h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1.8rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-color);
    text-align: center;
    position: relative;
}

.license-list {
    list-style: none;
    padding: 0;
}

.license-list li {
    margin-bottom: 1.2rem;
    padding: 1rem;
    background: var(--light-accent);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.license-list li:hover {
    transform: translateX(5px);
    border-color: var(--secondary-color);
    background: var(--light-color);
}

.license-list strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.license-list span {
    display: block;
    font-size: 0.95rem;
    color: var(--text-color);
    margin-top: 0.3rem;
    line-height: 1.5;
}

.highlight-item {
    background: linear-gradient(45deg, var(--light-accent), var(--light-color)) !important;
    border-left: 3px solid var(--secondary-color) !important;
}

.validity {
    color: var(--primary-color) !important;
    font-weight: 500;
    margin-top: 0.8rem !important;
    padding: 0.5rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 4px;
    display: inline-block !important;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .license {
        padding: 3rem 0;
    }

    .license h2 {
        margin-bottom: 2rem;
    }

    .license-grid {
        gap: 1.5rem;
    }

    .license-item {
        padding: 1.8rem;
    }

    .license-icon {
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }

    .license-item h3 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    .license-list li {
        padding: 0.8rem;
        margin-bottom: 1rem;
    }

    .license-list strong {
        font-size: 0.85rem;
    }

    .license-list span {
        font-size: 0.9rem;
    }

    .validity {
        font-size: 0.85rem;
        padding: 0.4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .license-grid,
    .license-item,
    .license-list li,
    .license-icon {
        animation: none;
        transform: none;
    }

    .license-icon {
        opacity: 1;
    }
}