body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding-left: 250px; /* Match sidebar width */
    min-height: 100vh;
    background-color: #FFFFFF;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Sidebar Navigation */
header {
    background: #f8f9fa;
    color: #000000;
    width: 250px;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 3px 0 20px rgba(0,0,0,0.15);
    border-right: 2px solid rgba(196, 35, 39, 0.1);
}

.logo-container {
    padding: 2rem 1rem 1.5rem 1rem;
    width: 100%;
    text-align: center;
    border-bottom: 2px solid rgba(196, 35, 39, 0.1);
    margin-bottom: 1rem;
}

.logo-container img {
    max-width: 180px;
    height: auto;
    transition: transform 0.3s ease;
}

.logo-container img:hover {
    transform: scale(1.05);
}

nav {
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 0;
    padding: 1rem 0;
    width: 100%;
    align-items: flex-start;
}

nav li {
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

nav a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 1rem 2rem;
    width: 100%;
    display: flex;
    align-items: center;
    border-radius: 12px 0 0 12px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-sizing: border-box;
    white-space: nowrap;
    overflow: visible;
    margin-right: 1rem;
    position: relative;
    letter-spacing: 0.3px;
}

nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: #C42327;
    border-radius: 0 2px 2px 0;
    transition: height 0.3s ease;
}

nav a:hover::before,
nav a.active::before {
    height: 60%;
}

nav a:hover, nav a.active {
    background: rgba(196, 35, 39, 0.1);
    color: #C42327;
    width: calc(100% - 1rem);
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(196, 35, 39, 0.15);
}

/* Sidebar footer */
.sidebar-footer {
    margin-top: auto;
    padding: 1.5rem 1rem;
    border-top: 1px solid rgba(196, 35, 39, 0.1);
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.sidebar-footer p {
    font-size: 0.75rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* Page Wrapper */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #FFFFFF;
    border-radius: 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    width: calc(100% - 64px); /* Full width minus padding on both sides */
    max-width: 1200px;
    overflow: hidden;
}
@media (max-width: 1200px) {
    body {
        padding-left: 0;
    }
    .page-wrapper {
        margin: 0;
        padding: 1rem 16px;
        width: 100%;
        max-width: none;
        border-radius: 0;
    }
    header {
        position: relative;
        width: 100%;
        height: auto;
        padding: 0.5rem;
        background: #ffffff;
        border-right: none;
        border-bottom: 2px solid rgba(196, 35, 39, 0.1);
        box-shadow: none;
    }
    
    .logo-container {
        padding: 1rem 0.5rem;
        border-bottom: none;
        margin-bottom: 0.5rem;
    }
    
    .logo-container img {
        max-width: 120px;
    }
    
    nav {
        flex-grow: 0;
    }
    
    nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.5rem;
    }
    
    nav li {
        width: auto;
    }
    
    nav a {
        width: auto;
        border-radius: 8px;
        padding: 0.6rem 1.2rem;
        white-space: nowrap;
        overflow: visible;
        margin-right: 0;
        font-size: 0.85rem;
        transform: none;
    }
    
    nav a::before {
        display: none;
    }
    
    nav a:hover, nav a.active {
        width: auto;
        transform: translateY(-2px);
        box-shadow: 0 2px 8px rgba(196, 35, 39, 0.2);
    }
    
    .sidebar-footer {
        display: none;
    }
}
@media (max-width: 900px) {
    .page-wrapper {
        padding: 1rem 8px;
    }
    nav ul {
        gap: 1rem;
    }
    .hero {
        padding: 2rem 1rem;
    }
}
main {
    flex: 1 0 auto;
    display: block;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    padding: 0;
}
footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 2rem 1rem 1rem 1rem;
    margin: 0;
    border-radius: 0;
    width: 100%;
}

.contact-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-link[href^="mailto:"]:hover {
    color: #40E0D0;
    text-decoration: underline;
}

/* Hero Banner Styles */
.hero {
    position: relative;
    text-align: center;
    padding: 1rem;
    color: #fff;
    border-radius: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    overflow: hidden;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    z-index: 2;
    margin: 0;
    background-color: #C42327;
}

/* Ensure non-homepage heroes have consistent text positioning */
body:not(.home-page) .hero {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.9;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
    margin: 0 auto;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
}

/* Homepage specific styles */
body.home-page .hero {
    min-height: 400px;
    padding: 4rem 1rem 2rem 1rem;
}

.hero-content h1 {
    font-size: 2rem;
    margin: 1.5rem 0 1rem;
}

.hero-content p {
    font-size: 1.1rem;
    margin: 1rem 0;
}

