/* 
    branch.css 
    Styles for branch pages like Shivaji Nagar, etc.
    Focus on a clean, open, text-driven "non-boxy" aesthetic.
*/

html, body {
    overflow-x: clip;
    width: 100%;
}

/* Hero Section */
.branch-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f6ff 0%, #ffffff 100%);
    position: relative;
    padding: 40px 20px;
    margin-top: 20px;
}

.branch-hero-container {
    max-width: 1400px; /* Increased to allow large inline buttons */
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* 2-Column Hero Grid layout */
.branch-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.branch-hero-grid .branch-hero-title,
.branch-hero-grid .branch-hero-subtitle,
.branch-hero-grid .branch-text {
    text-align: left !important;
}

.branch-hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(11, 76, 134, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 8px solid #ffffff;
}

.branch-hero-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(11, 76, 134, 0.2);
}

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

.branch-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color-darker);
    margin-bottom: 20px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.branch-hero-subtitle {
    font-size: 1.15rem;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.6;
    font-weight: 500;
}

.branch-hero-btn-group {
    display: flex;
    flex-wrap: nowrap !important; /* Force single line */
    justify-content: center;
    align-items: center;
    gap: 30px; /* Big spacing for 3 buttons */
    margin-top: 45px;
    width: 100%;
    overflow-x: auto; /* Prevent page break on tiny screens */
}

.branch-hero-btn-group a {
    white-space: nowrap !important; /* Prevent text wrapping */
    padding: 0 35px !important;
    font-size: 16px !important; /* Large prominent size */
    font-weight: 600;
    margin: 0 !important; /* Fix vertical misalignment */
    flex: 0 1 auto; /* Allow slight squeezing if needed */
    height: 52px !important; /* Large button height */
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box !important;
}

.branch-hero-btn-group a i {
    margin-right: 10px; /* Space between icon and text */
    font-size: 1.1em;
}

/* Responsive Hero */
@media (max-width: 1200px) {
    .branch-hero-grid .branch-hero-btn-group {
        flex-wrap: wrap !important;
    }
}

@media (max-width: 992px) {
    .branch-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .branch-hero-grid .branch-hero-title,
    .branch-hero-grid .branch-hero-subtitle {
        text-align: center !important;
    }

    .branch-hero-grid .branch-text {
        text-align: justify !important;
    }

    .branch-hero-btn-group {
        flex-direction: column !important;
        gap: 15px;
        align-items: center;
    }
    .branch-hero-btn-group a {
        width: 100% !important;
        max-width: 350px; /* Prevents buttons from getting too massive on tablets */
    }
}

/* Sections */
.branch-section {
    padding: 40px 20px;
    background-color: #ffffff;
}

.branch-section-alt {
    padding: 40px 20px;
    background-color: var(--background-light); /* #fafafa */
}

.branch-container {
    max-width: 1400px;
    margin: 0 auto;
}

.branch-container-sm {
    max-width: 1400px;
    margin: 0 auto;
}

.branch-text {
    font-size: 1.08rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
    text-align: justify;
    letter-spacing: 0.1px;
}

.branch-text-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Button Wrappers */
.branch-btn-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.branch-btn-group.center {
    justify-content: center;
}

/* Mobile Button Stacking Fix */
@media (max-width: 768px) {
    .branch-btn-group {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: center;
    }
    
    .branch-btn-group a,
    .branch-btn-group .btnstyle,
    .branch-btn-group .cta-button2 {
        width: 100% !important;
        margin-bottom: 15px !important;
        flex: none !important;
        box-sizing: border-box;
    }
    
    .branch-btn-group a:last-child,
    .branch-btn-group .btnstyle:last-child,
    .branch-btn-group .cta-button2:last-child {
        margin-bottom: 0 !important;
    }
}

/* Premium Lists */
.branch-list {
    list-style-type: none;
    padding: 0;
    margin-bottom: 20px;
}

.branch-list li {
    font-size: 1.05rem;
    line-height: 1.5;
    color: #333;
    position: relative;
    
    padding: 12px 15px 12px 38px;
    margin-bottom: 12px;
    background: #f8fbff;
    border: 1px solid #e3efff;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.branch-list li:hover {
    background: #ffffff;
    box-shadow: 0 6px 15px rgba(11, 76, 134, 0.08);
    transform: translateY(-2px);
    border-color: #cce0ff;
}

