/**
* dmrICT Custom Styles
* Customizations on top of HEROBIZ template
*/

/* ======= Header Logo ======= */
.header .logo img {
    max-height: 42px;
    margin-right: 10px;
}

.header .logo .logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
    transition: color 0.3s;
}

.header.sticked .logo .logo-text {
    color: var(--color-primary);
}

/* ======= Language Switch ======= */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 15px;
    position: relative;
    z-index: 1000;
}

.lang-switch .lang-btn {
    background: none;
    border: 2px solid transparent;
    border-radius: 4px;
    padding: 2px 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.lang-switch .lang-btn:hover,
.lang-switch .lang-btn.active {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

.header.sticked .lang-switch .lang-btn {
    color: var(--color-secondary);
}

.header.sticked .lang-switch .lang-btn:hover,
.header.sticked .lang-switch .lang-btn.active {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.lang-switch .lang-btn img {
    width: 22px;
    height: 16px;
    border-radius: 2px;
}

/* ======= Transparent Header Nav (white on hero, dark on scroll) ======= */
@media (min-width: 1280px) {

    .navbar>ul>li>a,
    .navbar>ul>li>a:focus {
        color: rgba(255, 255, 255, 0.85) !important;
    }

    .navbar>ul>li>a:hover,
    .navbar>ul>li:hover>a {
        color: #fff !important;
    }

    .navbar>ul>li>a:before {
        background-color: #fff;
    }

    .header.sticked .navbar>ul>li>a,
    .header.sticked .navbar>ul>li>a:focus {
        color: rgba(var(--color-secondary-dark-rgb), 0.7) !important;
    }

    .header.sticked .navbar>ul>li>a:hover,
    .header.sticked .navbar>ul>li:hover>a {
        color: var(--color-primary) !important;
    }

    .header.sticked .navbar>ul>li>a:before {
        background-color: var(--color-primary);
    }
}

/* ======= Hero Animated (Skymod-style centered) ======= */
.hero-animated {
    min-height: 85vh;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.85), rgba(43, 76, 126, 0.85)),
        url('../img/hero-bg.jpg') center center / cover no-repeat;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.hero-animated::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(43, 76, 126, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(61, 99, 153, 0.05) 0%, transparent 50%);
    animation: heroFloat 15s ease-in-out infinite;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(2%, -2%) rotate(1deg);
    }

    66% {
        transform: translate(-1%, 1%) rotate(-0.5deg);
    }
}

.hero-animated h2 {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-animated h2 span {
    color: #68b8ff;
}

.hero-animated p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.hero-animated .btn-get-started {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 12px 36px;
    border-radius: 50px;
    background: var(--color-primary);
    color: #fff;
    border: 2px solid var(--color-primary);
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.5;
    min-height: 48px;
}

.hero-animated .btn-get-started:hover {
    background: transparent;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(43, 76, 126, 0.4);
}

.hero-animated .btn-secondary-hero {
    font-size: 16px;
    font-weight: 600;
    padding: 12px 36px;
    border-radius: 50px;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.5;
    min-height: 48px;
    margin-left: 15px;
}

.hero-animated .btn-secondary-hero:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(43, 76, 126, 0.2);
}

/* ======= Featured Services Cards ======= */
.featured-services .service-item {
    transition: all 0.4s ease;
}

.featured-services .service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(43, 76, 126, 0.15);
}

.featured-services .service-item .icon i {
    color: var(--color-primary);
}

/* ======= Kaynaklar (hidden menu item - will activate later) ======= */
.navbar .nav-disabled {
    display: none !important;
}

/* ======= CTA Section ======= */
.cta {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
}

.cta h3,
.cta h3 em,
.cta p {
    color: #fff !important;
}

.cta h3 em {
    font-style: italic;
}

/* ======= Footer Logo & Contrast ======= */
.footer .footer-info .footer-logo {
    max-height: 50px;
    margin-bottom: 15px;
}

.footer .footer-info p a {
    color: #a0c4ff !important;
}

.footer .footer-info p a:hover {
    color: #fff !important;
}

.footer .footer-info .social-links a {
    font-size: 18px;
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    line-height: 1;
    padding: 8px;
    margin-right: 6px;
    border-radius: 4px;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
}

.footer .footer-info .social-links a:hover {
    background: var(--color-primary);
    color: #fff;
}

/* ======= Footer Logo Text ======= */
.footer-logo-text {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-left: 10px;
    letter-spacing: 0.5px;
}

/* ======= Custom File Upload ======= */
.custom-file-upload {
    display: flex;
    align-items: center;
    gap: 12px;
}

.custom-file-upload input[type="file"] {
    display: none;
}

.custom-file-upload .btn-browse {
    display: inline-block;
    padding: 8px 20px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
    white-space: nowrap;
}

.custom-file-upload .btn-browse:hover {
    background: #1e3a5f;
}

.custom-file-upload .file-name {
    font-size: 14px;
    color: #666;
}

/* ======= dmrSoci Product Page ======= */
.product-hero {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #0d1b2a 0%, #1b3a5c 50%, #2B4C7E 100%);
    color: #fff;
}

.product-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.product-hero p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
}