/* Services section */
.services-section {
    padding: 3rem 2rem;
}

/* Service cards */
.services-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 0;
    padding: 0;
}
.service-card {
    background: #fff;
    border: 2px solid #C42327;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: #C42327;
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card:hover {
    background: #fafafa;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 24px rgba(196, 35, 39, 0.15);
    border-color: #a81c1f;
}

.service-icon {
    font-size: 3.5rem;
    color: #C42327;
    margin: 1rem 0 1.5rem 0;
    display: inline-block;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
    color: #a81c1f;
    text-shadow: 0 4px 12px rgba(196, 35, 39, 0.3);
}

.service-icon::before {
    transition: all 0.3s ease;
}

.service-card:nth-child(1) .service-icon {
    animation: float 3s ease-in-out infinite;
}

.service-card:nth-child(2) .service-icon {
    animation: pulse 2.5s ease-in-out infinite;
}

.service-card:nth-child(3) .service-icon {
    animation: bounce 2s ease-in-out infinite;
}

.service-card:nth-child(4) .service-icon {
    animation: swing 3.5s ease-in-out infinite;
}

.service-card:nth-child(5) .service-icon {
    animation: shake 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-6px); }
    60% { transform: translateY(-3px); }
}

@keyframes swing {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(3deg); }
    75% { transform: rotate(-3deg); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}
.service-card:hover {
    box-shadow: 0 4px 16px rgba(196,35,39,0.15);
}
.service-card h3 {
    color: #C42327;
    margin-top: 0;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.service-card p {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: #a81c1f;
}

.service-card:hover p {
    color: #333;
}

/* Enhanced Portfolio Styles */
.enhanced-portfolio {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: center;
    margin: 3rem 0 2rem 0;
}
.portfolio-item.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border: 2px solid #C42327;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(196,35,39,0.10);
    width: 340px;
    min-height: 340px;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
    overflow: hidden;
}
.portfolio-item.service-card:hover {
    box-shadow: 0 8px 32px rgba(196,35,39,0.18);
    transform: translateY(-6px) scale(1.03);
}
.portfolio-img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 1.2rem;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.portfolio-details {
    text-align: center;
    max-width: 90%;
    margin: 0 auto;
}
.portfolio-details h3 {
    color: #C42327;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}
.portfolio-details p {
    color: #444;
    font-size: 1rem;
}

/* Team bios */
.team-bios {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    padding: 2rem 0;
}
.team-member {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    background: #f5f5f5;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

.team-member h4 {
    color: #C42327;
    margin: 0.5rem 0;
    font-size: 1.2rem;
}

.team-member p {
    color: #666;
    margin: 0.5rem 0;
}

.member-bio {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.member-bio p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
}

/* Mission, Vision, Core Values */
.mission-vision {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 2rem auto;
    max-width: 1200px;
    padding: 0 2rem;
}

.mission, .vision {
    flex: 1;
    background: #fff;
    border: 2px solid #C42327;
    border-radius: 10px;
    padding: 2rem 1.5rem;
    min-width: 220px;
}

.mission h3, .vision h3 {
    color: #C42327;
}

.core-values {
    padding: 3rem 0;
    margin: 2rem 0;
    background: #f8f8f8;
}

.core-values-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.core-value-item {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.core-value-item:hover {
    transform: translateY(-5px);
}

.core-value-item i {
    font-size: 2.5rem;
    color: #C42327;
    margin-bottom: 1rem;
}

.core-value-item h4 {
    color: #333;
    margin: 1rem 0;
    font-size: 1.3rem;
}

.core-value-item p {
    color: #666;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .services-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .core-values-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .services-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    /* Reduce animations on mobile for better performance */
    .service-card:nth-child(1) .service-icon,
    .service-card:nth-child(2) .service-icon,
    .service-card:nth-child(3) .service-icon,
    .service-card:nth-child(4) .service-icon,
    .service-card:nth-child(5) .service-icon {
        animation: none;
    }
    
    .service-icon {
        font-size: 3rem;
    }
}

/* Standardize section margins */
section {
    margin: 0;
    padding: 3rem 2rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Standard content widths */
.events-list,
.contact-form,
.open-positions,
.portfolio-list,
.team-list,
.testimonials-grid,
.services-list {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* Standard card paddings */
.service-card,
.team-member,
.testimonial-card,
.event-card,
.portfolio-item {
    padding: 2rem 1.5rem;
}

/* Standard gaps */
.services-list,
.portfolio-list,
.testimonials-grid {
    gap: 2rem;
}

/* Carousel styles */
.carousel {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
    overflow: hidden;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.1);
    padding: 2rem 0;
}

.carousel-track {
    display: flex;
    gap: 3rem;
    padding-right: 3rem;
}

.carousel-track img {
    width: 280px;
    height: 160px;
    object-fit: contain;
    flex-shrink: 0;
    background: #fff;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.carousel:hover .carousel-track {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}
/* Chatbot styles */
#chatbot {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 320px;
    max-width: 90vw;
    background: #fff;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    border: 1px solid #ddd;
    z-index: 1000;
    display: none;
    flex-direction: column;
}
#chatbot-header {
    background: #C42327;
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 12px 12px 0 0;
    font-weight: bold;
    cursor: pointer;
}
#chatbot-messages {
    padding: 1rem;
    height: 200px;
    overflow-y: auto;
    font-size: 0.95rem;
}
#chatbot-input {
    display: flex;
    border-top: 1px solid #eee;
}
#chatbot-input input {
    flex: 1;
    border: none;
    padding: 0.75rem;
    font-size: 1rem;
    border-radius: 0 0 0 12px;
}
#chatbot-input button {
    background: #C42327;
    color: #fff;
    border: none;
    padding: 0 1.2rem;
    font-size: 1.1rem;
    border-radius: 0 0 12px 0;
    cursor: pointer;
}
#chatbot-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 30px;
    background: #C42327;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    transition: transform 0.3s ease;
}

