/* CSS Custom Properties (Variables) */
:root {
    /* Primary Colors */
    --primary-color: #F36523;
    --primary-light: #F58951;
    --primary-lighter: #F7A978;
    --primary-dark: #D14A0A;
    --primary-darker: #B23E08;

    /* Secondary Colors */
    --secondary-color: #2C3E50;
    --secondary-light: #34495E;
    --secondary-dark: #1A252F;

    /* Neutral Colors */
    --white: #FFFFFF;
    --black: #000000;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #CED4DA;
    --gray-500: #ADB5BD;
    --gray-600: #6C757D;
    --gray-700: #495057;
    --gray-800: #343A40;
    --gray-900: #212529;

    /* Status Colors */
    --success: #28A745;
    --warning: #FFC107;
    --danger: #DC3545;
    --info: #17A2B8;

    /* Text Colors */
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-600);
    --text-muted: var(--gray-500);
    --text-light: var(--white);

    /* Background Colors */
    --bg-primary: var(--white);
    --bg-secondary: var(--gray-100);
    --bg-dark: var(--gray-900);
}

@font-face {
    font-family: 'Raleway';
    src: url('../fonts/raleway-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Global Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

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

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

/* Top Bar Styles */
.top-bar {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.875rem;
}

.top-bar a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar a:hover {
    color: var(--gray-200);
    text-decoration: none;
}

.social-icons a {
    display: inline-block;
    margin-right: 15px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.contact-info {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.contact-info .contact-item {
    margin-left: 20px;
    display: flex;
    align-items: center;
}

.contact-info .contact-item i {
    margin-right: 8px;
    color: var(--white);
}

/* Mobile: Hide social icons, show only contact info */
@media (max-width: 767.98px) {
    .social-icons {
        display: none !important;
    }

    .contact-info {
        justify-content: center;
    }

    .contact-info .contact-item {
        margin-left: 15px;
        font-size: 0.8rem;
    }

    .contact-info .contact-item:first-child {
        margin-left: 0;
    }
}

/* Header Styles */
.main-header {
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
    min-height: 80px;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    text-decoration: none;
    line-height: 1.2;
}

.navbar-brand:hover {
    color: var(--primary-dark) !important;
}

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    padding: 0.75rem 1.25rem !important;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.875rem;
}

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

/* Dropdown Menu Styles */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.25rem;
    min-width: 220px;
    background-color: var(--white);
    display: none;
}

/* Add invisible bridge to prevent menu disappearing */
.dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 0.25rem;
    background: transparent;
    z-index: 999;
}

.dropdown-item {
    padding: 0.75rem 1.25rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    position: relative;
    border: none;
    background: none;
    display: block;
    width: 100%;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--gray-50);
    color: var(--primary-color);
    text-decoration: none;
}

.dropdown-item.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.dropdown-toggle::after {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
    border-top: 0.35em solid;
    border-right: 0.35em solid transparent;
    border-bottom: 0;
    border-left: 0.35em solid transparent;
}

.dropdown-toggle.show::after {
    transform: rotate(180deg);
}

/* Multi-level Dropdown Styles */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropdown-submenu > .dropdown-item::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Pro';
    font-weight: 900;
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-left: auto;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.dropdown-submenu:hover > .dropdown-item::after {
    color: var(--primary-color);
    transform: translateX(3px);
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: 0;
    margin-left: 0.125rem;
    min-width: 200px;
    display: none;
}

/* Add invisible bridge for submenus */
.dropdown-submenu::before {
    content: '';
    position: absolute;
    top: 0;
    right: -0.125rem;
    bottom: 0;
    width: 0.125rem;
    background: transparent;
    z-index: 999;
}

/* Only show submenu on direct parent hover */
.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

/* Dropdown dividers */
.dropdown-divider {
    height: 0;
    margin: 0.5rem 0;
    overflow: hidden;
    border-top: 1px solid var(--gray-200);
}

/* Add icons to dropdown items */
.dropdown-item i {
    width: 18px;
    margin-right: 0.75rem;
    color: var(--gray-500);
    transition: color 0.2s ease;
    text-align: center;
    flex-shrink: 0;
}

.dropdown-item:hover i {
    color: var(--primary-color);
}

/* Ensure proper flex alignment for items with icons */
.dropdown-item {
    display: flex;
    align-items: center;
}

.dropdown-item span {
    flex: 1;
}

/* Desktop hover behavior - only first level auto-opens */
@media (min-width: 992px) {
    .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
    }

    /* Add hover delay to prevent quick disappearing */
    .dropdown:hover .dropdown-menu,
    .dropdown-submenu:hover > .dropdown-menu {
        animation: fadeIn 0.15s ease-in-out;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-5px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Prevent all submenus from opening automatically */
    .dropdown-submenu .dropdown-menu {
        display: none !important;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block !important;
    }
}

