/*
Theme Name: usgbilisim
Theme URI: http://usgbilisim.com
Author: usgbilisim
Author URI: http://usgbilisim.com
Description: WordPress theme for usgbilisim
Version: 1.0
*/

:root {
    --text-dark: #343f52;
    --text-light: #60697b;
    --primary-color: #605dba;
    --primary-hover: #524e9c;
    --bg-color: #f0f4fc;
    --bg-gradient: linear-gradient(180deg, #eef2fa 0%, #f7f9fd 100%);
    --font-family: 'Manrope', sans-serif;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

.hero-wrapper {
    position: relative;
    background-color: var(--bg-color);
    background: var(--bg-gradient);
    min-height: 70vh;
    display: flex;
    flex-direction: column;
}

.bg-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at right top, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 60%);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.navbar {
    padding: 25px 0;
    position: relative;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.nav-links ul {
    list-style: none;
    display: flex;
    gap: 22px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

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

.nav-links svg {
    margin-top: 2px;
}

/* Dropdown Menu */
.nav-links .dropdown {
    position: relative;
    padding-bottom: 20px;
    /* To increase hover area */
    margin-bottom: -20px;
}

.nav-links .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    width: max-content;
    background-color: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 15px 0;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.nav-links .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-links .dropdown-menu a {
    font-size: 15px;
    font-weight: 600;
    padding: 8px 25px;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
}

.nav-links .dropdown-menu a:hover {
    color: var(--primary-color);
    background-color: transparent;
}

/* Submenu right arrow removed */

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    height: 20px;
    width: 25px;
    padding: 0;
    margin-left: 20px;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(96, 93, 186, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: rgba(96, 93, 186, 0.5);
}

.btn-outline:hover {
    background-color: rgba(96, 93, 186, 0.05);
    border-color: var(--primary-color);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

/* Hero Section */
.hero {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding: 50px 0 50px;
    z-index: 1;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero-content .highlight {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 35px;
    max-width: 480px;
}

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

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 70%;
    height: auto;
    object-fit: contain;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Clouds background */
.clouds {
    position: absolute;
    bottom: -1px;
    /* Overlap slightly to prevent lines */
    left: 0;
    width: 100%;
    z-index: 0;
    line-height: 0;
}

.clouds svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Services Section */
.services {
    padding: 80px 0 100px;
    background-color: #ffffff;
    text-align: center;
}

.section-subtitle {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.section-title {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 60px;
    color: var(--text-dark);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service-card {
    flex: 1 1 calc(25% - 30px);
    min-width: 250px;
    max-width: 300px;
    padding: 20px 10px;
    text-align: center;
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: var(--primary-color);
    background: #f0f4fc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.service-link:hover {
    text-decoration: underline;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0 100px;
    background-color: #ffffff;
}

.wcu-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.wcu-image {
    flex: 1;
}

.wcu-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.wcu-content {
    flex: 1;
}

.wcu-content .section-title {
    text-align: left;
    margin-left: 0;
    max-width: 100%;
    margin-bottom: 40px;
}

.wcu-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.wcu-feature {
    display: flex;
    gap: 15px;
}

.wcu-icon {
    width: 40px;
    height: 40px;
    background-color: #f0f4fc;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wcu-icon svg {
    width: 20px;
    height: 20px;
}

.wcu-text h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.wcu-text p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Utilities */
.text-left {
    text-align: left !important;
}

/* Solutions Section */
.solutions {
    padding: 80px 0 100px;
    background-color: #f8f9fa;
}

.solutions-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.solutions-content {
    flex: 1;
}

.solutions-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 40px;
}

.stats-row {
    display: flex;
    gap: 50px;
}

.stat-box h3 {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 5px;
    line-height: 1;
}

.stat-box p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.stars {
    display: flex;
    gap: 2px;
}

.solutions-image img {
    max-width: 75%;
    display: block;
    margin: 0 auto;
}

/* Analyze Section */
.analyze-section {
    position: relative;
    background-color: var(--bg-color);
    background: var(--bg-gradient);
    padding: 100px 0 180px;
}

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

.analyze-section .section-title {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    max-width: 700px;
}

.analyze-form {
    display: flex;
    max-width: 550px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.analyze-form input {
    flex: 1;
    border: none;
    padding: 18px 25px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    color: var(--text-dark);
}

.analyze-form input::placeholder {
    color: var(--text-light);
}

.analyze-form button {
    border-radius: 0;
    padding: 18px 35px;
    border: none;
    font-size: 16px;
}

/* Footer Section */
.footer {
    padding: 80px 0 40px;
    background-color: #ffffff;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 350px;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

.footer-contact {
    display: flex;
    gap: 60px;
}

.contact-item {
    display: flex;
    gap: 15px;
}

.contact-icon {
    color: var(--primary-color);
    margin-top: 3px;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.contact-text p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid #f0f0f0;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-light);
}

.footer-menu-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu-list a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-menu-list a:hover {
    color: var(--primary-color);
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #ffffff;
    transition: transform 0.2s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
}

.social-links svg {
    width: 14px;
    height: 14px;
}

.social-twitter {
    background-color: #55acee;
}

.social-facebook {
    background-color: #3b5998;
}

.social-dribbble {
    background-color: #ea4c89;
}

.social-instagram {
    background-color: #c13584;
}

.social-youtube {
    background-color: #ed302f;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 50px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-content p {
        margin: 0 auto 35px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hamburger-menu {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 30px 20px;
        flex-direction: column;
        align-items: flex-start;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease;
        z-index: 1000;
        display: flex;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 25px;
    }

    .nav-links .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 15px 0 5px 15px;
        width: 100%;
        text-align: left;
        display: none;
        gap: 15px;
    }

    .nav-links .dropdown:hover .dropdown-menu,
    .nav-links .dropdown:active .dropdown-menu {
        display: flex;
    }

    .nav-actions {
        display: flex;
        align-items: center;
    }
}

/* 404 Error Page */
.error-page {
    padding: 100px 0 120px;
}

.error-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.error-desc {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 40px;
}

/* Contact Page Styles */
.contact-header-wrapper {
    background: #0d286c;
    background: linear-gradient(135deg, #0d286c 0%, #1545aa 100%);
    position: relative;
    overflow: hidden;
}

.contact-header-wrapper::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.contact-header-wrapper::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 50%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}


.contact-hero {
    position: relative;
    z-index: 1;
    padding: 80px 0;
}

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

.contact-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #ffffff;
}

.contact-breadcrumb {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
}

.contact-main {
    margin-top: -125px;
    position: relative;
    z-index: 10;
    padding: 80px 0;
}

.contact-container {
    width: 100%;
}

.contact-box {
    display: flex;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    min-height: 450px;
}

.contact-map {
    flex: 1;
    min-width: 50%;
    position: relative;
}

.contact-map iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 450px;
    border: none !important;
    display: block;
}

.contact-info {
    flex: 1;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 35px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f4fc;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 20px;
    height: 20px;
}

.info-text h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.info-text p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .contact-box {
        flex-direction: column;
    }

    .contact-map iframe {
        height: 300px;
    }

    .contact-info {
        padding: 40px 30px;
    }
}

/* Terms and Conditions (sait.html) */
.terms-hero {
    background-color: #f0f4fc;
    padding: 80px 0;
}

.terms-title {
    font-size: 42px;
    font-weight: 800;
    color: #343f52;
    margin-bottom: 15px;
}

.terms-breadcrumb {
    font-size: 15px;
    color: var(--text-light);
}

.terms-breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.terms-breadcrumb a:hover {
    color: var(--primary-color);
}

.terms-main {
    padding: 80px 0;
    background-color: #ffffff;
}

.terms-container {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.terms-sidebar {
    flex: 0 0 250px;
}

.terms-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.terms-sidebar li {
    margin-bottom: 15px;
}

.terms-sidebar a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.2s ease;
    display: block;
}

.terms-sidebar a:hover,
.terms-sidebar li.active a {
    color: #3f78e0;
}

.terms-content {
    flex: 1;
    background: #ffffff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.terms-content h2 {
    font-size: 28px;
    color: #343f52;
    margin-bottom: 25px;
    font-weight: 700;
}

.terms-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

@media (max-width: 768px) {
    .terms-container {
        flex-direction: column;
    }

    .terms-sidebar {
        flex: none;
        width: 100%;
    }

    .terms-sidebar ul {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }

    .terms-sidebar li {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 40px;
    }

    .footer-contact {
        flex-direction: column;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-menu-list {
        justify-content: center;
    }
}

.usg-item-row {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.usg-item-img {
    width: 160px;
    height: auto;
    border-radius: 12px;
    background: #f0f4fc;
    padding: 10px;
    flex-shrink: 0;
}

.usg-item-placeholder {
    width: 160px;
    height: 160px;
    border-radius: 12px;
    background: #f0f4fc;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .usg-item-row {
        flex-direction: column;
    }

    .usg-item-img,
    .usg-item-placeholder {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .usg-item-placeholder {
        height: 200px;
    }
}

/* ==================================================
   ANALYSIS MODAL STYLES
   ================================================== */
.usg-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.usg-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.usg-modal-content {
    background: #fff;
    width: 90%;
    max-width: 500px;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.usg-modal-overlay.active .usg-modal-content {
    transform: translateY(0);
}

.usg-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.usg-modal-close:hover {
    color: var(--text-dark);
}

.usg-modal-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-size: 24px;
}

.usg-modal-content p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 25px;
}

.usg-form-group {
    margin-bottom: 15px;
    text-align: left;
}

.usg-form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 600;
}

.usg-form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    color: var(--text-dark);
    background: #f8fafc;
    transition: all 0.3s ease;
}

.usg-form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(96, 93, 186, 0.1);
    background: #fff;
}

.usg-modal-form .btn-primary {
    width: 100%;
    margin-top: 10px;
    font-size: 16px;
    padding: 14px;
}

.usg-msg-success {
    background: #dcfce7;
    color: #166534;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    text-align: center;
}

.usg-msg-error {
    background: #fee2e2;
    color: #991b1b;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    text-align: center;
}