/* ============================================
   GLOBAL STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0066cc;
    --primary-dark: #004499;
    --primary-light: #3385dd;
    --secondary: #ff6b6b;
    --accent: #ffd700;
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --gray: #6c757d;
    --text: #333;
    --border: #e9ecef;
    --shadow: 0 2px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--light);
}

/* ============================================
   MODERN NAVBAR STYLES
   ============================================ */
.navbar-modern {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.logo-circle {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 198, 255, 0.3);
}

.logo-modern:hover .logo-circle {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 198, 255, 0.5);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: white;
}

.nav-actions {
    display: flex;
    gap: 12px;
}

.btn-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-modern.primary {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 198, 255, 0.3);
}

.btn-modern.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 198, 255, 0.4);
}

.btn-modern.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-modern.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.mobile-toggle-modern {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle-modern span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Modern Circular Services Design */
.services-modern {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.floating-service-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    width: 120px;
}

.floating-service-card:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.service-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: white;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(0, 198, 255, 0.4);
    transition: all 0.3s ease;
}

.floating-service-card:hover .service-circle {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 198, 255, 0.6);
}

.floating-service-card h4 {
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.floating-service-card span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.7rem;
    font-weight: 500;
}

.card-1 {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation: float1 4s ease-in-out infinite;
}

.card-2 {
    top: 80px;
    right: 20px;
    animation: float2 4s ease-in-out infinite 0.5s;
}

.card-3 {
    bottom: 80px;
    right: 20px;
    animation: float3 4s ease-in-out infinite 1s;
}

.card-4 {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation: float4 4s ease-in-out infinite 1.5s;
}

.card-5 {
    top: 80px;
    left: 20px;
    animation: float5 4s ease-in-out infinite 2s;
}

.center-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(20px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s ease-in-out infinite;
}

.badge-content {
    text-align: center;
}

.badge-number {
    display: block;
    color: white;
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1;
}

.badge-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.7rem;
    font-weight: 600;
}

