/* Custom Color Scheme - White, Navy Blue, Orange-Yellow */
:root {
    --primary-color: #FFEA7B !important; /* Yellow */
    --secondary-color: #1B365D !important; /* Navy Blue */
    --accent-color: #FFFFFF !important; /* White */
    --text-dark: #1B365D !important; /* Navy Blue for text */
    --text-light: #FFFFFF !important; /* White for light text */
    --bg-primary: #FFFFFF !important; /* White background */
    --bg-secondary: #1B365D !important; /* Navy background */
    --bg-accent: #FFEA7B !important; /* Yellow background */
}

/* Apply color scheme to buttons */
.btn-one, .btn-two, .btn-five {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--text-light) !important;
}

.btn-one:hover, .btn-two:hover, .btn-five:hover {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: var(--text-light) !important;
}

/* Force btn-one to be orange with highest priority */
a.btn-one,
.btn-one,
button.btn-one {
    background-color: #FF8C00 !important;
    background: #FF8C00 !important;
    border-color: #FF8C00 !important;
    border: 2px solid #FF8C00 !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
}

a.btn-one:hover,
.btn-one:hover,
button.btn-one:hover,
a.btn-one:focus,
.btn-one:focus,
button.btn-one:focus,
a.btn-one:active,
.btn-one:active,
button.btn-one:active {
    background-color: #1B365D !important;
    background: #1B365D !important;
    border-color: #1B365D !important;
    border: 2px solid #1B365D !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
}

/* Header and navigation colors */
.theme-main-menu {
    background-color: var(--bg-primary) !important;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero section colors */
.hero-banner-one {
    background-color: var(--bg-primary) !important;
}

.hero-heading {
    color: var(--text-dark) !important;
}

/* Card and section backgrounds */
.card-style-one {
    background-color: var(--bg-primary) !important;
    border: 2px solid var(--primary-color) !important;
}

.bg-one {
    background-color: var(--bg-primary) !important;
}

.bg-two {
    background-color: #F8F9FA !important; /* Light gray for contrast */
}

.bg-three {
    background-color: #4221b8 !important;
}

.bg-four {
    background-color: #ffe733 !important;
}

/* Text colors */
.text-dark, .color-dark {
    color: var(--text-dark) !important;
}

.text-light {
    color: var(--text-light) !important;
}

/* Footer colors - Yellow Background */
.footer-one {
    background-color: #ffe733 !important;
}

.footer-one .text-dark {
    color: var(--text-dark) !important;
}

.footer-one .footer-nav-link a {
    color: var(--text-dark) !important;
}

.footer-one .footer-nav-link a:hover {
    color: var(--secondary-color) !important;
}

.footer-one p {
    color: var(--text-dark) !important;
}

.footer-one .tel {
    color: var(--text-dark) !important;
}

.footer-one .copyright-text {
    color: var(--text-dark) !important;
}

.footer-one .copyright-text strong {
    color: var(--text-dark) !important;
}

/* Email banner in footer - Purple/Blue background */
.footer-one .email-banner.bg-three {
    background-color: #4221b8 !important;
}

.footer-one .email-banner.bg-three h3 {
    color: var(--text-light) !important;
}

.footer-one .email-banner.bg-three input {
    border-color: var(--text-light) !important;
    background-color: var(--text-light) !important;
    color: var(--text-dark) !important;
}

.footer-one .email-banner.bg-three input::placeholder {
    color: #666 !important;
}

/* bg-three section text colors (Navy background with white text) */
.bg-three .title-one h2 {
    color: var(--text-light) !important;
}

.bg-three .text-dark {
    color: var(--text-light) !important;
}

.bg-three .fs-28 {
    color: var(--text-light) !important;
}

.bg-three .counter-block-one .main-count {
    color: var(--text-light) !important;
}

.bg-three .counter-block-one span {
    color: var(--text-light) !important;
}

.bg-three .fs-22 {
    color: var(--text-light) !important;
}

/* bg-four section text colors (Orange background with black text) */
.bg-four .title-one h2 {
    color: #000000 !important; /* Black color for FAQ title */
}

.bg-four h4 {
    color: #000000 !important; /* Black color for "Aradığınız cevabı bulamadınız mı?" */
}

.bg-four .text-center h4 {
    color: #000000 !important; /* Black color for centered h4 text */
}

/* Form styling with new colors */
.form-style-one input, 
.form-style-one select, 
.form-style-one textarea {
    border-color: var(--secondary-color) !important;
}

.form-style-one input:focus, 
.form-style-one select:focus, 
.form-style-one textarea:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1) !important;
}

/* Fix for Turkish text - Remove uppercase transformation */
.title-one h2,
.accordion-style-five .accordion-item .accordion-button {
    text-transform: none !important;
}

/* Ensure Turkish characters display correctly */
h1, h2, h3, h4, h5, h6 {
    text-transform: none !important;
}

/* Logo Size Adjustment */
.logo img {
    max-height: 50px !important;
    width: auto !important;
}

/* Mobile logo size */
@media (max-width: 991px) {
    .navbar-nav .logo img {
        max-height: 45px !important;
        width: auto !important;
    }
}

