/* Apple-Inspired Theme - Clean, Modern, Minimalist Design */

:root {
    /* Apple's Color Palette */
    --theme-color1-rgb: 0, 0, 0;
    --theme-color2-rgb: 0, 122, 255;
    --theme-color3-rgb: 245, 245, 247;
    
    --theme-color1: #000000;
    --theme-color2: #007AFF;
    --theme-color3: #F5F5F7;
    
    --theme-color-light: #FFFFFF;
    --theme-color-dark: #000000;
    
    --text-color-bg-theme-color1: #FFFFFF;
    --text-color-bg-theme-color2: #FFFFFF;
    --text-color-bg-theme-color3: #1D1D1F;
    
    --bg-theme-color1: var(--theme-color1);
    --bg-theme-color2: var(--theme-color2);
    --bg-theme-color3: var(--theme-color3);
    
    --border-theme-color1: var(--theme-color1);
    --border-theme-color2: var(--theme-color2);
    --border-theme-color3: #D2D2D7;
    
    --text-color-light: var(--theme-color-light);
    --bg-color-light: var(--theme-color-light);
    
    /* Apple Typography Colors */
    --text-color: #1D1D1F;
    --headings-color: #1D1D1F;
    --link-color: #007AFF;
    --link-hover-color: #0051D5;
    
    /* Apple Font Stack */
    --text-font: "SF Pro Text","SF Pro Icons","Helvetica Neue","Helvetica","Arial",sans-serif;
    --title-font: "SF Pro Text","SF Pro Icons","Helvetica Neue","Helvetica","Arial",sans-serif;
    
    /* Apple Typography Sizes */
    --body-font-size: 17px;
    --body-line-height: 1.47059;
    --body-font-weight: 400;
    
    --h1-font-size: 80px;
    --h2-font-size: 56px;
    --h3-font-size: 32px;
    --h4-font-size: 24px;
    --h5-font-size: 19px;
    --h6-font-size: 17px;
    
    --h1-font-weight: 600;
    --h2-font-weight: 600;
    --h3-font-weight: 600;
    --h4-font-weight: 600;
    --h5-font-weight: 600;
    --h6-font-weight: 600;
    
    --line-height-heading-h1: 1.05;
    --line-height-heading-h2: 1.07143;
    --line-height-heading: 1.125;
    --line-height-heading-small: 1.2;
    
    /* Section Titles */
    --sec-title-subtitle-color: #86868B;
    --sec-title-subtitle-font-size: 12px;
    --sec-title-subtitle-font-family: var(--text-font);
    --sec-title-subtitle-font-weight: 400;
    --sec-title-subtitle-line-height: 1.33337;
    --sec-title-subtitle-letter-spacing: -0.01em;
    --sec-title-subtitle-text-transform: uppercase;
    
    --sec-title-color: var(--headings-color);
    --sec-title-font-size: var(--h2-font-size);
    --sec-title-font-family: var(--title-font);
    --sec-title-font-weight: var(--h2-font-weight);
    
    /* Apple Background Colors */
    --theme-light-background: #FBFBFD;
    --theme-light-background-text-color: var(--headings-color);
    --theme-black: #000000;
    
    /* Container Settings */
    --container-width: 1200px;
    --small-container-width: 1000px;
    --large-container-width: 1550px;
    --container-pt: 80px;
    --container-pb: 80px;
}

/* Apple-style Selection */
::-moz-selection {
    background: var(--theme-color2);
    color: #fff;
    text-shadow: none;
}

::selection {
    background: var(--theme-color2);
    color: #fff;
    text-shadow: none;
}

/* Apple-style Body */
body {
    background-color: #FFFFFF;
    background-attachment: fixed;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    counter-reset: my-sec-counter;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text-color);
    font-size: var(--body-font-size);
    font-family: var(--text-font);
    font-weight: var(--body-font-weight);
    line-height: var(--body-line-height);
    letter-spacing: -0.022em;
}