@keyframes float1 {
    0%, 100% { transform: translateX(-50%) translateY(0px); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes float4 {
    0%, 100% { transform: translateX(-50%) translateY(0px); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

@keyframes float5 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-14px); }
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
}

/* ============================================
   BUTTON STYLES
   ============================================ */
.btn {
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid white;
}

.btn-secondary:hover {
    background: var(--light);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 14px 35px;
    font-size: 1rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(135deg, #0052a3 0%, #0066cc 50%, #004499 100%);
    color: white;
    padding: 80px 20px 120px 20px;
    position: relative;
    overflow: hidden;
    min-height: 700px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255,255,255,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: slideInLeft 0.8s ease-out;

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 50px;
    width: fit-content;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    font-weight: 600;
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.15rem;
    opacity: 0.98;
    max-width: 550px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.hero-buttons .btn {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 2px solid rgba(255,255,255,0.25);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat strong {
    font-size: 2rem;
    font-weight: 900;
}

.stat span {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Hero Visual Elements */
.hero-visual {
    position: relative;
    height: 450px;
    animation: slideInRight 0.8s ease-out;
}

.floating-card {
    position: absolute;
    background: white;
    color: var(--primary);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    animation: float 3s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.card-1 {
    top: 20px;
    left: 0;
    animation-delay: 0s;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
}

.card-2 {
    top: 120px;
    right: 0;
    animation-delay: 0.5s;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
}

.card-3 {
    bottom: 20px;
    left: 50%;
    animation-delay: 1s;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
}

.floating-card i {
    font-size: 3rem;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-25px);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Services Showcase in Hero */
.services-showcase {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 40px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    animation: slideInRight 0.8s ease-out, floatCard 3s ease-in-out infinite;
    max-height: 520px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.4) rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
}

.services-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    border-radius: 25px;
}

.services-showcase::-webkit-scrollbar {
    width: 8px;
}

.services-showcase::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.services-showcase::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.services-showcase::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.6);
}

.services-showcase h3 {
    color: white;
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 25px;
    text-align: center;
    letter-spacing: 0.8px;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.services-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.97rem;
    font-weight: 600;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideInListItem 0.6s ease-out forwards;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    position: relative;
}

.services-list li:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.services-list li:nth-child(1) { animation-delay: 0.1s; }
.services-list li:nth-child(2) { animation-delay: 0.15s; }
.services-list li:nth-child(3) { animation-delay: 0.2s; }
.services-list li:nth-child(4) { animation-delay: 0.25s; }
.services-list li:nth-child(5) { animation-delay: 0.3s; }
.services-list li:nth-child(6) { animation-delay: 0.35s; }
.services-list li:nth-child(7) { animation-delay: 0.4s; }
.services-list li:nth-child(8) { animation-delay: 0.45s; }
.services-list li:nth-child(9) { animation-delay: 0.5s; }
.services-list li:nth-child(10) { animation-delay: 0.55s; }
.services-list li:nth-child(11) { animation-delay: 0.6s; }
.services-list li:nth-child(12) { animation-delay: 0.65s; }
.services-list li:nth-child(13) { animation-delay: 0.7s; }
.services-list li:nth-child(14) { animation-delay: 0.75s; }
.services-list li:nth-child(15) { animation-delay: 0.8s; }
.services-list li:nth-child(16) { animation-delay: 0.85s; }
.services-list li:nth-child(17) { animation-delay: 0.9s; }
.services-list li:nth-child(18) { animation-delay: 0.95s; }

.services-list li i {
    color: #4ade80;
    font-size: 1.2rem;
    flex-shrink: 0;
    animation: checkAnimation 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

.services-list li:hover i {
    color: #22c55e;
    text-shadow: 0 0 15px rgba(74, 222, 128, 0.8);
    transform: scale(1.3) rotate(360deg);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes slideInListItem {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}
}

@keyframes checkAnimation {
    from {
        transform: scale(0) rotate(-180deg);
    }
    to {
        transform: scale(1) rotate(0deg);
    }
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: 80px 20px;
    background: white;
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    opacity: 0.08;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

.gradient-1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; }
.gradient-2 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); color: white; }
.gradient-3 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); color: white; }
.gradient-4 { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); color: white; }
.gradient-5 { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); color: white; }
.gradient-6 { background: linear-gradient(135deg, #30cfd0 0%, #330867 100%); color: white; }

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text);
}

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.feature-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.2;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: 80px 20px;
    background: var(--light);
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.8rem;
}

.service-card h3 {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 10px;
    font-weight: 600;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 15px;
}

.service-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ============================================
   DOCUMENTS MODAL
   ============================================ */
.documents-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.documents-content {
    background-color: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease-out;
    position: relative;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: var(--gray);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.close-btn:hover,
.close-btn:focus {
    color: var(--primary);
    transform: scale(1.2);
}

#documentTitle {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 700;
}

.documents-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.documents-list li {
    padding: 12px 0;
    padding-left: 30px;
    color: var(--text);
    position: relative;
    font-size: 0.95rem;
    line-height: 1.6;
    border-bottom: 1px solid var(--border);
}

.documents-list li:last-child {
    border-bottom: none;
}

.documents-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.documents-note {
    background: #f0f7ff;
    padding: 15px;
    border-left: 4px solid var(--primary);
    border-radius: 6px;
    color: var(--text);
    font-size: 0.9rem;
    margin-top: 20px;
}

.service-card {
    cursor: pointer;
}