/* Mobile dropdown styles */
@media (max-width: 991.98px) {
    .navbar {
        padding: 0.75rem 0;
    }

    .navbar-collapse {
        background-color: var(--white);
        margin-top: 1rem;
        padding: 0;
        border-top: 1px solid var(--gray-200);
        border-radius: 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .navbar-nav {
        margin: 0;
        padding: 0;
    }

    /* Main navigation items */
    .navbar-nav .nav-item {
        border-bottom: 1px solid var(--gray-200);
    }

    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }

    .navbar-nav .nav-link {
        padding: 15px 20px !important;
        font-size: 16px;
        font-weight: 500;
        color: var(--text-primary) !important;
        border: none !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }

    .navbar-nav .nav-link:hover {
        background-color: var(--gray-50);
        color: var(--primary-color) !important;
    }

    /* Add dots before main menu items */
    .navbar-nav .nav-link::before {
        content: "•";
        color: var(--primary-color);
        font-size: 20px;
        margin-right: 15px;
    }

    /* Dropdown arrows */
    .navbar-nav .dropdown-toggle::after {
        content: "\f078";
        font-family: "Font Awesome 6 Pro";
        font-weight: 900;
        font-size: 12px;
        color: var(--gray-500);
        border: none;
        margin-left: auto;
        transition: transform 0.3s ease;
    }

    .navbar-nav .dropdown-toggle.show::after {
        transform: rotate(180deg);
        color: var(--primary-color);
    }

    /* Dropdown menus */
    .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background-color: var(--gray-50) !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        display: none !important;
    }

    .dropdown-menu.show {
        display: block !important;
    }

    /* Dropdown items */
    .dropdown-item {
        padding: 12px 20px 12px 50px !important;
        font-size: 14px !important;
        color: var(--text-secondary) !important;
        border-bottom: 1px solid var(--gray-200) !important;
        background: none !important;
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .dropdown-item:hover {
        background-color: var(--gray-100) !important;
        color: var(--primary-color) !important;
    }

    /* Dots for dropdown items */
    .dropdown-item::before {
        content: "◦";
        position: absolute;
        left: 25px;
        color: var(--gray-500);
        font-size: 16px;
    }

    .dropdown-item:hover::before {
        color: var(--primary-color);
    }

    /* Hide FontAwesome icons */
    .dropdown-item i {
        display: none !important;
    }

    /* Submenu toggle styling */
    .dropdown-submenu .submenu-toggle {
        cursor: pointer;
    }

    .dropdown-submenu .submenu-toggle::after {
        content: "\f078";
        font-family: "Font Awesome 6 Pro";
        font-weight: 900;
        font-size: 10px;
        color: var(--gray-400);
        margin-left: auto;
        transition: transform 0.3s ease;
    }

    .dropdown-submenu.show .submenu-toggle::after {
        transform: rotate(180deg);
        color: var(--primary-color);
    }

    /* Submenu dropdown - initially hidden */
    .dropdown-submenu .dropdown-menu {
        display: none !important;
        background-color: var(--gray-100) !important;
        margin-left: 20px !important;
        border-left: 2px solid var(--primary-color) !important;
        position: static !important;
        border-radius: 0 !important;
        border: none !important;
        border-left: 2px solid var(--primary-color) !important;
        box-shadow: none !important;
    }

    /* Show submenu when parent has .show class */
    .dropdown-submenu.show .dropdown-menu {
        display: block !important;
    }

    /* Submenu items */
    .dropdown-submenu .dropdown-item {
        padding-left: 70px !important;
        font-size: 13px !important;
        color: var(--gray-600) !important;
    }

    .dropdown-submenu .dropdown-item::before {
        content: "▪";
        left: 45px;
        font-size: 12px;
        color: var(--gray-400);
    }

    .dropdown-submenu .dropdown-item:hover::before {
        color: var(--primary-color);
    }

    /* Disable desktop hover effects on mobile */
    .dropdown-submenu:hover > .dropdown-menu {
        display: none !important;
    }

    /* CTA button */
    .btn-cta {
        margin: 15px 20px;
        display: block;
        text-align: center;
    }
}

/* CTA Button */
.btn-cta {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.btn-cta:hover {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Custom hamburger icon - Fixed */
.navbar-toggler {
    border: none;
    padding: 8px 10px;
    outline: none !important;
    box-shadow: none !important;
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: none !important;
    width: 24px;
    height: 18px;
    position: relative;
    display: inline-block;
    background: none !important;
}

/* Three horizontal lines for hamburger */
.navbar-toggler-icon,
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    width: 24px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    left: 0;
}

.navbar-toggler-icon::before {
    top: -7px;
}

.navbar-toggler-icon::after {
    top: 7px;
}

/* Animation when menu is open */
.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
    background-color: transparent;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Hide the inner span - not needed */
.navbar-toggler-icon span {
    display: none;
}

/* ========================================
   RESPONSIVE HERO BANNER SECTION
   ======================================== */

.hero-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner-container {
    position: relative;
    width: 100%;
    /* Responsive aspect ratios */
    aspect-ratio: 16/9; /* Default for desktop */
}

/* Background container for image/video */
.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Background Image Styling */
.banner-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Background Video Styling */
.banner-video {
    overflow: hidden;
}

.banner-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
}

/* Banner Overlay */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(44, 62, 80, 0.8) 0%,
        rgba(44, 62, 80, 0.7) 100%
    );
    z-index: 2;
}

/* Banner Content */
.banner-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    padding: 2rem 0;
}

.banner-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.banner-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.banner-actions .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.banner-actions .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.banner-actions .btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 101, 35, 0.4);
}

.banner-actions .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.banner-actions .btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* Scroll Down Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    animation: bounce 2s infinite;
    transition: all 0.3s ease;
}