#chatbot-toggle:hover {
    transform: scale(1.1);
}

#chatbot {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    z-index: 1000;
    overflow: hidden;
}

#chatbot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #C42327;
    color: white;
    padding: 15px 20px;
    font-weight: bold;
}

#chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
}

#chatbot-messages {
    height: 360px;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.user-message, .bot-message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    margin: 5px 0;
}

.user-message {
    align-self: flex-end;
    background: #C42327;
    color: white;
}

.bot-message {
    align-self: flex-start;
    background: #f0f0f0;
    color: #333;
}

#chatbot-suggestions {
    padding: 10px;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    border-top: 1px solid #eee;
}

.suggestion-btn {
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 5px 10px;
    font-size: 0.9em;
    cursor: pointer;
    transition: background 0.3s ease;
}

.suggestion-btn:hover {
    background: #C42327;
    color: white;
    border-color: #C42327;
}

#chatbot-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #eee;
    background: white;
}

#chatbot-input input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    margin-right: 8px;
    outline: none;
}

#chatbot-input button {
    background: #C42327;
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#chatbot-input button:hover {
    transform: scale(1.1);
}

.contact-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}

.contact-link:hover {
    color: #C42327;
}

.contact-link.whatsapp:hover {
    color: #25D366;
}

.contact-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: currentColor;
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.contact-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* WhatsApp and Call Buttons */
#whatsapp-btn, #call-btn {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    color: #fff;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    cursor: pointer;
    z-index: 1002;
}
#whatsapp-btn {
    background: #03f65c;
    margin-bottom: 12px;
}
#call-btn {
    background: #000;
}
/* CTA Section and Buttons */
.cta-section {
    text-align: center;
    margin: 3rem 0;
}
.cta-btn {
    background: #C42327;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-right: 1rem;
    border: none;
    display: inline-block;
    transition: background 0.2s, color 0.2s;
}
.cta-btn:last-child {
    margin-right: 0;
    background: #fff;
    color: #C42327;
    border: 2px solid #C42327;
}
.cta-btn:hover {
    background: #a81c1f;
    color: #fff;
}
.cta-btn:last-child:hover {
    background: #C42327;
    color: #fff;
}

/* CTA Group with Icons */
.cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.cta-icon {
    font-size: 1.5rem;
    color: #C42327;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #C42327;
    text-decoration: none;
    transition: all 0.2s;
}

.cta-icon:hover {
    background: #C42327;
    color: #fff;
}

/* Remove old floating buttons */
#whatsapp-call-btns {
    display: none;
}

/* Standardize section margins */
section {
    margin: 0;
    padding: 3rem 2rem;
}

/* Contact Form Styles */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border: 2px solid #C42327;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(196,35,39,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #C42327;
    outline: none;
}

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

