/* Apple-Inspired Design Enhancements */

/* Brand Color Palette */
:root {
    /* Brand Colors */
    --sky-aqua: #19C9F5;
    --platinum: #E7E8ED;
    --shadow-grey: #1A1920;
    --persian-blue: #2029BD;
    --brand-white: #FFFFFF;
    
    /* Grays based on brand */
    --apple-gray-1: #F5F6F8;
    --apple-gray-2: #E7E8ED;
    --apple-gray-3: #C8C9CE;
    --apple-gray-4: #86878C;
    --apple-gray-5: #6B6C70;
    --apple-gray-6: #1A1920;
    
    /* Primary Actions */
    --apple-blue: #19C9F5;
    --apple-blue-hover: #0bb8e3;
    
    /* Secondary Actions */
    --apple-secondary: #2029BD;
    --apple-secondary-hover: #1a22a0;
}

/* Enhanced Typography with SF Pro Display/Text feel */
body {
    font-size: 17px;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
}

/* Large Display Text */
.hero-title,
.page-header h1,
.service-detail-title h2 {
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.0625;
    font-weight: 600;
    letter-spacing: -0.015em;
}

/* Headline Text */
.section-title,
h2 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08349;
    font-weight: 600;
    letter-spacing: -0.003em;
}

/* Subheadline */
.section-subtitle,
h3 {
    font-size: clamp(21px, 2.5vw, 28px);
    line-height: 1.14286;
    font-weight: 600;
    letter-spacing: 0.007em;
}

/* Body Text */
p {
    font-size: 17px;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
}

/* Enhanced Buttons - Apple Style */
.hero-btn,
.btn-request,
.cta-button {
    font-size: 17px;
    line-height: 1.17648;
    font-weight: 400;
    letter-spacing: -0.022em;
    padding: 12px 23px;
    border-radius: 980px;
    transition: all 0.4s cubic-bezier(0.28, 0.11, 0.32, 1);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

/* Primary Button */
.hero-btn-consultation,
.btn-request {
    background: var(--sky-aqua);
    color: var(--shadow-grey);
    font-weight: 500;
}

.hero-btn-consultation:hover,
.btn-request:hover {
    background: var(--apple-blue-hover);
    color: var(--shadow-grey);
}

/* Secondary Button */
.hero-btn-about {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-btn-about:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Enhanced Cards */
.service-card,
.client-card,
.partner-card,
.feature-card,
.value-item,
.data-service-item {
    background: white;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.28, 0.11, 0.32, 1);
    overflow: hidden;
}

.service-card:hover,
.client-card:hover,
.partner-card:hover,
.feature-card:hover,
.value-item:hover,
.data-service-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* Refined Sections */
.philosophy-section,
.mission-vision-section,
.services-section,
.data-focus-section,
.values-section,
.clients-section,
.partners-section {
    padding: 88px 0;
}

@media (max-width: 768px) {
    .philosophy-section,
    .mission-vision-section,
    .services-section,
    .data-focus-section,
    .values-section,
    .clients-section,
    .partners-section {
        padding: 60px 0;
    }
}

/* Enhanced Page Header */
.page-header {
    padding: clamp(80px, 12vw, 140px) 0 clamp(60px, 10vw, 100px);
    background: linear-gradient(180deg, var(--shadow-grey) 0%, var(--persian-blue) 100%);
}

.page-header h1 {
    margin-bottom: 12px;
}

.page-header p {
    font-size: 21px;
    line-height: 1.381;
    font-weight: 400;
    opacity: 0.88;
}

/* Glassmorphism Navigation */
.header {
    background: rgba(251, 251, 253, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Enhanced Links */
.nav-list a,
.footer-links a {
    transition: opacity 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
    opacity: 0.8;
}

.nav-list a:hover,
.footer-links a:hover {
    opacity: 1;
}

/* Form Inputs */
.form-group input,
.form-group select,
.form-group textarea {
    font-size: 17px;
    line-height: 1.23536;
    font-weight: 400;
    letter-spacing: -0.022em;
    padding: 16px;
    border: 1px solid var(--apple-gray-3);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--sky-aqua);
    outline: none;
    box-shadow: 0 0 0 4px rgba(25, 201, 245, 0.15);
}

.form-group label {
    font-size: 14px;
    line-height: 1.42859;
    font-weight: 400;
    letter-spacing: -0.016em;
    color: var(--apple-gray-5);
    margin-bottom: 8px;
}

/* Enhanced Footer */
.footer {
    background: var(--apple-gray-6);
    padding-top: 80px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.42859;
    opacity: 0.72;
}

.footer-heading {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
    opacity: 0.56;
}

.footer-links {
    font-size: 14px;
    line-height: 1.42859;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    margin-top: 40px;
}

.copyright {
    font-size: 12px;
    line-height: 1.33337;
    opacity: 0.56;
}

/* Spacing and Layout */
.container {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 22px;
    padding-right: 22px;
}

@media (min-width: 1024px) {
    .container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background-color: rgba(25, 201, 245, 0.2);
    color: inherit;
}

/* Enhanced Icons */
.service-icon,
.client-icon,
.partner-icon,
.data-icon {
    transition: transform 0.5s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.service-card:hover .service-icon,
.client-card:hover .client-icon,
.partner-card:hover .partner-icon,
.data-service-item:hover .data-icon {
    transform: scale(1.08);
}

/* Refined CTA Section */
.services-cta-section,
.services-cta-section {
    background: linear-gradient(135deg, var(--shadow-grey) 0%, var(--persian-blue) 100%);
}

.cta-content h2 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08349;
    font-weight: 600;
    letter-spacing: -0.003em;
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 21px;
    line-height: 1.381;
    font-weight: 400;
    opacity: 0.88;
    margin-bottom: 32px;
}

.cta-button {
    background: white;
    color: var(--apple-gray-6);
    font-weight: 400;
}

.cta-button:hover {
    background: var(--apple-gray-1);
}

/* Industry Cards Enhancement */
.industry-card {
    border-radius: 18px;
}

.industry-overlay h3 {
    font-size: 28px;
    line-height: 1.14286;
    font-weight: 600;
    padding: 8px 16px;
}

/* Organization Chart */
.org-box {
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Mission Vision Cards */
.mission-vision-card {
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Consultation Form Card */
.consultation-form-card {
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

/* Enhanced Service Features on Services Page */
.service-detail-section {
    padding: clamp(60px, 10vw, 100px) 0;
}

.service-icon-large {
    color: var(--sky-aqua);
}

/* Dropdown Menu Enhancement */
.dropdown-menu {
    background-color: rgba(251, 251, 253, 0.92);
    backdrop-filter: saturate(180%) blur(20px);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.dropdown-menu a {
    color: var(--text-dark);
    opacity: 0.8;
}

.dropdown-menu a:hover {
    background-color: rgba(0, 0, 0, 0.04);
    opacity: 1;
}

/* Benefit Items */
.benefit-item {
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Enhanced scrollbar (webkit browsers) */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--apple-gray-1);
}

::-webkit-scrollbar-thumb {
    background: var(--apple-gray-3);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--apple-gray-4);
}