.service-card:active {
    transform: scale(0.98);
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
.benefits {
    padding: 80px 20px;
    background: white;
}

.benefits-container {
    max-width: 1400px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.benefit-item {
    display: flex;
    gap: 25px;
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.benefit-content h4 {
    color: var(--text);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.benefit-content p {
    color: var(--gray);
    line-height: 1.7;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
}

.contact .section-header h2,
.contact .section-header p {
    color: white;
}

.contact .section-header p {
    opacity: 0.9;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-card h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-card p {
    margin: 5px 0;
    font-size: 0.95rem;
    opacity: 0.95;
}

.contact-card a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-card a:hover {
    text-decoration: underline;
}

.text-small {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    color: white;
    padding: 60px 20px 20px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h4 {
    margin-bottom: 15px;
    font-size: 1rem;
    font-weight: 600;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.7;
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section a:hover {
    opacity: 1;
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 5px 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Large tablets and small desktops */
@media (max-width: 1200px) {
    .nav-container,
    .hero-container,
    .features-container,
    .services-container,
    .benefits-container,
    .contact-container,
    .footer-container {
        max-width: 100%;
        padding: 0 30px;
    }
    
    .hero h1 {
        font-size: 3.2rem;
    }
    
    .services-showcase {
        padding: 30px;
    }
}

/* Tablets */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }
    
    .services-showcase {
        max-height: 400px;
        padding: 25px;
    }
    
    .services-list li {
        font-size: 0.9rem;
        padding: 10px 12px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Mobile landscape and small tablets */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }

    .mobile-toggle-modern {
        display: flex;
    }
    
    .nav-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-modern {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 100px 20px 60px;
        min-height: auto;
    }
    
    .hero-container {
        gap: 2rem;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 40px;
    }

    .btn,
    .btn-lg {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    .hero-stats {
        flex-direction: row;
        justify-content: space-around;
        gap: 20px;
        margin-top: 30px;
    }
    
    .stat strong {
        font-size: 1.8rem;
    }
    
    .stat span {
        font-size: 0.85rem;
    }
    
    /* Services Modern */
    .services-modern {
        width: 900px;
        height: 900px;
        margin: 0 auto;
        position: relative;
    }
    
    .floating-service-card {
        width: 220px;
        padding: 55px;
    }
    
    .floating-service-card h4 {
        font-size: 0.6rem;
    }
    
    .floating-service-card span {
        font-size: 0.5rem;
    }
    
    .center-badge {
        width: 60px;
        height: 60px;
    }
    
    .badge-number {
        font-size: 1rem;
    }
    
    .badge-text {
        font-size: 0.6rem;
    }
    
    /* Hero Visual Centering */
    .hero-visual {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 20px;
    }
    
    .services-wheel {
        margin: 0 auto;
        display: block;
    }
    
    .hero-container {
        text-align: center;
    }
    
    /* Services Showcase */
    .services-showcase {
        max-height: 450px;
        padding: 20px;
    }
    
    .services-showcase h3 {
        font-size: 1.3rem;
        margin-bottom: 120px;
    }
    
    .services-list li {
        font-size: 0.85rem;
        padding: 8px 20px;
        gap: 12px;
    }
    
    .services-list li i {
        font-size: 1rem;
    }

    /* Section Headers */
    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* Grid Layouts */
    .features-grid,
    .benefits-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    /* Feature Cards */
    .feature-card {
        padding: 30px 20px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 2.5rem;
    }
    
    /* Service Cards */
    .service-card {
        padding: 25px 20px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    /* Benefits */
    .benefit-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Contact Cards */
    .contact-card {
        padding: 25px 20px;
    }
    
    .contact-icon {
        font-size: 2rem;
    }

    /* Footer */
    .footer {
        padding: 40px 20px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 30px;
        padding-bottom: 30px;
    }
}

/* Mobile portrait */
@media (max-width: 480px) {
    /* Container padding */
    .nav-container,
    .hero-container,
    .features-container,
    .services-container,
    .benefits-container,
    .contact-container,
    .footer-container {
        padding: 0 15px;
    }
    
    /* Navigation */
    .nav-container {
        gap: 10px;
    }

    .logo-modern {
        font-size: 1rem;
    }
    
    .logo-circle {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .nav-menu {
        padding: 15px;
    }
    
    .nav-item {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .btn-modern {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    /* Hero Section */
    .hero {
        padding: 90px 15px 50px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.4;
    }
    
    .hero p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .hero-badge {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .hero-buttons {
        gap: 10px;
        margin-bottom: 30px;
    }

    .btn,
    .btn-lg {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .hero-stats {
        gap: 15px;
        margin-top: 25px;
    }
    
    .stat strong {
        font-size: 1.5rem;
    }
    
    .stat span {
        font-size: 0.8rem;
    }
    
    /* Services Modern */
    .services-modern {
        width: 350px;
        height: 350px;
        margin: 0 auto;
        position: relative;
    }
    
    .floating-service-card {
        width: 100px;
        padding: 12px;
    }
    
    .service-circle {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .floating-service-card h4 {
        font-size: 0.55rem;
        margin-bottom: 3px;
    }
    
    .floating-service-card span {
        font-size: 0.6rem;
    }
    
    .center-badge {
        width: 50px;
        height: 50px;
    }
    
    .badge-number {
        font-size: 0.9rem;
    }
    
    .badge-text {
        font-size: 0.55rem;
    }
    
    /* Ensure proper centering */
    .hero-visual {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 20px 0;
    }
    
    .services-wheel {
        margin: 0 auto;
        display: block;
    }
    
    /* Services Showcase */
    .services-showcase {
        max-height: 300px;
        padding: 15px;
    }
    
    .services-showcase h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .services-list {
        gap: 8px;
    }
    
    .services-list li {
        font-size: 0.8rem;
        padding: 6px 10px;
        gap: 10px;
    }
    
    .services-list li i {
        font-size: 0.9rem;
    }

    /* Section Headers */
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    /* Cards */
    .feature-card,
    .service-card,
    .contact-card {
        padding: 20px 15px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .feature-icon,
    .service-icon,
    .benefit-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .feature-card h3,
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    .feature-card p,
    .service-card p {
        font-size: 0.85rem;
    }
    
    .contact-icon {
        font-size: 1.8rem;
    }
    
    .contact-card h4 {
        font-size: 1rem;
    }
    
    .contact-card p {
        font-size: 0.85rem;
    }
    
    /* Benefits */
    .benefit-item {
        gap: 12px;
    }
    
    .benefit-content h4 {
        font-size: 1rem;
    }
    
    .benefit-content p {
        font-size: 0.85rem;
    }
    
    /* Documents Modal */
    .documents-content {
        margin: 10% auto;
        padding: 25px 20px;
        width: 95%;
    }
    
    #documentTitle {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .documents-list li {
        padding: 8px 0;
        padding-left: 25px;
        font-size: 0.85rem;
    }
    
    .documents-note {
        padding: 12px;
        font-size: 0.8rem;
        margin-top: 15px;
    }
    
    /* Footer */
    .footer {
        padding: 30px 15px 15px;
    }
    
    .footer-content {
        gap: 20px;
        margin-bottom: 25px;
        padding-bottom: 25px;
    }
    
    .footer-section h4 {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.85rem;
    }
    
    .footer-bottom {
        font-size: 0.8rem;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .section-header h2 {
        font-size: 1.4rem;
    }
    
    .services-modern {
        width: 280px;
        height: 280px;
        margin: 0 auto;
        position: relative;
    }
    
    .floating-service-card {
        width: 85px;
        padding: 10px;
    }
    
    .service-circle {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .floating-service-card h4 {
        font-size: 0.5rem;
    }
    
    .floating-service-card span {
        font-size: 0.55rem;
    }
    
    .center-badge {
        width: 45px;
        height: 45px;
    }
    
    /* Center the wheel properly */
    .hero-visual {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 15px 0;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat {
        text-align: center;
    }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 80px 20px 40px;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
    }
    
    .hero-stats {
        margin-top: 20px;
    }
    
    .services-modern {
        width: 200px;
        height: 200px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .nav-item,
    .service-card,
    .feature-card,
    .contact-card {
        min-height: 44px;
        touch-action: manipulation;
    }
    
    .floating-service-card,
    .service-item {
        min-width: 44px;
        min-height: 44px;
    }
    
    /* Remove hover effects on touch devices */
    .nav-item:hover,
    .btn-modern:hover,
    .feature-card:hover,
    .service-card:hover,
    .contact-card:hover,
    .floating-service-card:hover {
        transform: none;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-circle,
    .service-circle,
    .feature-icon,
    .service-icon,
    .benefit-icon {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}
