/* base.html */
:root {
    --primary-color: #2E2E2E;
    --accent-color: #007BFF;
    --background-color: #F9F9F9;
    --secondary-color: #D3D3D3;
    --highlight-color: #FF6B6B;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

.custom-logo {
    width: 40px;  /* Adjust width */
    height: 40px; /* Adjust height */
}

.accent-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

/* Navigation */
.navbar {
    background-color: var(--white) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--primary-color) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: var(--accent-color);
    color: white !important;
    transform: translateY(-2px);
}

/* Button Styles */
.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-outline-primary {
    color: var(--accent-color);
    border-color: var(--accent-color);
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Section Spacing */
.section-padding {
    padding: 5rem 0;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background-color: var(--white);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card-header {
    background-color: transparent;
    border-bottom: 2px solid var(--secondary-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Icons */
.icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), var(--highlight-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.icon-circle:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer h5 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid var(--secondary-color);
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    color: var(--secondary-color);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .btn-primary,
    .btn-outline-primary {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.loading {
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/************************************* Home Page Hero Section */
.hero {
    background:  linear-gradient(135deg, var(--accent-color), #111111);
    background-size: cover;
    background-attachment: fixed;
    height: 80vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
}

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

.hero-content .lead {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-stats {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number-home {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    display: block;
}

/* Expertise Section */
.expertise-section {
    background: linear-gradient(45deg, #f8f9fa, #ffffff);
}

.expertise-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--secondary-color);
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,123,255,0.1);
    border-color: var(--accent-color);
}

.expertise-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), #6c5ce7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

/* Services Section */
.services-section {
    background-color: var(--background-color);
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-header {
    background: linear-gradient(135deg, var(--accent-color), var(--highlight-color));
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.service-header i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.service-body {
    padding: 2rem;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--secondary-color);
}

.service-features li:before {
    content: "✓";
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--primary-color), #1a1a1a);
    color: white;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
}

.contact-item-home {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item-home:hover {
    background: rgba(0, 123, 255, 0.1);
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content .lead {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-stats {
        padding: 1.5rem;
    }
}
/***************** About.html *****************/
.about-hero {
    background: linear-gradient(135deg, rgba(46, 46, 46, 0.9), rgba(0, 123, 255, 0.8));
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
}

.story-section {
    padding: 5rem 0;
    background: white;
}

.mission-section {
    background: var(--background-color);
    padding: 5rem 0;
}

.team-section {
    padding: 5rem 0;
    background: white;
}

.team-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--highlight-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 3rem;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.team-role {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 2rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: var(--accent-color);
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--accent-color);
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.certifications-section {
    background: var(--background-color);
    padding: 5rem 0;
}

.certification-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

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

.cert-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), var(--highlight-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.values-section {
    padding: 5rem 0;
    background: white;
}

.value-item {
    background: var(--background-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid transparent;
}

.value-item:hover {
    background: white;
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,123,255,0.1);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
}

.stats-section {
    background: linear-gradient(135deg, var(--primary-color), #1a1a1a);
    color: white;
    padding: 5rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/************** Contact Page Styles ***************************/
.contact-hero {
    background: linear-gradient(135deg, rgba(46, 46, 46, 0.9), rgba(0, 123, 255, 0.8));
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
}

.contact-form {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    margin-top: -2rem;
    position: relative;
    z-index: 2;
}

.form-control {
    border: 2px solid var(--secondary-color);
    border-radius: 10px;
    padding: 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-info-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: var(--background-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: var(--accent-color);
    color: white;
    transform: translateX(10px);
}

.contact-item:hover .contact-icon {
    background: white;
    color: var(--accent-color);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.quote-section {
    background: var(--background-color);
    padding: 5rem 0;
}

.quote-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.quote-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), var(--highlight-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.map-section {
    padding: 5rem 0;
    background: white;
}

.map-placeholder {
    background: var(--background-color);
    border-radius: 15px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    border: 2px dashed var(--secondary-color);
}

.hours-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hours-table th {
    background: var(--accent-color);
    color: white;
    font-weight: 600;
    padding: 1rem;
}

.hours-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--secondary-color);
}

.hours-table tr:hover {
    background: var(--background-color);
}

.form-check-input:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-submit {
    background: linear-gradient(135deg, var(--accent-color), var(--highlight-color));
    border: none;
    color: white;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
    color: white;
}

.emergency-contact {
    background: linear-gradient(135deg, var(--highlight-color), #ff8787);
    color: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.emergency-contact h4 {
    margin-bottom: 1rem;
}

.emergency-contact .btn {
    background: white;
    color: var(--highlight-color);
    border: none;
    font-weight: 600;
}

.emergency-contact .btn:hover {
    background: var(--background-color);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .contact-form {
        margin: 2rem 1rem;
        padding: 2rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin: 0 0 1rem 0;
    }
}