/* DDC Driving School - Main Stylesheet */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    background: #f5f5f5;
    overflow-x: hidden;
}

body[lang="ar"] {
    font-family: 'Cairo', 'Tajawal', 'Inter', sans-serif !important;
}

* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

body[lang="ar"] * {
    font-family: 'Cairo', 'Tajawal', 'Inter', sans-serif !important;
}

/* Header Top Bar */
.header-top-bar {
    background: transparent;
    padding: 10px 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 100;
}

.language-dropdown {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
}

.langauge-icon img {
    width: 24px;
    height: 24px;
}

.language-dropdown button {
    background: transparent;
    border: none;
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 500;
}

.language-dropdown button:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Navbar */
.navbar {
    background: transparent;
    padding: 20px 0;
    transition: all 0.3s ease;
    position: absolute;
    top: 50px;
    width: 100%;
    z-index: 99;
}

.navbar.sticky-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    background: transparent !important;
    padding: 0 !important;
}

.navbar-brand img {
    height: 90px;
    background: transparent !important;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    background: transparent !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
    background: transparent !important;
}

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

.navbar-nav .nav-link {
    color: white !important;
    padding: 10px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #F7BE15 !important;
}

.btn-style-new {
    background: linear-gradient(135deg, #F7BE15 0%, #F2BA14 100%);
    color: #000;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
}

.btn-style-new:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(247, 190, 21, 0.4);
    color: #000;
}

/* Home Slider */
.home-main-wrap {
    position: relative;
}