.branch-list li::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a73e8 100%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(11, 76, 134, 0.3);
}

.branch-list-disc {
    list-style-type: disc;
    margin-left: 20px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.branch-list-disc li {
    margin-bottom: 8px;
}

/* Highlight Box */
.branch-highlight-box {
    background: linear-gradient(135deg, var(--primary-color), #0b4c86);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    color: #fff;
}

.branch-list-white {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.branch-list-white li {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
}

.branch-list-white li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #fff;
    font-size: 0.9rem;
}

/* Grid Layouts */
.branch-grid-2 {
    padding-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: 40px;
}

.branch-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .branch-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .branch-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Simple Info Blocks (less boxy) */
.branch-info-block {
    margin-bottom: 25px;
}

.branch-info-title {
    font-size: 1.15rem;
    color: var(--primary-color-darker);
    margin-bottom: 10px;
    font-weight: 600;
}

.branch-info-content {
    background: #fff;
    padding: 25px;
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.branch-info-content p {
    margin-bottom: 8px;
}

/* Contact List Box */
.branch-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.branch-contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 22px;
    font-size: 1.05rem;
    color: #333;
    line-height: 1.5;
}

.branch-contact-list li:last-child {
    margin-bottom: 0;
}

.branch-contact-list li i {
    color: var(--primary-color);
    font-size: 1.4rem;
    width: 35px;
    margin-top: 3px;
    flex-shrink: 0;
    text-align: center;
}

.branch-contact-list li strong {
    display: block;
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    font-weight: 700;
}

/* Tables */
.branch-table-wrapper {
    overflow-x: auto;
    margin-bottom: 30px;
}

/* Course Cards */
.branch-course-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 30px rgba(0,0,0,0.06);
    margin-bottom: 40px;
    border-top: 4px solid var(--primary-color);
}

.branch-course-card:last-child {
    margin-bottom: 0;
}

.branch-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    border: 1px solid #d1d8e0;
}

.branch-table th {
    padding: 14px 15px;
    border: 1px solid #d1d8e0;
    font-weight: 600;
    color: #222;
}

.branch-table td {
    padding: 14px 15px;
    border: 1px solid #e1e8f0;
    color: #444;
}

.branch-table tr:hover {
    background: #fcfcfc;
}

.branch-course-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.branch-course-link:hover {
    text-decoration: underline;
    color: #0b4c86;
}

/* Map Container */
.branch-map-container {
    width: 100%;
    height: 350px;
    background-color: #ddd;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Badges / Tags */
.branch-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.branch-tag {
    background: #f0f6ff;
    color: var(--primary-color-darker);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #e3efff;
}

/* Roles Grid */
.branch-roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.branch-role-box {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    border: 1px solid #f5f5f5;
}

.branch-role-box ul {
    list-style-type: none;
    padding: 0;
    line-height: 1.8;
    color: #444;
    font-size: 0.95rem;
}

.branch-role-box ul li {
    margin-bottom: 5px;
}

/* Trainer Profiles */
.branch-trainer-profile {
    background: transparent;
    padding: 20px 25px;
    border-left: 4px solid #FFD700; /* Golden accent */
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.branch-trainer-profile:hover {
    transform: translateX(5px);
}

.branch-trainer-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color-darker);
    margin-bottom: 8px;
}

.branch-trainer-role {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.branch-small-note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* Roles Grid */
.branch-roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.branch-role-box {
    background: #fff;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border-top: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.branch-role-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.branch-role-box .branch-info-title {
    font-size: 1.15rem;
    margin-bottom: 20px;
    text-align: center;
}

/* Check List for Roles */
.branch-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.branch-check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.4;
}

.branch-check-list li::before {
    content: '\f058'; /* fa-check-circle */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Feature Items (Why Choose Us) - No Boxes */
.branch-feature-item {
    text-align: center;
    padding: 15px 10px;
    transition: transform 0.3s ease;
}

.branch-feature-item:hover {
    transform: translateY(-5px);
}

.branch-feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: inline-block;
}

.branch-feature-divider {
    width: 50px;
    height: 3px;
    background-color: #FFD700;
    margin: 0 auto 15px auto;
    border-radius: 2px;
}

/* Gallery Grid */
.branch-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 992px) {
    .branch-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .branch-gallery-grid {
        grid-template-columns: 1fr;
    }
}