/* Online Education Form Styling */
.contact-form.bg-four {
    background-color: var(--color-four) !important;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Select fields styling to match other form inputs */
.form-style-one select.form-control {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 16px !important;
    cursor: pointer !important;
}

.form-style-one select.form-control option:first-child {
    display: none !important;
}

.contact-form .input-group-meta {
    margin-bottom: 25px;
}

.contact-form .input-group-meta label {
    display: block;
    font-weight: 500;
    font-size: 16px;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.contact-form .input-group-meta input,
.contact-form .input-group-meta select,
.contact-form .input-group-meta textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: 16px;
    color: var(--color-dark);
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.contact-form .input-group-meta input:focus,
.contact-form .input-group-meta select:focus,
.contact-form .input-group-meta textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
}

.contact-form .input-group-meta input::placeholder,
.contact-form .input-group-meta textarea::placeholder {
    color: #999;
    font-size: 15px;
}

.contact-form .form-check {
    margin-bottom: 25px;
}

.contact-form .form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    margin-right: 10px;
    border: 2px solid #ddd;
    border-radius: 4px;
}

.contact-form .form-check-input:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.contact-form .form-check-label {
    font-size: 14px;
    color: var(--color-dark);
    line-height: 1.5;
}

.contact-form .form-check-label a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-form .form-check-label a:hover {
    text-decoration: underline;
}

.contact-form .btn-one {
    width: 100%;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Media List Items Styling */
.media-list-item {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.media-list-item:last-child {
    border-bottom: none;
}

.media-list-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 12px;
}

.media-list-item h5 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 5px;
}

.media-list-item p {
    font-size: 16px;
    color: var(--color-dark);
    margin: 0;
    opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .contact-form.bg-four {
        margin-top: 40px;
    }
    
    .media-list-item {
        padding: 15px 0;
    }
}

@media (max-width: 767px) {
    .contact-form.bg-four {
        padding: 30px 20px !important;
    }
    
    .contact-form .input-group-meta input,
    .contact-form .input-group-meta select,
    .contact-form .input-group-meta textarea {
        padding: 12px 15px;
        font-size: 15px;
    }
}

/* ULTIMATE BUTTON OVERRIDE - HIGHEST PRIORITY */
body a.btn-one,
body .btn-one,
body button.btn-one,
html a.btn-one,
html .btn-one,
html button.btn-one,
div a.btn-one,
div .btn-one,
div button.btn-one {
    background-color: #FF8C00 !important;
    background: #FF8C00 !important;
    background-image: none !important;
    border-color: #FF8C00 !important;
    border: 2px solid #FF8C00 !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
}

body a.btn-one:hover,
body .btn-one:hover,
body button.btn-one:hover,
body a.btn-one:focus,
body .btn-one:focus,
body button.btn-one:focus,
body a.btn-one:active,
body .btn-one:active,
body button.btn-one:active,
html a.btn-one:hover,
html .btn-one:hover,
html button.btn-one:hover,
html a.btn-one:focus,
html .btn-one:focus,
html button.btn-one:focus,
html a.btn-one:active,
html .btn-one:active,
html button.btn-one:active,
div a.btn-one:hover,
div .btn-one:hover,
div button.btn-one:hover,
div a.btn-one:focus,
div .btn-one:focus,
div button.btn-one:focus,
div a.btn-one:active,
div .btn-one:active,
div button.btn-one:active {
    background-color: #1B365D !important;
    background: #1B365D !important;
    background-image: none !important;
    border-color: #1B365D !important;
    border: 2px solid #1B365D !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
}

/* Online Education Accordion Button Text Color Fix */
.accordion-style-five .accordion-button {
    color: #ffffff !important;
}

.accordion-style-five .accordion-button:not(.collapsed) {
    color: #ffffff !important;
}

.accordion-style-five .accordion-button:focus {
    color: #ffffff !important;
}

.accordion-style-five .accordion-button:hover {
    color: #ffffff !important;
}

/* WhatsApp Button Styles */
.whatsapp-button-wrapper {
    position: fixed;
    bottom: 20px;
    z-index: 9999;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.whatsapp-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.whatsapp-button i {
    font-size: 20px;
    flex-shrink: 0;
}

.whatsapp-right {
    right: 20px;
}

.whatsapp-left {
    left: 20px;
}

/* WhatsApp Button Animation */
@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .whatsapp-button {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .whatsapp-button i {
        font-size: 18px;
    }
    
    .whatsapp-text {
        display: none;
    }
    
    .whatsapp-button {
        border-radius: 50%;
        width: 50px;
        height: 50px;
        justify-content: center;
        padding: 0;
    }
    
    .whatsapp-button-wrapper {
        bottom: 15px;
    }
    
    .whatsapp-right {
        right: 15px;
    }
    
    .whatsapp-left {
        left: 15px;
    }
}

/* Tablet Responsive */
@media (max-width: 991px) and (min-width: 769px) {
    .whatsapp-button {
        padding: 10px 18px;
        font-size: 15px;
    }
}

/* WhatsApp Button Hover Effects */
.whatsapp-button:focus,
.whatsapp-button:active {
    outline: none;
    transform: translateY(-1px);
}

/* Ensure button stays above other elements */
.whatsapp-button-wrapper {
    pointer-events: none;
}

.whatsapp-button {
    pointer-events: all;
}