.scroll-arrow:hover {
    border-color: var(--white);
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

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

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* Tablet Landscape */
@media (max-width: 1199.98px) {
    .banner-title {
        font-size: 3rem;
    }

    .banner-subtitle {
        font-size: 1.1rem;
    }

    .banner-actions .btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

/* Tablet Portrait */
@media (max-width: 991.98px) {
    .banner-container {
        aspect-ratio: 4/3;
    }

    .banner-title {
        font-size: 2.5rem;
    }

    .banner-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .banner-actions {
        flex-direction: column;
        align-items: center;
    }

    .banner-actions .btn {
        width: 250px;
        margin-bottom: 0.5rem;
    }

    /* Disable parallax on mobile for performance */
    .banner-image {
        background-attachment: scroll;
    }
}

/* Mobile Landscape */
@media (max-width: 767.98px) {
    .banner-container {
        aspect-ratio: 16/10;
    }

    .banner-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .banner-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .banner-content {
        padding: 1rem 0;
    }

    .scroll-indicator {
        bottom: 1rem;
    }
}

/* Mobile Portrait */
@media (max-width: 575.98px) {
    .banner-container {
        aspect-ratio: 9/10;
    }

    .banner-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .banner-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }

    .banner-actions .btn {
        width: 100%;
        max-width: 280px;
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .scroll-arrow {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }
}

/* ========================================
   ABOUT SECTION - SIMPLIFIED
   ======================================== */

.about-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.section-header {
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(243, 101, 35, 0.1);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 2px solid rgba(243, 101, 35, 0.2);
    position: relative;
    overflow: hidden;
}

.section-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.section-badge:hover::before {
    left: 100%;
}

.section-badge i {
    font-size: 16px;
    color: var(--primary-color);
}

.section-title {
    color: var(--dark-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    position: relative;
}

.section-subtitle {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    opacity: 0.9;
}

/* About Image */
.about-image {
    margin-bottom: 30px;
}

.about-image img {
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    width: 100%;
    height: auto;
}

/* About Content */
.about-content {
    padding-left: 0;
}

.about-heading {
    color: var(--dark-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.3;
}

.about-text {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Stats */
.about-stats {
    display: flex;
    gap: 30px;
    margin: 15px 0;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA */
.about-cta {
    margin-top: 30px;
    text-align: center;
}

.btn-custom-primary {
    background-color: var(--primary-color);
    border: none;
    color: white;
    padding: 15px 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(243, 101, 35, 0.3);
    width: 100%;
    display: inline-block;
}

.btn-custom-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243, 101, 35, 0.4);
    color: white;
}

/* Responsive */
@media (max-width: 991px) {
    .about-content {
        padding-left: 0;
        margin-top: 40px;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .about-heading {
        font-size: 1.75rem;
    }

    .about-stats {
        justify-content: center;
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .about-section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .about-heading {
        font-size: 1.5rem;
    }

    .about-text {
        font-size: 1rem;
    }

    .about-stats {
        gap: 15px;
    }

    .stat-item {
        flex: 1;
        min-width: 80px;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 575px) {
    .about-section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-description {
        font-size: 15px;
    }

    .about-heading {
        font-size: 24px;
    }

    .about-text {
        font-size: 15px;
    }

    .feature-card {
        padding: 15px;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
    }

    .feature-icon i {
        font-size: 18px;
    }

    .stats-wrapper {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-card {
        padding: 20px;
    }
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services-section {
    padding: 80px 0;
    background:
        /* Power distribution real image background */
        url('https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80'),
        /* Existing gradient overlay for readability */
        linear-gradient(135deg,
            rgba(26, 37, 47, 0.85) 0%,      /* Dark overlay for text readability */
            rgba(44, 62, 80, 0.80) 25%,     /* Semi-transparent overlay */
            rgba(178, 62, 8, 0.75) 50%,     /* Primary color overlay */
            rgba(44, 62, 80, 0.80) 75%,     /* Semi-transparent overlay */
            rgba(26, 37, 47, 0.85) 100%     /* Dark overlay again */
        );
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    /* Performance optimization */
    will-change: auto;
    transform: translateZ(0);
}

.services-section::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 50px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 50' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,25 Q300,5 600,25 T1200,25 L1200,0 L0,0 Z' fill='%23FFFFFF'/%3E%3C/svg%3E") repeat-x;
    background-size: cover;
    z-index: 5;
}

.services-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 50px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 50' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,25 Q300,45 600,25 T1200,25 L1200,50 L0,50 Z' fill='%23FFFFFF'/%3E%3C/svg%3E") repeat-x;
    background-size: cover;
    z-index: 5;
}

/* Internal professional background pattern */
.services-section .container {
    position: relative;
    z-index: 10;
}

.services-section .container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    right: -50%;
    bottom: 0;
    background-image:
        /* Flowing wave patterns using theme colors */
        radial-gradient(ellipse 200px 40px at 20% 25%, var(--primary-lighter) 0%, transparent 70%),
        radial-gradient(ellipse 200px 40px at 80% 25%, var(--secondary-light) 0%, transparent 70%),
        radial-gradient(ellipse 200px 40px at 40% 75%, var(--primary-lighter) 0%, transparent 70%),
        radial-gradient(ellipse 200px 40px at 60% 75%, var(--secondary-light) 0%, transparent 70%),
        /* Professional energy nodes using theme colors */
        radial-gradient(circle 3px at 25% 70%, var(--warning) 0%, transparent 100%),
        radial-gradient(circle 3px at 75% 30%, var(--success) 0%, transparent 100%);
    background-size:
        100% 100%,     /* Wave overlays */
        100% 100%,
        100% 100%,
        100% 100%,
        100% 100%,     /* Energy nodes */
        100% 100%;
    opacity: 0.12;  /* Slightly reduced for subtle effect */
    pointer-events: none;
    z-index: -1;
}

/* Services Section Header Styling for Dark Background */
.services-section .section-header {
    position: relative;
    z-index: 10;
    margin-bottom: 60px;
}

/* .services-section .section-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border: 2px solid var(--primary-lighter);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px var(--primary-color);
}

.services-section .section-badge::before {
    background: linear-gradient(90deg, transparent, var(--white), transparent);
} */

.services-section .section-title {
    color: var(--white);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.services-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Service Cards */
.service-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 40px 30px;
    height: 100%;
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(243, 101, 35, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 5;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow:
        0 20px 50px var(--gray-900),
        0 0 0 1px var(--primary-lighter),
        0 0 30px var(--primary-lighter);
    background: var(--white);
}

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

/* Service Image */
.service-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 25px;
    position: relative;
}

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

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

/* Service Icon Design (Commented for future use)
.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.service-card:hover .service-icon::before {
    left: 100%;
}

.service-icon i {
    font-size: 2rem;
    color: white;
    z-index: 1;
    position: relative;
}
*/

/* Service Content */
.service-title {
    color: var(--dark-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.service-description {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Learn More Button */
.btn-learn-more {
    background-color: transparent !important;
    border: 2px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    padding: 10px 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block !important;
    width: 100%;
    text-align: center;
    margin-top: auto;
    box-sizing: border-box;
}

.btn-learn-more:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 101, 35, 0.3);
    text-decoration: none;
}

.service-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex-grow: 1;
}

/* Responsive */
@media (max-width: 991px) {
    .services-section {
        padding: 60px 0;
    }

    .service-card {
        padding: 30px 25px;
        margin-bottom: 30px;
    }

    .service-image {
        height: 180px;
        margin-bottom: 20px;
    }

    /* Commented Icon Responsive (for future use)
    .service-icon {
        width: 70px;
        height: 70px;
    }

    .service-icon i {
        font-size: 1.75rem;
    }
    */

    .service-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 767px) {
    .service-card {
        padding: 25px 20px;
        text-align: center;
    }

    .service-image {
        height: 160px;
        margin-bottom: 15px;
    }

    /* Commented Icon Responsive (for future use)
    .service-icon {
        margin: 0 auto 20px;
        width: 60px;
        height: 60px;
    }

    .service-icon i {
        font-size: 1.5rem;
    }
    */

    .service-title {
        font-size: 1.2rem;
    }

    .service-description {
        font-size: 0.95rem;
    }

    .btn-learn-more {
        font-size: 0.85rem;
        padding: 8px 20px;
    }
}

/* ========================================
   OUR CUSTOMERS SECTION
   ======================================== */

.customers-section {
    padding: 80px 0;
    background-color: var(--white);
}

/* Client Logos */
.client-logos {
    margin-top: 60px;
    padding: 50px 30px;
    background: linear-gradient(135deg, rgba(242, 242, 242, 0.8), rgba(242, 242, 242, 0.6));
    border-radius: 20px;
    border: 1px solid rgba(243, 101, 35, 0.1);
}

.logos-title {
    color: var(--dark-color);
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

/* Carousel Container */
.client-carousel {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px; /* Add padding to prevent cutoff */
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: 15px;
    position: relative;
    margin: 0 -10px; /* Negative margin to compensate for container padding */
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
    padding: 0 10px; /* Add padding inside track */
}

.logo-slide {
    flex: 0 0 auto;
    width: calc(20% - 24px); /* 5 items per view on desktop */
}

.logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.logo-placeholder {
    width: 180px;
    height: 100px;
    background: var(--white);
    border: 2px dashed rgba(243, 101, 35, 0.3);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: 4px; /* Space for thicker top border on hover */
}

.logo-placeholder:hover {
    border: 2px dashed var(--primary-color);
    border-top: 4px dashed var(--primary-color);
    background: rgba(243, 101, 35, 0.05);
    transform: translateY(-5px); /* Increased to accommodate border */
    box-shadow: 0 5px 15px rgba(243, 101, 35, 0.2);
}

.logo-placeholder i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.logo-placeholder span {
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Carousel Controls */
.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.carousel-btn i {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.carousel-btn:hover i {
    color: var(--white);
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .logo-slide {
        width: calc(25% - 22.5px); /* 4 items per view */
    }
}

@media (max-width: 991px) {
    .client-logos {
        margin-top: 40px;
        padding: 40px 10px 60px; /* Reduced side padding for more space */
    }

    .logos-title {
        font-size: 1.6rem;
    }

    .client-carousel {
        padding: 0 10px;
    }

    .carousel-wrapper {
        margin: 0 -10px;
    }

    .logo-slide {
        width: calc(33.333% - 20px); /* 3 items per view */
    }

    .logo-placeholder {
        width: 150px;
        height: 80px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

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

    .prev-btn {
        left: -20px;
    }

    .next-btn {
        right: -20px;
    }
}

@media (max-width: 767px) {
    .logo-slide {
        width: calc(50% - 15px); /* 2 items per view */
    }

    .logo-placeholder {
        width: 120px;
        height: 70px;
    }

    .logo-placeholder i {
        font-size: 1.5rem;
    }

    .logo-placeholder span {
        font-size: 0.8rem;
    }

    .logos-title {
        font-size: 1.4rem;
    }
}
@media (max-width: 767px) {
    .logo-slide {
        width: calc(50% - 15px); /* 2 items per view */
    }

    .client-carousel {
        padding: 0 15px; /* Increased padding for mobile */
    }

    .carousel-wrapper {
        margin: 0 -15px; /* Adjust negative margin */
    }

    .carousel-track {
        gap: 15px;
        padding: 0 15px;
    }

    .logo-placeholder {
        width: 120px;
        height: 70px;
    }

    .logo-placeholder i {
        font-size: 1.5rem;
    }

    .logo-placeholder span {
        font-size: 0.8rem;
    }

    .logos-title {
        font-size: 1.4rem;
    }

    /* Reposition carousel controls for mobile */
    .carousel-controls {
        position: relative;
        margin-top: 20px;
        justify-content: center;
        gap: 30px;
        transform: none;
        top: auto;
    }

    .prev-btn {
        position: static;
        left: auto;
    }

    .next-btn {
        position: static;
        right: auto;
    }

    .carousel-btn {
        position: relative;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 575px) {
    .logo-slide {
        width: calc(100% - 30px); /* 1 item per view with proper spacing */
    }

    .client-carousel {
        padding: 0 20px; /* More padding for small mobile */
    }

    .carousel-wrapper {
        margin: 0 -20px;
    }

    .carousel-track {
        gap: 0;
        padding: 0 20px;
    }

    .carousel-controls {
        gap: 25px;
        margin-top: 15px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }
}

/* Customer Statistics */
.customer-stats {
    margin-top: 60px;
    padding: 40px 0;
    border-top: 1px solid rgba(243, 101, 35, 0.1);
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 991px) {
    .customers-section {
        padding: 60px 0;
    }

    .client-logos {
        margin-top: 40px;
        padding: 40px 20px;
    }

    .logos-title {
        font-size: 1.6rem;
    }

    .customer-stats {
        margin-top: 40px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .stat-number {
        font-size: 1.8rem;
    }

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

/* ========================================
   FOOTER
   ======================================== */

.main-footer {
    background-color: #2c3e50 !important; /* Fallback solid color */
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 50%, #34495e 100%) !important;
    color: var(--white);
    padding-top: 60px;
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--primary-color);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
    min-height: 400px; /* Ensure footer has minimum height */
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(243, 101, 35, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(243, 101, 35, 0.15) 0%, transparent 50%),
        linear-gradient(45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%);
    background-size: 100% 100%, 100% 100%, 20px 20px, 20px 20px;
    pointer-events: none;
}

.footer-section {
    position: relative;
    z-index: 1;
}

.footer-title {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.footer-subtitle {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}

.footer-subtitle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Footer Social Icons */
.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.footer-social a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(243, 101, 35, 0.4);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Pro';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 20px;
}

.footer-links a:hover::before {
    color: var(--white);
}

/* Footer Contact */
.footer-contact .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact .contact-item i {
    color: var(--primary-color);
    width: 20px;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact .contact-item span {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Footer Bottom */
.footer-bottom {
    padding: 25px 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2) !important; /* Darker background for bottom section */
    position: relative;
    z-index: 1;
}

.copyright p,
.developed-by p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.developed-by {
    text-align: right;
}

.developed-by a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.developed-by a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 991px) {
    .main-footer {
        padding-top: 50px;
    }

    .footer-title {
        font-size: 1.3rem;
    }

    .footer-subtitle {
        font-size: 1.1rem;
    }

    .footer-social {
        justify-content: center;
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .main-footer {
        padding-top: 40px;
    }

    .footer-section {
        text-align: center;
        margin-bottom: 40px;
    }

    .footer-title::after,
    .footer-subtitle::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact .contact-item {
        justify-content: center;
        text-align: left;
    }

    .footer-bottom {
        text-align: center;
    }

    .developed-by {
        text-align: center;
        margin-top: 10px;
    }

    .copyright p,
    .developed-by p {
        font-size: 0.85rem;
    }
}

/* Mobile dropdown styles - Enhanced Professional Design */
@media (max-width: 991.98px) {
    /* Make header full width */
    .main-header .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .navbar {
        padding: 0.75rem 0;
        min-height: 70px;
    }

    .navbar-brand {
        font-size: 1.4rem;
    }

    .navbar-collapse {
        background-color: var(--white);
        margin-top: 1rem;
        padding: 0;
        border-top: 2px solid var(--primary-color);
        border-radius: 0;
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        max-height: calc(100vh - 160px);
        overflow-y: auto;
        /* Make collapse full width */
        margin-left: -15px;
        margin-right: -15px;
        width: calc(100% + 30px);
    }

    .navbar-nav {
        margin: 0;
        padding: 0;
        width: 100%;
    }

    /* Main navigation items */
    .navbar-nav .nav-item {
        border-bottom: 1px solid var(--gray-200);
        width: 100%;
    }

    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }

    .navbar-nav .nav-link {
        padding: 16px 20px !important;
        font-size: 15px;
        font-weight: 600;
        color: var(--text-primary) !important;
        border: none !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
        width: 100%;
        transition: all 0.3s ease;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:active {
        background-color: var(--gray-100);
        color: var(--primary-color) !important;
        padding-left: 25px !important;
    }

    .navbar-nav .nav-link.active {
        background-color: var(--primary-color);
        color: var(--white) !important;
    }

    /* Remove dots before main menu items */
    .navbar-nav .nav-link::before {
        display: none;
    }

    /* Dropdown arrows */
    .navbar-nav .dropdown-toggle::after {
        content: "\f078";
        font-family: "Font Awesome 6 Pro";
        font-weight: 900;
        font-size: 11px;
        color: var(--gray-500);
        border: none;
        margin-left: auto;
        transition: transform 0.3s ease;
        display: inline-block;
        width: 20px;
        height: 20px;
        line-height: 20px;
        text-align: center;
        border-radius: 4px;
        background-color: var(--gray-200);
        pointer-events: none;
    }

    .navbar-nav .dropdown-toggle.show::after,
    .navbar-nav .dropdown-toggle:hover::after {
        transform: rotate(180deg);
        color: var(--white);
        background-color: var(--primary-color);
    }

    /* Dropdown menus */
    .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background-color: var(--gray-50) !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        display: none !important;
    }

    .dropdown-menu.show {
        display: block !important;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            max-height: 0;
        }
        to {
            opacity: 1;
            max-height: 1000px;
        }
    }

    /* Dropdown items */
    .dropdown-item {
        padding: 14px 20px 14px 45px !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        color: var(--text-secondary) !important;
        border-bottom: 1px solid var(--gray-200) !important;
        background: none !important;
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        transition: all 0.3s ease !important;
        width: 100% !important;
    }

    .dropdown-item:last-child {
        border-bottom: none !important;
    }

    /* Remove hover effects that conflict with click behavior */
    .dropdown-item:hover,
    .dropdown-item:active {
        background-color: var(--gray-100) !important;
        color: var(--primary-color) !important;
        padding-left: 50px !important;
    }

    /* Icon bullets for dropdown items */
    .dropdown-item::before {
        content: "";
        position: absolute;
        left: 20px;
        width: 6px;
        height: 6px;
        background-color: var(--primary-color);
        border-radius: 50%;
        transition: all 0.3s ease;
    }

    .dropdown-item:hover::before {
        width: 8px;
        height: 8px;
        left: 19px;
    }

    /* Hide FontAwesome icons in mobile */
    .dropdown-item i {
        display: none !important;
    }

    /* Dropdown dividers */
    .dropdown-divider {
        margin: 8px 0 !important;
        border-top: 1px solid var(--gray-300) !important;
    }

    /* Submenu toggle styling */
    .dropdown-submenu {
        position: relative;
    }

    .dropdown-submenu .submenu-toggle {
        cursor: pointer;
    }

    .dropdown-submenu .submenu-toggle::after {
        content: "\f078";
        font-family: "Font Awesome 6 Pro";
        font-weight: 900;
        font-size: 10px;
        color: var(--gray-400);
        margin-left: auto;
        transition: all 0.3s ease;
        display: inline-block;
        width: 18px;
        height: 18px;
        line-height: 18px;
        text-align: center;
        border-radius: 3px;
        background-color: var(--gray-200);
        pointer-events: none;
    }

    .dropdown-submenu.show .submenu-toggle::after {
        transform: rotate(180deg);
        color: var(--white);
        background-color: var(--primary-color);
    }

    .dropdown-submenu .submenu-toggle:hover::after {
        color: var(--white);
        background-color: var(--primary-color);
    }

    /* CRITICAL: Disable ALL hover effects for submenus on mobile */
    .dropdown-submenu:hover > .dropdown-menu {
        display: none !important;
    }

    .dropdown-submenu:active > .dropdown-menu {
        display: none !important;
    }

    /* Submenu dropdown */
    .dropdown-submenu > .dropdown-menu {
        display: none !important;
        background-color: var(--white) !important;
        margin: 0 !important;
        padding: 0 !important;
        border-left: 3px solid var(--primary-color) !important;
        position: static !important;
        border-radius: 0 !important;
        box-shadow: inset 0 2px 8px rgba(0,0,0,0.05) !important;
    }

    /* Show submenu ONLY when parent has .show class */
    .dropdown-submenu.show > .dropdown-menu {
        display: block !important;
        animation: slideDown 0.3s ease;
    }

    /* Submenu items */
    .dropdown-submenu .dropdown-item {
        padding: 12px 20px 12px 60px !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        color: var(--gray-600) !important;
        background-color: transparent !important;
    }

    .dropdown-submenu .dropdown-item::before {
        content: "";
        left: 35px;
        width: 5px;
        height: 5px;
        background-color: var(--gray-500);
    }

    .dropdown-submenu .dropdown-item:hover,
    .dropdown-submenu .dropdown-item:active {
        padding-left: 65px !important;
        background-color: var(--gray-50) !important;
    }

    .dropdown-submenu .dropdown-item:hover::before {
        width: 6px;
        height: 6px;
        left: 34px;
        background-color: var(--primary-color);
    }

    /* Remove the invisible bridge */
    .dropdown-submenu::before {
        display: none !important;
    }

    /* CTA button */
    .btn-cta {
        margin: 15px 20px 20px;
        display: block;
        text-align: center;
        width: calc(100% - 40px);
        padding: 14px 20px;
        font-size: 15px;
        font-weight: 600;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(243, 101, 35, 0.2);
    }

    .btn-cta:hover {
        background-color: var(--primary-dark);
        color: var(--white);
        border-color: var(--primary-dark);
        box-shadow: 0 6px 16px rgba(243, 101, 35, 0.3);
        transform: translateY(-2px);
    }

    /* Smooth scrolling for overflow */
    .navbar-collapse::-webkit-scrollbar {
        width: 6px;
    }

    .navbar-collapse::-webkit-scrollbar-track {
        background: var(--gray-100);
    }

    .navbar-collapse::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 3px;
    }

    .navbar-collapse::-webkit-scrollbar-thumb:hover {
        background: var(--primary-dark);
    }
}

/* ========================================
   COMMON PAGE STYLES
   ======================================== */

/* Page Header with Breadcrumb */
.page-header {
    position: relative;
    padding: 80px 0 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    overflow: hidden;
    margin-top: 0;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1581092160562-40aa08e78837?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.1;
    z-index: 1;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgb(44 62 80 / 38%) 0%, rgba(44, 62, 80, 0.60) 100%);
    z-index: 2;
}

.page-header-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Breadcrumb Styling */
.page-breadcrumb {
    margin-top: 2rem;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    justify-content: center;
    flex-wrap: wrap;
}

.breadcrumb-item {
    font-size: 1rem;
    font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "\f105";
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0.75rem;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-item a:hover {
    color: var(--white);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--white);
    font-weight: 600;
}

/* Main Content Area */
.main-content {
    padding: 80px 0;
    background-color: var(--bg-primary);
    min-height: 60vh;
}

/* Article Styling */
.content-article {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 40px;
}

.article-header {
    padding: 30px 40px 20px;
    border-bottom: 1px solid var(--gray-200);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin-bottom: 0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.meta-item i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* Featured Image */
.article-featured-image {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    margin-bottom: 0;
}

.article-featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Article Content */
.article-content {
    padding: 40px;
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    color: var(--secondary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.article-content h1 { font-size: 2.5rem; }
.article-content h2 { font-size: 2rem; }
.article-content h3 { font-size: 1.75rem; }
.article-content h4 { font-size: 1.5rem; }
.article-content h5 { font-size: 1.25rem; }
.article-content h6 { font-size: 1rem; }

.article-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.article-content blockquote {
    background: var(--gray-100);
    border-left: 4px solid var(--primary-color);
    padding: 20px 30px;
    margin: 30px 0;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Article Tags */
/* .article-tags {
    padding: 30px 40px;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.tags-title {
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

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

.tag-item {
    background: var(--white);
    color: var(--text-secondary);
    padding: 6px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--gray-300);
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    text-decoration: none;
    transform: translateY(-2px);
} */

/* Article Share */
.article-share {
    padding: 30px 40px;
    border-top: 1px solid var(--gray-200);
    background: var(--white);
}

.share-title {
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.share-btn.facebook {
    background: #1877F2;
    color: var(--white);
}

.share-btn.facebook:hover {
    background: #166FE5;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

.share-btn.twitter {
    background: #1DA1F2;
    color: var(--white);
}

.share-btn.twitter:hover {
    background: #0C90E0;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(29, 161, 242, 0.3);
}

.share-btn.linkedin {
    background: #0A66C2;
    color: var(--white);
}

.share-btn.linkedin:hover {
    background: #085590;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(10, 102, 194, 0.3);
}

.share-btn.email {
    background: var(--gray-600);
    color: var(--white);
}

.share-btn.email:hover {
    background: var(--gray-700);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

/* Sidebar Styling */
.sidebar {
    padding-left: 30px;
}

.sidebar-widget {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
}

.widget-title {
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Search Widget */
.search-input-group {
    position: relative;
    display: flex;
}

.search-input-group .form-control {
    border: 2px solid var(--gray-300);
    border-radius: 8px 0 0 8px;
    padding: 12px 15px;
    font-size: 1rem;
    border-right: none;
}

.search-input-group .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

.search-btn {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
    color: var(--white);
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Recent Articles Widget */
.recent-articles-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recent-article-item {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.recent-article-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-article-image {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
}

.recent-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-article-content {
    flex: 1;
}

.recent-article-title {
    margin-bottom: 8px;
}

.recent-article-title a {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-article-title a:hover {
    color: var(--primary-color);
}

.recent-article-date {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.recent-article-date i {
    color: var(--primary-color);
}

/* Categories Widget */
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    margin-bottom: 12px;
}

.category-item:last-child {
    margin-bottom: 0;
}

.category-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    background: var(--gray-50);
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-item a:hover {
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    transform: translateX(5px);
}

.category-count {
    background: var(--white);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 25px;
    text-align: center;
}

.category-item a:hover .category-count {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* CTA Widget */
.cta-widget {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    backdrop-filter: blur(10px);
}

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

.cta-title {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-cta-widget {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-cta-widget:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design for Common Page */
@media (max-width: 1199.98px) {
    .page-title {
        font-size: 2.5rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

    .sidebar {
        padding-left: 15px;
    }
}

@media (max-width: 991.98px) {
    .page-header {
        padding: 70px 0 40px;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .main-content {
        padding: 60px 0;
    }

    .sidebar {
        padding-left: 0;
        margin-top: 40px;
    }

    .article-header,
    .article-content,
    .article-tags,
    .article-share {
        padding: 25px 30px;
    }

    .sidebar-widget {
        padding: 25px;
    }
}

@media (max-width: 767.98px) {
    .page-header {
        padding: 60px 0 35px;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .page-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .page-header-bg {
        background-attachment: scroll;
    }

    .article-meta {
        gap: 15px;
    }

    .meta-item {
        font-size: 0.8rem;
    }

    .article-header,
    .article-content,
    .article-tags,
    .article-share {
        padding: 20px 25px;
    }

    .article-content {
        font-size: 1rem;
    }

    .share-buttons {
        gap: 10px;
    }

    .share-btn {
        padding: 8px 15px;
        font-size: 0.8rem;
    }

    .sidebar-widget {
        padding: 20px;
    }

    .recent-article-image {
        width: 70px;
        height: 50px;
    }
}

@media (max-width: 575.98px) {
    .page-title {
        font-size: 1.6rem;
    }

    .breadcrumb {
        font-size: 0.9rem;
    }

    .breadcrumb-item + .breadcrumb-item::before {
        margin: 0 0.5rem;
    }

    .article-featured-image img {
        height: 250px;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-btn {
        width: 100%;
        justify-content: center;
    }

    .recent-article-item {
        flex-direction: column;
        gap: 10px;
    }

    .recent-article-image {
        width: 100%;
        height: 120px;
    }
}

/* ========================================
   CONTACT PAGE STYLES
   ======================================== */

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: var(--bg-primary);
}

.section-title {
    color: var(--secondary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 0;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
    height: 100%;
}

.form-title {
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 15px;
    display: inline-block;
}

/* Form Controls */
.contact-form .form-control {
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    padding: 15px 20px;
    font-size: 1rem;
    background: var(--white);
    transition: all 0.3s ease;
    box-shadow: none;
    margin-bottom: 0;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(243, 101, 35, 0.1);
    background: var(--white);
    outline: none;
}

.contact-form .form-control::placeholder {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px 12px;
    padding-right: 45px;
    appearance: none;
}

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

/* Primary Button */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    border-radius: 8px;
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    padding: 15px 35px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243, 101, 35, 0.3);
    color: var(--white);
}

.btn-primary-custom i {
    transition: all 0.3s ease;
}

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

/* Contact Info Wrapper */
.contact-info-wrapper {
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
    height: 100%;
}

.info-title {
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 15px;
    display: inline-block;
}

/* Contact Info List */
.contact-info-list {
    margin-bottom: 40px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 0;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

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

.contact-details h5 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-details p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-dark);
}

/* Social Media */
.social-media {
    border-top: 1px solid var(--gray-200);
    padding-top: 30px;
}

.social-media h5 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.social-link i {
    font-size: 1.1rem;
}

/* Map Section */
.map-section {
    background: var(--white);
    padding: 0;
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 0;
    overflow: hidden;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .contact-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 30px;
        margin-bottom: 30px;
    }

    .form-title,
    .info-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 767.98px) {
    .contact-section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 25px;
    }

    .form-title,
    .info-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
        margin-right: 15px;
    }

    .contact-icon i {
        font-size: 1rem;
    }

    .contact-details h5 {
        font-size: 1rem;
    }

    .contact-details p {
        font-size: 0.95rem;
    }

    .social-links {
        gap: 12px;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .map-wrapper {
        height: 300px;
    }
}

@media (max-width: 575.98px) {
    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 20px;
    }

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

    .form-title,
    .info-title {
        font-size: 1.4rem;
    }

    .contact-form .form-control {
        padding: 12px 15px;
    }

    .btn-primary-custom {
        width: 100%;
        justify-content: center;
        padding: 15px 30px;
    }

    .contact-info-item {
        margin-bottom: 25px;
    }

    .map-wrapper {
        height: 250px;
    }
}

/* ========================================
   TEAM PAGE STYLES
   ======================================== */

/* Team Section */
.team-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.section-header {
    margin-bottom: 60px;
}

.section-header .section-title {
    color: var(--secondary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-header .section-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Team Members Grid */
.team-members {
    margin-top: 40px;
}

/* Team Card */
.team-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid var(--gray-200);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

/* Team Image */
.team-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: var(--gray-100);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: all 0.4s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
    object-position: center 15%;
}

/* Team Overlay */
.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card:hover .team-overlay {
    opacity: 0.9;
}

/* Team Social */
.team-social {
    display: flex;
    gap: 15px;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.team-card:hover .team-social {
    transform: translateY(0);
}

.team-social a {
    width: 45px;
    height: 45px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.team-social a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

/* Team Content */
.team-content {
    padding: 30px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.team-name {
    color: var(--secondary-color);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.team-designation {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-education {
    background: var(--gray-50);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.team-education p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.team-education strong {
    color: var(--secondary-color);
    font-weight: 600;
}

.team-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
    flex: 1;
}

/* Responsive Design for Team Page */
@media (max-width: 1199.98px) {
    .team-section {
        padding: 70px 0;
    }

    .section-header .section-title {
        font-size: 2.2rem;
    }

    .team-content {
        padding: 25px;
    }

    .team-image {
        height: 260px;
    }
}

@media (max-width: 991.98px) {
    .team-section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .section-header .section-title {
        font-size: 2rem;
    }

    .section-header .section-subtitle {
        font-size: 1.1rem;
    }

    .team-content {
        padding: 20px;
    }

    .team-image {
        height: 240px;
    }

    .team-name {
        font-size: 1.3rem;
    }
}

@media (max-width: 767.98px) {
    .team-section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header .section-title {
        font-size: 1.8rem;
    }

    .section-header .section-subtitle {
        font-size: 1rem;
    }

    .team-card {
        margin-bottom: 30px;
    }

    .team-image {
        height: 220px;
    }

    .team-content {
        padding: 25px 20px;
    }

    .team-name {
        font-size: 1.2rem;
    }

    .team-designation {
        font-size: 0.95rem;
    }

    .team-education {
        padding: 12px;
        margin-bottom: 15px;
    }

    .team-education p {
        font-size: 0.85rem;
    }

    .team-bio {
        font-size: 0.9rem;
    }

    .team-social {
        gap: 12px;
    }

    .team-social a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .team-section {
        padding: 40px 0;
    }

    .section-header .section-title {
        font-size: 1.6rem;
    }

    .team-card {
        margin-bottom: 25px;
    }

    .team-image {
        height: 200px;
    }

    .team-content {
        padding: 20px 15px;
    }

    .team-name {
        font-size: 1.1rem;
    }

    .team-designation {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .team-education {
        padding: 10px;
        margin-bottom: 12px;
    }

    .team-bio {
        font-size: 0.85rem;
    }
}

/* Team Card Animation Effects */
@keyframes teamCardFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}

.team-card:hover {
    animation: teamCardFloat 2s ease-in-out infinite;
}

/* Team Social Icons Specific Colors */
.team-social a.linkedin {
    color: #0A66C2;
}

.team-social a.linkedin:hover {
    background: #0A66C2;
    color: var(--white);
}

.team-social a.email {
    color: var(--primary-color);
}

.team-social a.email:hover {
    background: var(--primary-color);
    color: var(--white);
}

.team-social a.phone {
    color: #28a745;
}

.team-social a.phone:hover {
    background: #28a745;
    color: var(--white);
}

/* ========================================
   ADDITIONAL FOOTER STYLES FOR TEAM PAGES
   ======================================== */

/* Main Footer Alternative Class */
.footer {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 50%, #34495e 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--primary-color);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(243, 101, 35, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(243, 101, 35, 0.15) 0%, transparent 50%),
        linear-gradient(45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%);
    background-size: 100% 100%, 100% 100%, 20px 20px, 20px 20px;
    pointer-events: none;
}

.footer-top {
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-widget .footer-title {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.footer-widget .footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-widget .footer-social {
    display: flex;
    gap: 15px;
}

.footer-widget .footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.footer-widget .footer-social a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(243, 101, 35, 0.4);
}

.footer-widget .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget .footer-links li {
    margin-bottom: 12px;
}

.footer-widget .footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-widget .footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Pro';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.footer-widget .footer-links a:hover {
    color: var(--white);
    padding-left: 20px;
}

.footer-widget .footer-links a:hover::before {
    color: var(--white);
}

.footer-contact .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
    text-align: left;
    justify-content: flex-start;
}

.footer-contact .contact-item i {
    color: var(--primary-color);
    width: 22px;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-contact .contact-item span {
    font-size: 0.95rem;
    line-height: 1.5;
    flex: 1;
    text-align: left;
}

.footer .footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.footer .footer-bottom .copyright-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom-links {
    text-align: right;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    margin-left: 20px;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* Responsive Footer for Team Pages */
@media (max-width: 991px) {
    .footer-top {
        padding: 50px 0;
    }

    .footer-widget {
        margin-bottom: 35px;
        text-align: center;
    }

    .footer-widget .footer-title {
        font-size: 1.2rem;
        text-align: center;
    }

    .footer-widget .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-text {
        text-align: center;
    }

    .footer-widget .footer-social {
        justify-content: center;
    }

    .footer-bottom-links {
        text-align: center;
        margin-top: 15px;
    }

    .footer-bottom-links a {
        margin-left: 10px;
        margin-right: 10px;
    }

    .footer .footer-bottom .copyright-text {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .footer-top {
        padding: 40px 0 30px;
    }

    .footer-widget {
        margin-bottom: 40px;
        text-align: center;
        padding: 0 15px;
    }

    .footer-widget:last-child {
        margin-bottom: 20px;
    }

    .footer-widget .footer-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
        text-align: center;
    }

    .footer-widget .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
    }

    .footer-text {
        font-size: 0.95rem;
        text-align: center;
        margin-bottom: 20px;
        line-height: 1.6;
    }

    .footer-widget .footer-links {
        text-align: center;
    }

    .footer-widget .footer-links li {
        margin-bottom: 10px;
    }

    .footer-widget .footer-links a {
        font-size: 0.9rem;
        display: inline-block;
        padding: 5px 10px;
        border-radius: 5px;
        transition: all 0.3s ease;
    }

    .footer-widget .footer-links a:hover {
        background: rgba(255, 255, 255, 0.1);
        padding-left: 10px;
    }

    .footer-widget .footer-links a::before {
        display: none;
    }

    .footer-widget .footer-social {
        justify-content: center;
        gap: 12px;
    }

    .footer-widget .footer-social a {
        width: 45px;
        height: 45px;
    }

    .footer-contact {
        text-align: center;
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }

    .footer-contact .contact-item {
        margin-bottom: 18px;
        padding: 8px 0;
        display: block;
        text-align: center;
    }

    .footer-contact .contact-item i {
        width: 25px;
        margin-right: 8px;
        font-size: 1.1rem;
        text-align: center;
        display: inline-block;
        vertical-align: top;
    }

    .footer-contact .contact-item span {
        font-size: 0.9rem;
        line-height: 1.6;
        display: inline-block;
        vertical-align: top;
        text-align: center;
    }

    .footer .footer-bottom {
        padding: 20px 0;
        text-align: center;
    }

    .footer .footer-bottom .copyright-text {
        text-align: center;
        margin-bottom: 15px;
        font-size: 0.85rem;
    }

    .footer-bottom-links {
        text-align: center;
        margin-top: 0;
    }

    .footer-bottom-links a {
        display: inline-block;
        margin: 5px 8px;
        padding: 5px 10px;
        border-radius: 3px;
        font-size: 0.85rem;
        transition: all 0.3s ease;
    }

    .footer-bottom-links a:hover {
        background: rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 575px) {
    .footer-top {
        padding: 35px 0 25px;
    }

    .footer-widget {
        margin-bottom: 35px;
        padding: 0 10px;
    }

    .footer-widget .footer-title {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .footer-widget .footer-title::after {
        width: 35px;
        height: 2px;
    }

    .footer-text {
        font-size: 0.9rem;
        margin-bottom: 18px;
        line-height: 1.5;
    }

    .footer-widget .footer-links a {
        font-size: 0.85rem;
        padding: 4px 8px;
    }

    .footer-widget .footer-social {
        gap: 10px;
    }

    .footer-widget .footer-social a {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .footer-contact {
        max-width: 280px;
        margin: 0 auto;
        text-align: center;
    }

    .footer-contact .contact-item {
        margin-bottom: 15px;
        padding: 6px 0;
        display: block;
        text-align: center;
    }

    .footer-contact .contact-item i {
        width: 24px;
        margin-right: 6px;
        font-size: 1rem;
        text-align: center;
        display: inline-block;
        vertical-align: top;
    }

    .footer-contact .contact-item span {
        font-size: 0.85rem;
        line-height: 1.5;
        display: inline-block;
        vertical-align: top;
        text-align: center;
    }

    .footer .footer-bottom {
        padding: 18px 0;
    }

    .footer .footer-bottom .copyright-text {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }

    .footer-bottom-links a {
        font-size: 0.8rem;
        margin: 3px 6px;
        padding: 4px 8px;
    }
}