.branch-gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    background: #e9ecef;
    aspect-ratio: 3/2; /* Forces images to be perfectly uniform */
}

.branch-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
    position: relative;
    z-index: 2;
}

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

.gallery-placeholder-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #6c757d;
    font-size: 0.95rem;
    text-align: center;
    width: 100%;
    z-index: 1;
}

/* Simple Reviews */
.branch-review-item {
    padding: 10px 20px;
    border-left: 4px solid #FFD700;
    margin-bottom: 20px;
    background: transparent;
}

.branch-review-stars {
    font-size: 1.05rem;
    letter-spacing: 2px;
}

/* Button Group Responsiveness */
.branch-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.branch-btn-group a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.branch-btn-group a i {
    margin-right: 8px;
}

/* Table Responsiveness & Mobile Swipe Hint */
.mobile-swipe-text {
    display: none;
    font-size: 0.85rem;
    color: #888;
    text-align: right;
    margin-bottom: 5px;
    font-style: italic;
}

.branch-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* Optional custom scrollbar for better visibility on desktop/mobile */
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 #f1f1f1;
}

.branch-table-wrapper::-webkit-scrollbar {
    height: 6px;
}

.branch-table-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.branch-table-wrapper::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .mobile-swipe-text {
        display: block;
        animation: pulseFade 2s infinite;
    }
    
    @keyframes pulseFade {
        0% { opacity: 0.6; }
        50% { opacity: 1; }
        100% { opacity: 0.6; }
    }
}

/* Hover Tags */
.branch-hover-tag {
    transition: all 0.3s ease;
    cursor: default;
    font-size: 1.15rem !important;
    padding: 16px 20px !important;
}

.branch-hover-tag:hover {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-color: var(--primary-color) !important;
}