.home-slider .slider-item {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.home-slider .slider-item > div {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover !important;
    background-position: center !important;
    position: relative;
}

.home-slider .slider-item > div::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.home-slider .container {
    position: relative;
    z-index: 2;
}

.home-slider h2 {
    font-size: 60px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.home-slider p {
    font-size: 20px;
    color: white;
    margin-bottom: 30px;
    max-width: 600px;
}

.slider-btn-wrap {
    margin-top: 30px;
}

.slider-btn-wrap .btn-style-new {
    display: inline-block;
}

/* Line Animation */
.line-animation-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    pointer-events: none;
}

.line-animation-wrap svg {
    width: 100%;
    height: auto;
}

/* About Us Section */
.about-us-section {
    padding: 30px 0 100px 0;
    background: #f5f5f5;
    position: relative;
    margin-top: -50px;
}

.sub-head {
    color: #138D47;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.top-level-head {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 30px;
    line-height: 1.5;
    letter-spacing: -0.8px;
}

.about-left-col {
    border-radius: 20px;
    overflow: hidden;
}

.img_zoom {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.img-box-wrap:hover .img_zoom {
    transform: scale(1.05);
}

.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.about-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-box img {
    width: 40px;
    height: 40px;
}

.icon-content h4 {
    font-size: 36px;
    font-weight: 700;
    color: #138D47;
    margin-bottom: 5px;
}

.icon-content span {
    font-size: 16px;
    color: #666;
}

/* License Type Section */
.license-type-section {
    padding: 100px 0;
    background: white;
}

.license-type-section-top-content {
    text-align: center;
    margin-bottom: 60px;
}

.licence-type-slider .slide-box {
    margin: 0 15px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.licence-type-slider .slide-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.slider-box-image {
    height: 250px;
    overflow: hidden;
}

.slider-box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.slide-box:hover .slider-box-image img {
    transform: scale(1.1);
}

.slider-box-content {
    padding: 20px;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slider-box-content h5 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.slider-box-content a {
    width: 40px;
    height: 40px;
    background: #138D47;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-box-content a:hover {
    background: #0D6532;
    transform: rotate(45deg);
}

.slider-box-content a img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* Fixed Buttons Outside Slider */
.slider-fixed-btn {
    position: absolute;
    bottom: 200px;
    left: 0;
    right: 0;
    z-index: 10;
    pointer-events: none;
}

.slider-fixed-btn .slider-btn-wrap,
.slider-fixed-btn .slider-btn-wrap-multi {
    pointer-events: auto;
}

.slider-btn-wrap-multi {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.btn-primary-action {
    background: linear-gradient(135deg, #F7BE15 0%, #F2BA14 100%);
    color: #000;
    font-size: 16px;
    font-weight: 700;
    padding: 15px 35px;
    box-shadow: 0 8px 25px rgba(247, 190, 21, 0.4);
    font-family: 'Cairo', 'Inter', sans-serif !important;
}

.btn-primary-action:hover {
    background: linear-gradient(135deg, #F2BA14 0%, #E8B012 100%);
    box-shadow: 0 12px 35px rgba(247, 190, 21, 0.6);
    transform: translateY(-3px);
}

.btn-secondary-action {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-family: 'Cairo', 'Inter', sans-serif !important;
}

.btn-secondary-action:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Home Slider Custom Navigation */
.home_slider_custom_btn {
    position: absolute;
    bottom: 138px;
    width: 100%;
    z-index: 4;
}

.home_slider_custom_arrow {
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
}

.home_slider_custom_btn_main {
    display: flex;
    align-items: center;
    gap: 30px;
}

.home_Slider_custom_nevigation {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: #fff;
    font-family: sans-serif;
}

.current_slide,
.total_slide {
    color: #fff;
    font-weight: 500;
    min-width: 18px;
    text-align: center;
}

.progress_wrap {
    position: relative;
    width: 54px;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
    overflow: hidden;
}

.slider_process {
    display: block;
    height: 100%;
    width: 0%;
    background: #F8C438;
    transition: width 0.5s ease;
}

.home_slider_left_arrow,
.home_slider_right_arrow {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.home_slider_left_arrow:hover,
.home_slider_right_arrow:hover {
    opacity: 0.7;
}

/* Hide ALL Slick Arrows */
.slick-prev,
.slick-next,
.home-slider .slick-prev,
.home-slider .slick-next,
.home-main-wrap .slick-prev,
.home-main-wrap .slick-next {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    z-index: -9999 !important;
}

/* Licensing Process Section */
.our-licensing-process-section {
    padding: 100px 0;
    background: #f5f5f5;
}

.content-toggle-boxes {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.content-toggle-box {
    background: white;
    border-radius: 15px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.content-toggle-box:hover,
.content-toggle-box.active {
    border-color: #138D47;
    box-shadow: 0 5px 20px rgba(19, 141, 71, 0.15);
}

.content-left-box h4 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.content-left-box p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.content-left-box ul {
    margin: 10px 0;
    padding-left: 20px;
}

.content-left-box ul li {
    color: #666;
    margin-bottom: 8px;
}

.content-right-box img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.content-toggle-box.active .content-right-box img {
    transform: rotate(180deg);
}

/* Partners Section */
.our-partner-section {
    padding: 100px 0;
    background: white;
}

.our-partner-inner-top-content {
    text-align: center;
    margin-bottom: 60px;
}

.logo-carousel-wrapper {
    overflow: hidden;
}

.logo-carousel {
    display: flex;
    gap: 30px;
}

.logo-carousel-img {
    flex: 0 0 auto;
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.logo-carousel-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Footer */
.footer {
    background: #000;
    color: white;
    padding: 60px 0 30px;
    position: relative;
}

.footer-logo-wrap img {
    height: 80px;
    margin-bottom: 20px;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.footer-social-icons li a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social-icons li a:hover {
    background: #138D47;
    transform: translateY(-3px);
}

.footer-social-icons li a img {
    width: 20px;
    height: 20px;
}

.quick-links {
    list-style: none;
    padding: 0;
}

.quick-links h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

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

.quick-links li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-links li a:hover {
    color: #F7BE15;
    padding-left: 5px;
}

/* FAB Buttons */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.fab:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

#backToTop {
    background: #F7BE15;
    display: none;
}

.fab.whatsapp {
    background: #25D366;
}

.fab img {
    width: 30px;
    height: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .slider-fixed-btn {
        bottom: 120px;
    }
    
    .slider-btn-wrap-multi {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-primary-action,
    .btn-secondary-action {
        width: 100%;
        max-width: 300px;
        text-align: center;
        font-size: 14px;
        padding: 12px 25px;
    }
    
    .home-slider .slider-item {
        min-height: 100vh !important;
    }
    
    .home-slider .slider-item > div {
        min-height: 100vh !important;
        height: auto !important;
    }
    
    .home-slider h2 {
        font-size: 36px;
    }

    .home-slider p {
        font-size: 16px;
    }

    .top-level-head {
        font-size: 28px;
    }

    .home_slider_custom_btn {
        bottom: 50px;
    }

    .fab-container {
        right: 20px;
        bottom: 20px;
    }
    
    .navbar-brand img {
        height: 60px;
    }
}