.contact-form button {
    background: #C42327;
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.contact-form button:hover {
    background: #a81c1f;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 2rem;
}

.logo-container {
    padding: 1rem;
    width: 100%;
    text-align: center;
    margin-top: 0;
}

.logo-container img {
    max-width: 120px;
    height: auto;
    margin-bottom: 1rem;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin: 2rem 0;
}

.social-icons a {
    font-size: 1.8rem;
    transition: opacity 0.2s;
}

.social-icons a:hover {
    opacity: 0.8;
}

.facebook-icon { color: #1877F2; }
.twitter-icon { color: #FFFFFF; }
.instagram-icon { color: #E4405F; }
.threads-icon { color: #FFFFFF; }
/* Contact Section Layout */
.contact-container {
    display: flex;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.contact-left {
    flex: 0 1 450px;
}

.contact-details {
    flex: 0 1 300px;
    padding: 2rem;
    background: #f8f8f8;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.contact-details h2 {
    color: #C42327;
    margin-bottom: 1.5rem;
}

.contact-details p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-details a {
    color: #C42327;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-details a:hover {
    color: #a81c1f;
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }
    .contact-left, .contact-details {
        flex: 1;
    }
}

/* Hero styles have been consolidated above */

/* Open Positions Section */
.open-positions {
    max-width: 600px;
    margin: 0 auto;
    padding: 1.5rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.open-positions h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #333;
}

.job-listings {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.job-listings li {
    margin: 0;
}

.job-listings a {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    background: #f8f8f8;
    border-radius: 6px;
    transition: all 0.2s ease;
    border: 1px solid #eee;
}

.job-listings a:hover {
    background: #C42327;
    color: #fff;
    transform: translateX(5px);
}

/* Job Application Form Styles */
.application-form-section {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.application-form {
    background: #fff;
    padding: 2rem;
    border: 2px solid #C42327;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(196,35,39,0.1);
}

/* Row container for form fields */
.form-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.0rem;
    align-items: flex-start;
}

.application-form .form-group {
    margin-bottom: 0;
    flex: 1;
}

/* Full width rows for certain fields */
.form-row.full-width {
    flex-direction: column;
}
.form-row.full-width .form-group {
    width: 100%;
}

.application-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: bold;
}

.application-form input[type="text"],
.application-form input[type="email"],
.application-form input[type="tel"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.application-form input[type="file"] {
    width: 100%;
    padding: 0.5rem 0;
    font-size: 1rem;
}

.application-form input:focus {
    border-color: #C42327;
    outline: none;
}

.application-form .submit-btn {
    background: #C42327;
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    margin-top: 1rem;
}

.application-form .submit-btn:hover {
    background: #a81c1f;
}

/* Mobile responsiveness for application form */
@media (max-width: 768px) {
    .application-form {
        padding: 1.5rem;
    }

    .form-row {
        flex-direction: column;
        gap: 1rem;
    }

    .form-row .form-group {
        width: 100%;
    }
}

/* Job Listings Styles */
.job-listings li {
    transition: all 0.3s ease;
}

.job-listings a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.job-listings a:hover {
    color: #C42327;
    background: #f5f5f5;
    padding-left: 1.5rem;
}

.job-listings li:last-child a {
    border-bottom: none;
}

/* Enhanced Case Studies & Portfolio */
.case-studies {
    padding: 4rem 2rem;
}

.case-studies h2 {
    text-align: center;
    color: #333;
    margin-bottom: 3rem;
}

.portfolio-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin: 0 auto;
    max-width: 1200px;
}

.portfolio-item.service-card {
    flex: 1;
    min-width: 320px;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.portfolio-item .service-icon {
    font-size: 2.5rem;
    color: #C42327;
    margin: 1rem 0;
}

.portfolio-item h3 {
    font-size: 1.4rem;
    margin: 0;
}

.achievements {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    text-align: left;
}

.achievements li {
    padding: 0.5rem 0;
    color: #444;
    position: relative;
    padding-left: 1.5rem;
}

.achievements li::before {
    content: "✓";
    color: #C42327;
    position: absolute;
    left: 0;
}

/* Testimonials Section */
.testimonials {
    background: #f8f8f8;
    padding: 4rem 2rem;
}

.testimonials h2 {
    text-align: center;
    color: #333;
    margin-bottom: 3rem;
}

.testimonials {
    background: #f9f9f9;
    padding: 4rem 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: #C42327;
    opacity: 0.2;
    font-family: serif;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: #f5f5f5;
}

.testimonial-card blockquote {
    margin: 0;
    font-style: italic;
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-card footer {
    margin-top: 1rem;
    color: #C42327;
    font-weight: bold;
    font-style: normal;
}

/* CTA Section Enhancements */
.cta-section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .portfolio-item.service-card {
        min-width: 100%;
    }
    
    .testimonial-card {
        min-width: 100%;
    }
    
    .case-studies,
    .testimonials {
        padding: 3rem 1rem;
    }
}

/* Additional styles for hero CTA section */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.hero-cta .cta-btn {
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
    background-color: #fff;
    color: #C42327;
    border: 2px solid #fff;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-cta .cta-btn:hover {
    background-color: transparent;
    color: #fff;
}

/* Screen Reader Only Text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.header-top {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 1rem;
}

.header-top .cta-icon {
    color: #C42327;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.header-top .cta-icon:hover {
    color: #000000;
}

.contact-icons {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
}

.contact-icons .cta-icon {
    width: 60px;
    height: 60px;
    border-radius: 30px;
    background: rgba(196, 35, 39, 0.9);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.contact-icons .cta-icon:hover {
    transform: translateY(-5px);
    background: #000000;
}

.contact-icons .cta-icon i {
    font-size: 24px;
}

/* Events page styles */
.events-list {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.events-section {
    margin-bottom: 4rem;
}


.event-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 320px;
    margin: 0 auto;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
}

.event-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(196, 35, 39, 0.2);
    border-color: #C42327;
}

.event-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.4s ease;
    position: relative;
}

.event-card:hover .event-image {
    transform: scale(1.05);
}

.event-details {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.event-date {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    background: #C42327;
    color: white;
    margin: 0;
    font-weight: bold;
    transition: all 0.3s ease;
}

.event-card:hover .event-date {
    background: #a81c1f;
}

.event-date .month {
    font-size: 1rem;
    font-weight: bold;
}

.event-date .day {
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1;
}

.event-date .year {
    font-size: 1rem;
}

.event-details h3 {
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease;
    line-height: 1.3;
}

.event-card:hover .event-details h3 {
    color: #C42327;
}

.event-location,
.event-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    margin: 0.2rem 0;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.event-location i,
.event-time i {
    color: #C42327;
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

.event-card:hover .event-location,
.event-card:hover .event-time {
    color: #555;
}

.event-description {
    color: #666;
    margin: 0.5rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.event-card:hover .event-description {
    color: #555;
}

.event-register {
    display: inline-block;
    background: #C42327;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
    font-weight: bold;
    font-size: 0.85rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(196, 35, 39, 0.3);
    position: relative;
    overflow: hidden;
    align-self: flex-start;
}

.event-register::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

.event-register:hover::before {
    left: 100%;
}

.event-register:hover {
    background: #a81c1f;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(196, 35, 39, 0.4);
}

@media (max-width: 1024px) {
    .events-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .events-list {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1.5rem;
    }
    
    .event-card {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .event-details {
        padding: 1.2rem;
    }
    
    .event-date {
        padding: 0.6rem 1rem;
    }
    
    .event-date .month,
    .event-date .day,
    .event-date .year {
        font-size: 0.9rem;
    }
    
    .event-register {
        padding: 0.5rem 1.2rem;
        font-size: 0.8rem;
    }
}

/* Updated footer styles */
.footer-links {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    padding: 0 1rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Team page layout update */
.team-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.top-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.bottom-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

/* Card styles */
.team-member {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

/* Featured cards (top row) */
.team-member.featured {
    flex: 0 1 450px;
    padding: 2rem;
}

.team-member.featured img {
    width: 200px;
    height: 200px;
}

/* Regular cards (bottom row) */
.bottom-row .team-member {
    flex: 0 1 300px;
    padding: 1.5rem;
}

.bottom-row .team-member img {
    width: 150px;
    height: 150px;
}

@media (max-width: 991px) {
    .top-row,
    .bottom-row {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .team-member.featured,
    .bottom-row .team-member {
        width: 100%;
        max-width: 400px;
    }
    
    .bottom-row {
        margin-top: 1.5rem;
    }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .team-list {
        grid-template-columns: 1fr;
        grid-template-areas:
            "featured"
            "featured"
            "normal"
            "normal"
            "normal";
    }

    .team-member.featured {
        margin-bottom: 1rem;
    }
}

.hero-contact-icons {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.contact-icon {
    color: #fff;
    font-size: 1.5rem;
    transition: transform 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
}

.contact-icon.whatsapp {
    color: #25D366; /* WhatsApp green */
}

.contact-icon.phone {
    color: #0088cc; /* Bright blue */
}

.contact-icon:hover {
    transform: scale(1.1);
}

.careers {
    padding: 1rem 2rem;
    text-align: center;
    margin: 1rem 0;
}

.careers h2 {
    color: #080808;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: left;
}

.job-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.job-column {
    flex: 1;
}

.job-listings {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.job-listings li {
    margin: 0.55rem 0;
    font-size: 0.95rem;
    white-space: nowrap;
}

.job-listings a {
    color: #100f0f;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.job-listings a:hover {
    color: #C42327;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .job-grid {
        flex-direction: column;
        gap: 3.5rem;
    }
    
    .job-listings {
        text-align: center;
    }
}