.product-hero .product-img img {
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.product-hero .btn-get-started {
    font-size: 16px;
    font-weight: 600;
    padding: 12px 36px;
    border-radius: 50px;
    background: #fff;
    color: var(--color-primary);
    border: 2px solid #fff;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.product-hero .btn-get-started:hover {
    background: transparent;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.product-hero .btn-secondary-hero {
    font-size: 16px;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.product-hero .btn-secondary-hero:hover {
    background: #fff;
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.feature-card i {
    font-size: 36px;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.feature-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.step-card {
    text-align: center;
    padding: 30px;
}

.step-card .step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 14px;
    color: #666;
}

/* Demo Request Modal */
.demo-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.demo-modal-overlay.active {
    display: flex;
}

.demo-modal {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.demo-modal h3 {
    margin-bottom: 25px;
    font-weight: 700;
    color: var(--color-primary);
}

.demo-modal .close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    background: none;
    border: none;
}

.demo-modal .close-btn:hover {
    color: #333;
}

/* ======= Global PHP Email Form Status (for forms outside .contact) ======= */
.php-email-form .loading,
.php-email-form .error-message,
.php-email-form .sent-message {
    display: none;
}

.php-email-form .error-message {
    color: #fff;
    background: #dc3545;
    text-align: left;
    padding: 15px;
    font-weight: 600;
    border-radius: 8px;
}

.php-email-form .sent-message {
    color: #fff;
    background: #28a745;
    text-align: center;
    padding: 15px;
    font-weight: 600;
    border-radius: 8px;
}

.php-email-form .loading {
    background: #fff;
    text-align: center;
    padding: 15px;
}

.php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid #28a745;
    border-top-color: #fff;
    animation: animate-loading 1s linear infinite;
}

/* ======= Consulting Service Cards Fix ======= */
.services .service-item {
    height: 100%;
    margin-bottom: 0;
}

.services .service-item .details {
    padding: 50px 30px 30px;
    margin: 0 !important;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}

.services .service-item .details .icon {
    position: absolute;
    top: -36px;
    left: calc(50% - 36px);
}

.services .service-item .details:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(43, 76, 126, 0.12);
}

/* ======= Kariyer Page ======= */
.career-hero {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: #fff;
    padding: 120px 0 60px;
    text-align: center;
}

.career-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.career-hero p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.job-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 15px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    cursor: pointer;
    border-left: 4px solid transparent;
}

.job-card:hover {
    border-left-color: var(--color-primary);
    transform: translateX(5px);
    box-shadow: 0 5px 25px rgba(43, 76, 126, 0.12);
}

.job-card .job-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-default);
    margin-bottom: 8px;
}

.job-card .job-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.job-card .job-meta span {
    font-size: 13px;
    color: var(--color-secondary-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.career-benefits .benefit-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.career-benefits .benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(43, 76, 126, 0.12);
}

.career-benefits .benefit-card i {
    font-size: 40px;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.career-benefits .benefit-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* ======= Career Form ======= */
.career-form {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 40px;
}

.career-form .form-control,
.career-form .form-select {
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.career-form .form-control:focus,
.career-form .form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(43, 76, 126, 0.15);
}

.career-form .btn-submit {
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 12px 36px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.career-form .btn-submit:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(43, 76, 126, 0.3);
}

/* ======= Inner Page Header ======= */
.page-header {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    padding: 120px 0 40px;
    color: #fff;
    margin-top: 0;
}

.page-header h2 {
    font-size: 36px;
    font-weight: 700;
}

.page-header .breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.page-header .breadcrumb .active {
    color: #fff;
}

/* ======= Responsive ======= */
@media (max-width: 768px) {
    .hero-animated h2 {
        font-size: 32px;
    }

    .hero-animated p {
        font-size: 16px;
    }

    .hero-animated .btn-secondary-hero {
        margin-left: 0;
        margin-top: 10px;
    }

    .career-hero h1 {
        font-size: 30px;
    }
}

/* ======= Mobile Header: TR/EN next to hamburger ======= */
@media (max-width: 1279px) {
    .lang-switch {
        position: fixed;
        top: 22px;
        right: 60px;
        z-index: 9997;
        margin-left: 0;
        background: rgba(0, 0, 0, 0.25);
        padding: 2px 6px;
        border-radius: 6px;
    }
}

/* ======= Extra-small screens (<=375px) ======= */
@media (max-width: 375px) {
    .hero-animated .btn-get-started,
    .hero-animated .btn-secondary-hero {
        padding: 12px 24px;
        font-size: 15px;
    }

    .services .service-item .details .icon {
        top: -24px;
        left: calc(50% - 24px);
        width: 48px;
        height: 48px;
    }

    .services .service-item .details {
        padding-top: 36px;
    }
}

/* ======= intl-tel-input Phone Selector ======= */
.iti {
    width: 100%;
}

.iti .iti__selected-dial-code {
    font-size: 14px;
}

.demo-modal .iti {
    width: 100%;
}

.iti__country-list {
    z-index: 10000;
}

/* ======= Modern Modal Submit Button ======= */
.demo-modal .btn-submit {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    border: none;
    padding: 12px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(43, 76, 126, 0.3);
}

.demo-modal .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(43, 76, 126, 0.4);
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
}

/* ======= Required Field Indicator ======= */
.php-email-form label.required::after,
.php-email-form .form-label.required::after {
    content: " *";
    color: #dc3545;
    font-weight: 700;
}