:root {
    --ink-black: #0D1F22;
    --charcoal: #484A5B;
    --mauve: #703D57;
    --old-rose: #C98CA7;
    --dry-sage: #A5A58D;
    --dusty-olive: #6B705C;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: #0D1F22;
    background-color: #fff;
}

.navbar-agency {
    background-color: var(--dry-sage);
    transition: all 0.3s ease;
}

.navbar-agency .navbar-brand,
.navbar-agency .nav-link {
    color: #fff !important;
}

.navbar-agency .nav-link:hover {
    color: var(--mauve) !important;
}

.brand-logo {
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.masthead {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    background:
        linear-gradient(rgba(1, 1, 1, 1), rgba(0, 0, 0, 0.1)),
        url('https://images.pexels.com/photos/357428/pexels-photo-357428.jpeg') center center / cover no-repeat;
}

.masthead-subheading {
    font-size: 1.6rem;
    font-style: italic;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 1);
    margin-bottom: 1rem;
    color: var(--mauve);
}

.masthead-heading {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--mauve);
}

.btn-agency {
    background-color: var(--dusty-olive);
    border: none;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border-radius: 0.4rem;
}

.btn-agency:hover {
    background-color: var(--mauve);
    color: #fff;
}

.section-padding {
    padding: 6rem 0;
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subheading {
    color: var(--mauve);
    margin-bottom: 3rem;
    text-align: center;
    font-style: italic;
}

.service-icon {
    width: 7rem;
    height: 7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--mauve);
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.course-card {
    border: none;
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.08);
    overflow: hidden;
    height: 100%;
}

.course-card img {
    height: 260px;
    object-fit: cover;
}

.course-card .card-body {
    padding: 2rem;
}

.about-section {
    background-color: #f8f4f1;
}

.timeline {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    margin-left: -1px;
    background-color: var(--dry-sage);
}

.timeline>li {
    position: relative;
    min-height: 120px;
    margin-bottom: 3rem;
}

.timeline-panel {
    position: relative;
    width: 42%;
    padding: 0 1.5rem;
}

.timeline>li:nth-child(odd) .timeline-panel {
    float: left;
    text-align: right;
}

.timeline>li:nth-child(even) .timeline-panel {
    float: right;
    text-align: left;
}

.timeline-image {
    position: absolute;
    left: 50%;
    width: 90px;
    height: 90px;
    margin-left: -45px;
    border: 7px solid var(--dusty-olive);
    border-radius: 50%;
    background-color: var(--dusty-olive);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
    z-index: 10;
    padding: 0.5rem;
}

.timeline-heading h4 {
    margin-top: 0;
    font-weight: 700;
    color: var(--mauve);
}

.timeline-body p {
    color: var(--charcoal);
    margin-bottom: 0;
}

.timeline>li::after {
    content: "";
    display: table;
    clear: both;
}

.gallery-item {
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.08);
    background-color: #fff;
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.contact-section {
    background:
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url('https://images.pexels.com/photos/6611462/pexels-photo-6611462.jpeg') center center / cover no-repeat;
    color: #fff;
}

.contact-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    padding: 2rem;
}

.footer-agency {
    background-color: #f2f3ef;
    border-top: 3px solid var(--dusty-olive);
    padding: 1.5rem 0;
    color: var(--charcoal);
}

/* WHY CHOOSE US SECTION */
#services .section-heading {
    color: var(--dusty-olive);
}

#services .section-subheading {
    color: var(--charcoal);
}

#services h4 {
    color: var(--old-rose);
}

/* COURSES SECTION */
#courses .section-heading {
    color: var(--mauve);
}

#courses .section-subheading {
    color: var(--charcoal);
}

#courses .card-title {
    color: var(--old-rose);
}

/* ABOUT SECTION */
#about .section-heading {
    color: var(--mauve);
}

#about .section-subheading {
    color: var(--old-rose);
}

/* GALLERY SECTION */
#gallery .section-heading {
    color: var(--mauve);
}

#gallery .section-subheading {
    color: var(--charcoal);
}

/* CONTACT SECTION */
#contact .section-heading {
    color: var(--mauve);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.contact-subheading {
    color: #d1cdcd !important;
    font-style: italic;
}

#contact .contact-box p {
    color: #fff;
}

@media (max-width: 991px) {
    .masthead-heading {
        font-size: 2.5rem;
    }

    .timeline:before {
        left: 40px;
    }

    .timeline>li .timeline-panel {
        width: calc(100% - 100px);
        float: right !important;
        text-align: left !important;
    }

    .timeline-image {
        left: 40px;
        margin-left: 0;
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 768px) {
    .masthead-subheading {
        font-size: 1.2rem;
    }

    .masthead-heading {
        font-size: 2rem;
    }
}

form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

form label {
    display: block;
    font-weight: 600;
    margin-top: 0.4rem;
    margin-bottom: 0.4rem;
    color: #333;
}

.form-text {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fafafa;
}

form input:focus,
form textarea:focus {
    border-color: #0078d4;
    box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.15);
    outline: none;
}

form .radio label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
}

.radio {
    display: flex;
    gap: 1rem;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}
