/* Global Styles */
:root {
    /* Primary Colors */
    --primary-blue: #2C3E94;
    --primary-gold: #FDBB30;
    --charcoal: #333333;
    
    /* Secondary Colors */
    --soft-gray: #F5F6FA;
    --mid-gray: #AAB1C4;
    --white: #FFFFFF;
    
    /* Functional Variables */
    --navbar-height: 76px;

    /* Bootstrap Overrides */
    --bs-primary: var(--primary-gold);
    --bs-primary-rgb: 253, 187, 48;
    --bs-link-color: var(--primary-gold);
    --bs-link-hover-color: #e5a82b;
}

/* Bootstrap Component Overrides */
.btn-primary {
    --bs-btn-bg: var(--primary-gold);
    --bs-btn-border-color: var(--primary-gold);
    --bs-btn-hover-bg: #e5a82b;
    --bs-btn-hover-border-color: #e5a82b;
    --bs-btn-active-bg: #cc9626;
    --bs-btn-active-border-color: #cc9626;
    --bs-btn-disabled-bg: var(--primary-gold);
    --bs-btn-disabled-border-color: var(--primary-gold);
}

.form-control:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 0.25rem rgba(253, 187, 48, 0.25);
}

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

.form-check-input:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 0.25rem rgba(253, 187, 48, 0.25);
}

/* Typography */
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height);
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--charcoal);
    padding-top: var(--navbar-height);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary-blue);
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
}

/* Buttons */
.btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(3px);
}

/* Primary Button */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold) 0%, #e5a82b 100%);
    border: none;
    color: var(--charcoal);
    position: relative;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e5a82b 0%, var(--primary-gold) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    color: var(--charcoal);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(253, 187, 48, 0.3);
}

.btn-primary:hover::before {
    opacity: 1;
}

/* Outline Light Button */
.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-outline-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-gold) 100%);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.btn-outline-light:hover {
    border-color: transparent;
    color: var(--white);
}

.btn-outline-light:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Icon Button Variations */
.btn-icon-pulse i {
    animation: pulse 1.5s infinite;
}

.btn-icon-rotate:hover i {
    transform: rotate(180deg);
}

.btn-icon-bounce:hover i {
    animation: bounce 0.5s;
}