/* Trainer Image */
.branch-trainer-img {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

/* Eye-Catchy CTA Buttons */
.branch-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 55px;
    font-size: 1.1rem;
    padding: 0 30px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.branch-cta-gold {
    background: #FFD700;
    color: #111;
}

.branch-cta-white {
    background: #fff;
    color: var(--primary-color-darker);
}

.branch-cta-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.branch-cta-gold:hover {
    background: #ffea00;
}

.branch-cta-white:hover {
    background: #f0f6ff;
}

/* ============================================
   UTILITY CLASSES - Replacing inline styles
   ============================================ */

/* Layout helpers */
.branch-flex-col {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.branch-flex-col-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.branch-flex-grow {
    flex-grow: 1;
    margin-bottom: 0;
}

/* Info content card variant: top-bordered */
.branch-info-content.branch-card-top {
    height: 100%;
    border-left: none;
    border-top: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
}

.branch-info-content.branch-card-padded {
    flex-grow: 1;
    margin-bottom: 0;
    padding: 35px;
}

/* Info title size variant */
.branch-info-title.branch-title-lg {
    font-size: 1.4rem;
}

.branch-info-title.branch-title-md {
    font-size: 1.25rem;
}

/* Highlight box title (gold) */
.branch-highlight-box .branch-info-title {
    color: #FFD700;
}

/* Course tags box */
.branch-course-tags-box {
    background: #f8fbff;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 20px;
    border: 1px solid #e3efff;
}

.branch-course-tags-label {
    font-weight: 600;
    color: var(--primary-color-darker);
    font-size: 1.05rem;
}

.branch-course-tags-label i {
    margin-right: 8px;
}

.branch-course-tags-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Button group at bottom of card */
.branch-btn-group.branch-btn-bottom {
    display: flex;
    gap: 10px;
    padding-top: 20px;
    margin-top: auto;
}

.branch-btn-group.branch-btn-bottom a {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    text-align: center;
    padding: 0 10px;
    font-size: 0.95rem;
    border-radius: 6px;
    line-height: 1.2;
}

/* Course card section-title color */
.branch-course-card .section-title {
    color: var(--primary-color-darker);
}

.branch-course-card .section-title i {
    color: var(--primary-color);
    margin-right: 12px;
}

/* Bold text modifier */
.branch-text-bold {
    font-weight: 500;
}

.branch-text-semibold {
    font-weight: 600;
}

/* Course action buttons (View Course / Enquire) */
.branch-course-action-btn {
    text-decoration: none;
    min-width: 280px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

/* Center-aligned branch text */
.branch-text.text-center {
    text-align: center !important;
}

/* View All Courses button */
.branch-btn-group a.branch-link-btn {
    text-decoration: none;
}

/* Industries grid */
.branch-industries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.branch-industries-grid .branch-tag {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Industries heading */
.branch-industries-heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color-darker);
}

/* Feature item full height */
.branch-feature-item.branch-feature-full {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.branch-feature-item .branch-text:last-child {
    margin-bottom: 0;
}

/* Trainer profile layout */
.branch-trainer-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.branch-trainer-role i,
.branch-trainer-profile i {
    margin-right: 10px;
}

/* Trainer specialisation text */
.branch-trainer-spec {
    font-size: 1.05rem;
}

.branch-trainer-summary {
    color: #555;
    line-height: 1.6;
}

/* Student support section */
.branch-support-section {
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
    padding-bottom: 60px;
}

.branch-support-container {
    max-width: 1200px;
}

.branch-support-goal {
    font-weight: 500;
    font-size: 1.05rem;
}

/* Support button sizing */
.branch-btn-group .branch-btn-min {
    min-width: 180px;
    justify-content: center;
}

/* Gallery description */
.branch-gallery-desc {
    text-align: center !important;
}

/* Review text styles */
.branch-review-quote {
    font-style: italic;
    color: #555;
}

.branch-review-name {
    font-weight: 600;
    color: var(--primary-color-darker);
}

/* Review star color */
.branch-review-stars i {
    color: #FFD700;
}

/* Section divider */
.branch-divider {
    border: 0;
    height: 1px;
    background: #e1e8f0;
    margin: 60px 0;
}

/* Areas served wrapper */
.branch-areas-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.branch-areas-wrapper .section-title {
    font-size: 1.8rem;
}

/* Table head theming (already styled but ensuring consistency) */
.branch-table thead {
    background: var(--primary-color);
}

.branch-table th {
    color: #FFD700;
}

.branch-table td.branch-td-bold {
    font-weight: 500;
}

/* Direction cards */
.branch-direction-card {
    text-align: left;
    padding: 15px 10px;
}

.branch-direction-title {
    font-weight: 700;
    color: var(--primary-color-darker);
    font-size: 1.25rem;
}

.branch-direction-title i {
    margin-right: 10px;
    color: var(--primary-color);
}

.branch-direction-desc {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
    font-style: normal;
}

/* Contact list link styling */
.branch-contact-list a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
}

.branch-contact-list a:hover {
    text-decoration: underline;
}

/* Map min height */
.branch-map-container.branch-map-flex {
    flex-grow: 1;
    margin-bottom: 0;
    min-height: 350px;
}

/* Hero title centered variant */
.branch-hero-title.branch-hero-title-center {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
}

/* Grid alignment */
.branch-grid-2.branch-grid-top {
    align-items: flex-start;
}

/* Hero btn group reduced margin */
.branch-hero-btn-group.branch-btn-sm-mt {
    margin-top: 15px;
}

@media (max-width: 768px) {
    .branch-industries-grid {
        grid-template-columns: 1fr;
    }

    .branch-btn-group.branch-btn-bottom a {
        font-size: 0.85rem;
        height: 50px;
    }

    .branch-course-action-btn {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .branch-btn-group {
        flex-direction: column;
        align-items: stretch;
    }
    .branch-btn-group a {
        width: 100% !important;
        box-sizing: border-box;
        text-align: center;
        justify-content: center;
        display: flex;
        margin: 0 !important;
    }

    /* Mobile Typography Adjustments */
    .branch-hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .section-title {
        font-size: 1.7rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .branch-hero-subtitle {
        font-size: 1.05rem;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .branch-text {
        font-size: 0.95rem; /* Reduces text size to normal scale */
        line-height: 1.5; /* Reduces line gap further */
        margin-bottom: 12px; /* Reduces paragraph gap further */
    }

    .branch-list li {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 10px;
    }
    
    .branch-info-title {
        font-size: 1.25rem;
        line-height: 1.4;
        margin-bottom: 10px;
    }
    
    .branch-small-note {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    .branch-section, .branch-section-alt {
        padding: 40px 15px;
    }
}

/* FAQ Font Size Overrides for Branch Pages */
.combined-contact-faq-section .faq-question {
    font-size: 1.02rem;
}

.combined-contact-faq-section .faq-answer p {
    font-size: 1rem;
    line-height: 1.7;
}

.combined-contact-faq-section .faq-column-heading {
    font-size: 1.5rem;
}

