/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e67e22;
    --primary-dark: #d35400;
    --text-dark: #2c3e50;
    --text-light: #666;
    --white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-cream: #faf8f5;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

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

/* Announcement Bar */
.announcement-bar {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: 0.3s;
}

/* Hero Image Section */
.hero-image {
    width: 100%;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: cover;
}

/* Hero Content Section */
.hero-content-section {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--white);
}

.hero-content-section h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.hero-content-section .sanskrit {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.hero-content-section .tagline {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.btn-secondary:hover {
    background-color: var(--text-dark);
    color: var(--white);
}

/* Welcome Section */
.welcome {
    background-color: var(--bg-cream);
    padding: 60px 20px;
    text-align: center;
}

.welcome h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Section Title */
.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* About Section with Image Cards */
.about {
    padding: 80px 20px;
    background-color: var(--white);
}

.about-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.about-image-card {
    position: relative;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 30px;
}

.about-card-overlay {
    text-align: center;
    color: var(--white);
    max-width: 100%;
    position: relative;
    z-index: 1;
}

.about-image-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
}

.about-card-overlay h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.about-card-overlay p {
    font-size: 16px;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* CTA Section */
.cta {
    background-image: url('../images/cta-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 20px;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 25px;
}

/* Gallery Section with Carousel */
.gallery {
    padding: 80px 20px;
    background-color: var(--bg-cream);
}

.gallery-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.gallery-slide {
    min-width: 100%;
    padding: 0 10px;
}

.gallery-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 10;
}

.gallery-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.gallery-prev {
    left: 10px;
}

.gallery-next {
    right: 10px;
}

.gallery-counter {
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
    color: var(--text-light);
}

/* Social Section */
.social {
    padding: 60px 20px;
    background-color: var(--white);
    background-image: url('../images/social-bg.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 18px;
    padding: 15px 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* Hiring Section */
.hiring {
    background-image: url('../images/hiring-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    position: relative;
}

.hiring::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
}

.hiring-content {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.hiring-info {
    color: var(--white);
}

.hiring-info h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hiring-info h4 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hiring-info p {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
}

.hiring-form {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
}

.hiring-form h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hiring-form input,
.hiring-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    margin-bottom: 15px;
    font-family: inherit;
}

.hiring-form textarea {
    min-height: 100px;
    resize: vertical;
}

.hiring-form .btn {
    width: 100%;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 25px 20px;
}

.footer p {
    font-size: 14px;
}

/* Responsive */
@media (max-width: 992px) {
    .about-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image-card {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links li {
        border-bottom: 1px solid #eee;
    }
    
    .nav-links a {
        display: block;
        padding: 15px 0;
    }
    
    .hero-content-section h1 {
        font-size: 32px;
    }
    
    .hiring-content {
        grid-template-columns: 1fr;
    }
    
    .gallery-slide img {
        height: 280px;
    }
}

/* Team Page Styles */
.page-header {
    background-color: var(--bg-cream);
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.page-header p {
    font-size: 18px;
    color: var(--text-light);
}

.team-section {
    padding: 80px 20px;
    background-color: var(--white);
}

.team-category {
    margin-bottom: 60px;
}

.team-category h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
    width: 100%;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.team-member img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--primary-color);
}

.team-member h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.team-member .role {
    font-size: 15px;
    color: var(--primary-color);
    font-weight: 500;
}

/* Story Page */
.story-section {
    padding: 80px 20px;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
}

.story-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 25px;
}

/* Events Page */
.events-section {
    padding: 80px 20px;
}

.events-list {
    max-width: 900px;
    margin: 0 auto;
}

.event-item {
    display: flex;
    gap: 30px;
    padding: 30px;
    background-color: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 20px;
    align-items: center;
}

.event-date {
    min-width: 80px;
    text-align: center;
    padding: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 8px;
}

.event-date .day {
    font-size: 28px;
    font-weight: 700;
    display: block;
}

.event-date .month {
    font-size: 14px;
    text-transform: uppercase;
}

.event-details h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.event-details p {
    color: var(--text-light);
    font-size: 15px;
}

/* Contact Page */
.contact-section {
    padding: 80px 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item .icon {
    font-size: 24px;
}

.contact-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.contact-item p,
.contact-item a {
    font-size: 15px;
    color: var(--text-light);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-form h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    margin-bottom: 15px;
    font-family: inherit;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .event-item {
        flex-direction: column;
        text-align: center;
    }
}