/* Button Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

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

/* Button Sizes */
.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-lg i {
    font-size: 1.4rem;
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

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

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

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.navbar-nav .nav-link {
    color: var(--charcoal) !important;
    opacity: 0.9;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    opacity: 1;
    color: var(--primary-gold) !important;
}

.navbar-toggler {
    border-color: var(--charcoal);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2851, 51, 51, 0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-color: var(--charcoal);
    overflow: hidden;
}

/* Carousel Styles */
.carousel {
    height: 100%;
}

.carousel-inner {
    height: 100%;
}

.carousel-item {
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Remove the old background-image definitions */
.carousel-item:nth-child(1),
.carousel-item:nth-child(2),
.carousel-item:nth-child(3) {
    background-image: none;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.carousel-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.carousel-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease 0.2s forwards;
}

.carousel-content .btn {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease 0.4s forwards;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-indicators {
    margin-bottom: 2rem;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: var(--white);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: var(--primary-gold);
    opacity: 1;
    transform: scale(1.2);
}

/* Animation Keyframes */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .carousel-content h1 {
        font-size: 2.5rem;
    }
    
    .carousel-content p {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .carousel-content h1 {
        font-size: 2rem;
    }
    
    .carousel-content p {
        font-size: 1.1rem;
    }
    
    .carousel-content .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* About Us Section */
.about-us {
    background-color: var(--white);
    padding: 5rem 0;
}

.about-images {
    position: relative;
}

.about-image-main {
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-image-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.about-image-main:hover img {
    transform: scale(1.05);
}

.about-image-secondary {
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-image-secondary:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.about-image-secondary:hover img {
    transform: scale(1.05);
}

.image-placeholder {
    border-radius: 15px;
    background-color: #f8f9fa;
    border: 2px dashed #dee2e6;
    transition: all 0.3s ease;
}

.image-placeholder:hover {
    border-color: var(--primary-gold);
    background-color: #f8f9fa;
}

.image-placeholder i {
    color: #dee2e6;
    transition: color 0.3s ease;
}

.image-placeholder:hover i {
    color: var(--primary-gold);
}

.image-placeholder p {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0;
}

.about-us h2 {
    color: var(--primary-blue);
}

/* Our Focus Section */
.our-focus {
    background-color: var(--primary-gold);
    color: var(--charcoal);
    padding: 4rem 0;
    position: relative;
}

.our-focus::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 148, 0.05) 0%, rgba(255, 255, 255, 0.1) 100%);
}

.our-focus h2,
.our-focus h3 {
    color: var(--charcoal);
}

.our-focus .text-light {
    color: var(--charcoal) !important;
}

.our-focus .btn-outline-light {
    color: var(--charcoal);
    border-color: var(--charcoal);
}

.our-focus .btn-outline-light:hover {
    background-color: var(--charcoal);
    border-color: var(--charcoal);
    color: var(--white);
}

/* Custom Accordion in Focus Section */
.custom-accordion .accordion-item {
    background-color: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

.custom-accordion .accordion-button {
    background-color: var(--white);
    color: var(--charcoal);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.5rem;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background-color: var(--white);
    color: var(--primary-gold);
}

.custom-accordion .accordion-button::after {
    background-color: var(--primary-blue);
    border-radius: 50%;
    padding: 0.75rem;
    background-position: center;
    background-size: 12px;
}

.custom-accordion .accordion-body {
    background-color: var(--white);
    color: var(--charcoal);
    padding: 1.5rem;
}

.custom-accordion .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(44, 62, 148, 0.25);
}

/* What We Believe Section */
.what-we-believe {
    background-color: var(--soft-gray);
}

.what-we-believe h2 {
    color: var(--primary-blue);
}

.belief-item i {
    color: var(--primary-gold);
}

.belief-item h3 {
    color: var(--primary-gold);
}

/* Contact Form Section */
.contact-form {
    background-color: var(--white);
}

.contact-form h2 {
    color: var(--primary-blue);
}

.form-control {
    padding: 0.75rem 1rem;
    border: 1px solid var(--mid-gray);
    border-radius: 5px;
}

.form-control:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 0.25rem rgba(253, 187, 48, 0.25);
}

/* Footer */
.footer {
    background-color: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer p {
    color: var(--charcoal);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.footer p small {
    opacity: 0.8;
}

.footer a {
    color: var(--primary-gold) !important;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #e5a82b !important;
}

.footer-links {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--charcoal) !important;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-gold) !important;
}

.footer-links .text-muted {
    font-size: 0.9rem;
    opacity: 0.5;
}

/* Responsive Design */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: var(--white);
        padding: 1rem;
        border-radius: 0.5rem;
        margin-top: 0.5rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
    }
}

/* Why Choose Us Section */
.why-choose-us {
    background-color: var(--soft-gray);
    position: relative;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 148, 0.05) 0%, rgba(253, 187, 48, 0.05) 100%);
}

.choose-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.choose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-blue), var(--primary-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.choose-card:hover::before {
    transform: scaleX(1);
}

.choose-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-gold) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.choose-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.choose-card:hover .choose-icon {
    transform: rotateY(180deg);
}

.choose-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--charcoal);
    font-weight: 600;
}

.choose-card p {
    color: #666;
    margin-bottom: 0;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .choose-card {
        padding: 1.5rem;
    }
    
    .choose-icon {
        width: 50px;
        height: 50px;
    }
    
    .choose-icon i {
        font-size: 1.5rem;
    }
    
    .choose-card h3 {
        font-size: 1.2rem;
    }
}

/* Service List Styles */
.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.service-list li i {
    color: var(--primary-gold);
    font-size: 1.2rem;
}

/* Accordion Icons */
.custom-accordion .accordion-button i {
    color: var(--primary-gold);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.custom-accordion .accordion-button:not(.collapsed) i {
    transform: scale(1.2);
}

/* Belief Icons */
.belief-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-gold) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: all 0.3s ease;
}

.belief-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.belief-item:hover .belief-icon {
    transform: rotateY(180deg);
}

.mission-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.mission-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.mission-list li i {
    color: var(--primary-gold);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* Contact Form Icons */
.input-group-text {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-gold) 100%);
    border: none;
    color: var(--white);
}

.input-group-text i {
    font-size: 1.2rem;
}

.input-group:focus-within .input-group-text {
    background: var(--primary-blue);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .belief-icon {
        width: 60px;
        height: 60px;
    }

    .belief-icon i {
        font-size: 2rem;
    }

    .service-list li i,
    .input-group-text i {
        font-size: 1rem;
    }
}

/* Certifications */
.certifications {
    padding: 1rem;
    background-color: var(--soft-gray);
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
}

.certifications p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.certifications p:last-child {
    margin-bottom: 0;
}

.certifications strong {
    color: var(--primary-blue);
    font-family: 'Montserrat', sans-serif;
} 