/* Apple-style Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--headings-color);
    font-family: var(--title-font);
    font-weight: 600;
    letter-spacing: -0.003em;
    line-height: 1.05;
}

h1 {
    font-size: var(--h1-font-size);
    font-weight: var(--h1-font-weight);
    line-height: var(--line-height-heading-h1);
    letter-spacing: -0.015em;
}

h2 {
    font-size: var(--h2-font-size);
    font-weight: var(--h2-font-weight);
    line-height: var(--line-height-heading-h2);
    letter-spacing: -0.003em;
}

h3 {
    font-size: var(--h3-font-size);
    font-weight: var(--h3-font-weight);
    line-height: var(--line-height-heading);
}

h4 {
    font-size: var(--h4-font-size);
    font-weight: var(--h4-font-weight);
    line-height: var(--line-height-heading);
}

h5 {
    font-size: var(--h5-font-size);
    font-weight: var(--h5-font-weight);
    line-height: var(--line-height-heading);
}

h6 {
    font-size: var(--h6-font-size);
    font-weight: var(--h6-font-weight);
    line-height: var(--line-height-heading-small);
}

/* Apple-style Links */
a {
    color: var(--link-color);
    text-decoration: none;
    font-weight: var(--body-font-weight);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover, a:focus {
    color: var(--link-hover-color);
    text-decoration: none;
    outline: none;
}

/* Apple-style Buttons */
.btn-classic,
button.btn-classic,
a.btn-classic {
    background-color: var(--theme-color2);
    color: #FFFFFF;
    border: none;
    border-radius: 980px;
    padding: 12px 22px;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: -0.022em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-classic:hover,
button.btn-classic:hover,
a.btn-classic:hover {
    background-color: var(--link-hover-color);
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.btn-classic:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 122, 255, 0.2);
}

/* Apple-style Navigation */
.main-header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-header.fixed-header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.main-menu .navigation > li > a {
    color: var(--headings-color);
    font-size: 17px;
    font-weight: 400;
    letter-spacing: -0.022em;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-menu .navigation > li > a:hover,
.main-menu .navigation > li.current > a {
    color: var(--theme-color2);
}

/* Apple-style Cards */
.card,
.inner-box {
    background-color: #FFFFFF;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover,
.inner-box:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* Apple-style Sections */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title .sub-title {
    color: var(--sec-title-subtitle-color);
    font-size: var(--sec-title-subtitle-font-size);
    font-family: var(--sec-title-subtitle-font-family);
    font-weight: var(--sec-title-subtitle-font-weight);
    line-height: var(--sec-title-subtitle-line-height);
    letter-spacing: var(--sec-title-subtitle-letter-spacing);
    text-transform: var(--sec-title-subtitle-text-transform);
    margin-bottom: 8px;
}

.section-title .title {
    color: var(--sec-title-color);
    font-size: var(--sec-title-font-size);
    font-family: var(--sec-title-font-family);
    font-weight: var(--sec-title-font-weight);
    line-height: var(--line-height-heading-h2);
    letter-spacing: -0.003em;
}

/* Apple-style Form Elements */
.form-control,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
    background-color: #FFFFFF;
    border: 1px solid #D2D2D7;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 17px;
    font-family: var(--text-font);
    color: var(--text-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-control:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: var(--theme-color2);
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
}

.form-control::placeholder {
    color: #86868B;
}

/* Apple-style Modals */
.modal-content {
    border-radius: 18px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    border-bottom: 1px solid #D2D2D7;
    padding: 24px 30px;
}

.modal-body {
    padding: 30px;
}

.modal-title {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.003em;
    color: var(--headings-color);
}

/* Apple-style Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #F5F5F7;
}

::-webkit-scrollbar-thumb {
    background: #D2D2D7;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #86868B;
}

/* Apple-style Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Apple-style Transitions */
* {
    transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Apple-style Active States */
.nav.main-menu .navigation > li.current > a,
.nav.main-menu .navigation > li > ul > li.current > a,
.nav.main-menu .navigation > li > ul > li > ul > li.current > a {
    color: var(--theme-color2);
}

/* Apple-style Pagination */
.pagination .page-link {
    color: var(--theme-color2);
    border-color: #D2D2D7;
    border-radius: 8px;
    margin: 0 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pagination .active > .page-link,
.page-link.active {
    background-color: var(--theme-color2);
    border-color: var(--theme-color2);
    color: #FFFFFF;
}

.pagination .page-link:hover {
    background-color: var(--theme-color3);
    border-color: var(--theme-color2);
    color: var(--theme-color2);
}

/* Apple-style Testimonials */
.testimonial-block .inner-box {
    background-color: var(--theme-color3);
    border-radius: 18px;
    padding: 30px;
}

/* Apple-style Team Section */
.team-section .owl-dot {
    background: #D2D2D7;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-section .owl-dot.active {
    background: var(--theme-color2);
}

.team-section .owl-dot:hover {
    background: var(--link-hover-color);
}

/* Apple-style Solution Section */
.solution-section,
.solution-section-two {
    background-color: var(--theme-light-background);
}

.solution-section:before,
.solution-section-two:before {
    background-color: var(--theme-color1);
}

/* Apple-style Contact Section */
.contact-service {
    background-color: var(--theme-color1);
    background-image: none;
}

.contact-service .level-0 {
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-service .level-0 > a::before {
    color: var(--theme-color2);
}

.contact-service .level-1 > a::before,
.contact-service .level-2 > a::before {
    color: var(--theme-color2);
}

/* Responsive Typography */
@media only screen and (max-width: 991px) {
    :root {
        --h1-font-size: 48px;
        --h2-font-size: 40px;
        --h3-font-size: 28px;
        --h4-font-size: 22px;
        --body-font-size: 17px;
    }
    
    .section-title .title {
        font-size: 40px;
    }
}

@media only screen and (max-width: 767px) {
    :root {
        --h1-font-size: 40px;
        --h2-font-size: 32px;
        --h3-font-size: 24px;
        --h4-font-size: 20px;
        --body-font-size: 17px;
    }
    
    .section-title .title {
        font-size: 32px;
    }
}

