/* General Styling */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #c00000; /* Red */
    --secondary-color: #1a1a1a; /* Dark Gray/Black */
    --text-color: #333;
    --background-color: #ffffff;
    --light-gray: #f4f4f4;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--background-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 90%;
    align-items: center;
    justify-content: space-around;
    left: 5%;
    top: 0;
    z-index: 1000;
    transition: background 0.10s;
    border-radius: 100px;
    height: 100px;
    margin-top: 50px;
    border: 2px solid black;
   
}

.logo img {
    height: 80px;
    
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
    position: absolute;
    bottom: -5px;
    left: 0;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.login-icon a {
    color: var(--secondary-color);
    font-size: 1.8rem;
    transition: color 0.3s;
}

.login-icon a:hover {
    color: var(--primary-color);
}
#pa{
    font-size: 15px;
;
}
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--secondary-color);
    transition: all 0.3s ease-in-out;
}

/* Hero Section */
.hero, .about-hero, .contact-hero {
    height: 100vh;
    background: url('assets/rudralo.png') no-repeat center center/cover;
    position: relative;
    
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: whitesmoke;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    z-index: 1;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s, transform 0.3s;
}

.btn:hover {
    background: #a00000;
    transform: translateY(-3px);
}

main {
    padding-top: 80px; /* Adjust for fixed navbar */
}

/* Services Section */
.services-section, .why-choose-us, .our-story, .mission-vision, .our-team, .contact-section, .map-section, .testimonial-section, .stats-counter {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 10px auto;
}

.service-cards, .features-grid, .team-grid, .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card, .feature-item, .team-member, .stat-item {
    background: var(--background-color);
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover, .feature-item:hover, .team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-card i, .feature-item i, .mission-vision i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Why Choose Us Section */
.why-choose-us {
    background: var(--light-gray);
}

/* Stats Counter */
.stats-counter {
    background-color: var(--secondary-color);
    color: black;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
}

/* Testimonial Section */
.testimonial-section {
    background: var(--light-gray);
}
.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: auto;
    text-align: center;
    padding: 2rem;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.testimonial {
    display: none;
}

.testimonial.active {
    display: block;
    animation: fadeIn 0.5s;
}

.testimonial p {
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial h4 {
    font-weight: 600;
    color: var(--primary-color);
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    left: 0;
}

.prev-btn, .next-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    transition: background 0.3s;
}

.prev-btn {
    margin-left: -50px;
}
.next-btn {
    margin-right: -50px;
}

.prev-btn:hover, .next-btn:hover {
    background: #a00000;
}


/* Footer */
footer {
    background: var(--secondary-color);
    color: #fff;
    padding-top: 40px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 150px;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
    background: white;
    border-radius: 5px;
    padding: 5px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: whitesmoke;
}

.footer-contact p, .footer-social a {
    color: #ccc;
    text-decoration: none;
    margin-right: 15px;
    font-size: 1.1rem;
    transition: color 0.3s;
}
.footer-contact i {
    color: var(--primary-color);
    margin-right: 10px;
}

.footer-social a:hover {
    color: var(--primary-color);
}


.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #444;
    margin-top: 30px;
}

/* About Page Specifics */
.our-story .story-content {
    display: flex;
    align-items: center;
    gap: 40px;
}
.story-image img {
    max-width: 100%;
    border-radius: 10px;
}
.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.mission-item, .vision-item {
    text-align: center;
    padding: 2rem;
}
.team-member img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 15px;
    border: 5px solid var(--primary-color);
}
.team-member .social-links a {
    color: var(--secondary-color);
    margin: 0 10px;
    font-size: 1.2rem;
    transition: color 0.3s;
}
.team-member .social-links a:hover {
    color: var(--primary-color);
}

/* Contact Page Specifics */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}
.contact-form button {
    width: 100%;
    padding: 15px;
    border: none;
}
.contact-info-list {
    list-style: none;
}
.contact-info-list li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
}
.contact-info-list i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    width: 30px;
    text-align: center;
}
.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.story-image animate-on-scroll{
    border-radius: 10px;
    ;
}
/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--background-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1.2rem; }
    .section-title { font-size: 2rem; }

    .our-story .story-content, .mission-vision-grid, .contact-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
    .story-image {
        margin-bottom: 20px;
    }
    .prev-btn { margin-left: -20px; }
    .next-btn { margin-right: -20px; }
}
