/* ========================================
   Vision Infinity - Version 1
   Gradient Professional Design
   ======================================== */

/* CSS Variables */
:root {
    --primary: #164f70;
    --secondary: #2586c6;
    --accent: #f89722;
    --bg-light: #eee;
    --bg-lighter: #f5f7fa;
    --bg-white: #ffffff;
    --text-dark: #1a1a2e;
    --text-medium: #4a4a6a;
    --text-light: #6c6c8a;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-hero: linear-gradient(145deg, var(--primary) 15%, var(--secondary) 55%, #1182c4 70%);
    --shadow-sm: 0 2px 8px rgba(22, 79, 112, 0.08);
    --shadow-md: 0 4px 20px rgba(22, 79, 112, 0.12);
    --shadow-lg: 0 10px 40px rgba(22, 79, 112, 0.15);
    --shadow-xl: 0 20px 60px rgba(22, 79, 112, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

p {
    color: var(--text-medium);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

.text-link {
    color: var(--secondary);
    font-weight: 600;
    position: relative;
}

.text-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition-normal);
}

.text-link:hover::after {
    width: 100%;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Styles */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    color: var(--primary);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 50px;
    margin-top: 20px;
}

/* Button Styles */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--accent);
    color: whitesmoke;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition-normal);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo img {
    height: 50px;
    transition: var(--transition-normal);
}

.navbar.scrolled .nav-logo img {
    height: 45px;
}

.nav-menu {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: white;
    position: relative;
    padding: 5px 0;
}

.navbar.scrolled .nav-link {
    color: var(--text-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: var(--transition-normal);
}

.navbar.scrolled .nav-toggle span {
    background: var(--primary);
}

/* ========================================
   HERO CAROUSEL
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.carousel {
    width: 100%;
    height: 100vh;
    position: relative;
    background: var(--gradient-hero);
}

.carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.carousel-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-content {
    text-align: center;
    color: white;
    padding: 20px;
    max-width: 900px;
    z-index: 10;
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-logo {
    width: 240px;
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0.5px 0.5px 2px var(--primary));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.slide-content h1 {
    color: white;
    margin-bottom: 10px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.slide-content h2 {
    color: var(--accent);
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.tagline {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 15px;
}

.slogan {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-weight: 300;
}

.slide-desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Carousel Controls */
.carousel-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    cursor: pointer;
    transition: var(--transition-normal);
}

.indicator.active,
.indicator:hover {
    background: white;
    transform: scale(1.2);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-normal);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: white;
    color: var(--primary);
    border-color: white;
}

.carousel-btn.prev {
    left: 30px;
}

.carousel-btn.next {
    right: 30px;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    margin-top: 50px;
}

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-logo {
    width: 100%;
    max-width: 300px;
    filter: drop-shadow(0 15px 40px rgba(22, 79, 112, 0.25)) drop-shadow(0 5px 15px rgba(37, 134, 198, 0.15));
    animation: logoFloat 4s ease-in-out infinite;
    transition: var(--transition-normal);
}

.about-logo:hover {
    filter: drop-shadow(0 20px 50px rgba(22, 79, 112, 0.35)) drop-shadow(0 8px 20px rgba(37, 134, 198, 0.25));
    transform: scale(1.05);
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.9;
    text-align: justify;
}

/* ========================================
   MISSION SECTION
   ======================================== */
.mission-section {
    background: var(--bg-lighter);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid rgba(22, 79, 112, 0.05);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.mission-card {
    text-align: center;
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: var(--shadow-md);
}

.mission-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.mission-card p {
    font-size: 1rem;
}

/* ========================================
   TEAM SECTION
   ======================================== */
.team-section {
    background: var(--bg-white);
}

.team-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.team-card {
    text-align: center;
    padding: 50px 30px;
}

.team-card .card-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.team-card:hover .card-image {
    transform: scale(1.1) rotate(5deg);
}

.card-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.card-content p {
    font-size: 0.95rem;
}

/* ========================================
   SERVICES OVERVIEW
   ======================================== */
.services-overview {
    background: var(--bg-lighter);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.service-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border-left: 4px solid var(--primary);
}

.service-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--accent);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.service-card h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================================
   SERVICES DETAILED
   ======================================== */
.services-detailed {
    background: var(--bg-white);
}

.service-stage {
    margin-bottom: 60px;
    background: var(--bg-lighter);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.stage-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px 40px;
    background: var(--gradient-primary);
    color: white;
}

.stage-number {
    width: 60px;
    height: 60px;
    background: white;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    flex-shrink: 0;
}

.stage-header h3 {
    color: white;
    font-size: 1.6rem;
}

.stage-content {
    padding: 40px;
}

.stage-section {
    margin-bottom: 30px;
}

.stage-section:last-child {
    margin-bottom: 0;
}

.stage-section h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
    display: inline-block;
}

.stage-section p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.service-list {
    list-style: none;
    padding-left: 0;
}

.service-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    line-height: 1.7;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 12px;
    height: 12px;
    background: var(--gradient-primary);
    border-radius: 50%;
}

.service-list li strong {
    color: var(--primary);
}

.analysis-list li {
    font-size: 1.05rem;
}

/* ========================================
   PRIVACY SECTION
   ======================================== */
.privacy-section {
    background: var(--bg-lighter);
}

.privacy-box {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-md);
    margin-top: 50px;
    border-top: 5px solid var(--primary);
}

.privacy-item {
    margin-bottom: 40px;
}

.privacy-item:last-child {
    margin-bottom: 0;
}

/* ========================================
   PRIVACY POLICY MODAL - Enhanced Design
   ======================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(22, 79, 112, 0.85) 0%, rgba(37, 134, 198, 0.75) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    position: relative;
    width: 80%;
    max-width: 850px;
    max-height: 80vh;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-lighter) 100%);
    border-radius: var(--radius-xl);
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.4),
        0 10px 30px rgba(22, 79, 112, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    overflow: hidden;
    transform: scale(0.85) translateY(50px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

/* Decorative top accent line */
.modal-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent), var(--secondary), var(--primary), var(--accent));
    background-size: 300% 100%;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px 25px;
    background: var(--gradient-primary);
    color: white;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

/* Header decorative pattern */
.modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.modal-header::after {
    content: '';
    position: absolute;
    bottom: -60%;
    left: 10%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(248, 151, 34, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.modal-header h2 {
    color: white;
    font-size: 1.7rem;
    margin: 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.modal-header h2::before {
    content: '\f3ed';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.4rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.modal-close {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.modal-close:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 5px 20px rgba(248, 151, 34, 0.4);
}

.modal-body {
    padding: 40px;
    overflow-y: auto;
    flex-grow: 1;
    background: linear-gradient(180deg, transparent 0%, rgba(22, 79, 112, 0.02) 100%);
}

.modal-body .privacy-item {
    margin-bottom: 35px;
    padding: 25px 30px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
    box-shadow: 0 4px 15px rgba(22, 79, 112, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modal-body .privacy-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -4px;
    width: 4px;
    height: 0;
    background: var(--accent);
    transition: height 0.3s ease;
}

.modal-body .privacy-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(22, 79, 112, 0.12);
}

.modal-body .privacy-item:hover::before {
    height: 100%;
}

.modal-body .privacy-item:last-child {
    margin-bottom: 0;
}

.modal-body .privacy-item h3 {
    color: var(--primary);
    font-size: 1.35rem;
    margin-bottom: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-body .privacy-item h3::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.modal-body .privacy-item h4 {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.modal-body .privacy-item p {
    line-height: 1.85;
    color: var(--text-medium);
    font-size: 1rem;
}

.modal-body .privacy-item ul {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.modal-body .privacy-item ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    line-height: 1.75;
    color: var(--text-medium);
}

.modal-body .privacy-item ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(248, 151, 34, 0.3);
}

.modal-body .privacy-item ul li strong {
    color: var(--primary);
    font-weight: 600;
}

.modal-body .privacy-item a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.modal-body .privacy-item a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* Footer Bottom Styling */
.footer-bottom {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-privacy-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
}

.footer-privacy-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.footer-privacy-link:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(248, 151, 34, 0.6);
}

.footer-privacy-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Modal scrollbar styling - Enhanced */
.modal-body::-webkit-scrollbar {
    width: 10px;
}

.modal-body::-webkit-scrollbar-track {
    background: var(--bg-lighter);
    border-radius: 5px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 5px;
    border: 2px solid var(--bg-lighter);
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--secondary), var(--accent));
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        max-height: 90vh;
        border-radius: var(--radius-lg);
    }

    .modal-header {
        padding: 25px 25px 20px;
    }

    .modal-header h2 {
        font-size: 1.3rem;
    }

    .modal-header h2::before {
        font-size: 1.1rem;
        padding: 10px;
    }

    .modal-body {
        padding: 25px;
    }

    .modal-body .privacy-item {
        padding: 20px;
    }
}

.privacy-item h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.privacy-item h3::before {
    content: '';
    width: 5px;
    height: 25px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.privacy-item h4 {
    color: var(--secondary);
    margin: 20px 0 10px;
    font-size: 1.1rem;
}

.privacy-item p {
    line-height: 1.9;
    text-align: justify;
}

.privacy-item ul {
    list-style: none;
    margin-top: 15px;
}

.privacy-item ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    line-height: 1.7;
}

.privacy-item ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

.privacy-item a {
    color: var(--secondary);
    font-weight: 600;
}

.privacy-item a:hover {
    text-decoration: underline;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    background: var(--bg-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--bg-lighter);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.contact-details a,
.contact-details p {
    color: var(--text-medium);
    display: block;
    margin-bottom: 3px;
}

.contact-details a:hover {
    color: var(--secondary);
}

.contact-form-wrapper {
    background: var(--bg-lighter);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.contact-form-wrapper h3 {
    color: var(--primary);
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-normal);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(37, 134, 198, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    align-self: flex-start;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--primary);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 30px;
    padding-bottom: 25px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.5;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
}

.footer-links h4::after,
.footer-services h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
}

.footer-links li,
.footer-services li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-services a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--accent);
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-bottom p {
    color: var(--accent);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a:hover {
    color: var(--accent);
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-text p {
        text-align: left;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        padding: 100px 40px;
        gap: 25px;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-xl);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu .nav-link {
        color: white;
        font-size: 1.1rem;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .carousel-btn.prev {
        left: 15px;
    }

    .carousel-btn.next {
        right: 15px;
    }

    .hero-logo {
        width: 120px;
    }

    .stage-header {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }

    .stage-content {
        padding: 25px 20px;
    }

    .privacy-box {
        padding: 30px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links h4::after,
    .footer-services h4::after,
    .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact p {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;

    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-form-wrapper {
        padding: 25px 20px;
    }
}

/* ========================================
   ACCORDION STYLES
   ======================================== */
.accordion-container {
    max-width: 900px;
    margin: 50px auto 0;
}

.accordion-item {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid rgba(22, 79, 112, 0.1);
    transition: var(--transition-normal);
}

.accordion-item:hover {
    box-shadow: var(--shadow-md);
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: var(--bg-white);
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition-normal);
}

.accordion-header:hover {
    background: var(--bg-lighter);
}

.accordion-item.active .accordion-header {
    background: var(--gradient-primary);
    color: white;
}

.accordion-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.accordion-item.active .accordion-icon {
    background: var(--accent);
    color: white;
}

.accordion-header span {
    flex: 1;
    line-height: 1.5;
}

.accordion-arrow {
    font-size: 1rem;
    margin-left: auto;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    background: var(--bg-lighter);
}

.accordion-item.active .accordion-content {
    max-height: 2000px;
    padding: 25px;
}

.accordion-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.accordion-list li {
    position: relative;
    padding-left: 25px;
    padding: 10px 0 10px 25px;
    border-bottom: 1px solid rgba(255, 0, 0, 0.08);
    color: var(--text-medium);
    line-height: 1.6;
}

.accordion-list li:last-child {
    border-bottom: none;
}

.accordion-list li::before {
    content: '•';
    position: absolute;
    left: 5px;
    color: var(--secondary);
    font-size: 1.2rem;
    font-weight: bold;
}

/* Services Accordion (Stages) */
.services-accordion {
    max-width: 100%;
}

.stage-accordion {
    margin-bottom: 20px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.stage-header-accordion {
    padding: 25px 30px;
    gap: 20px;
}

.stage-header-accordion .stage-number {
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.5rem;
}

.stage-accordion.active .stage-header-accordion .stage-number {
    background: var(--accent);
    color: white;
}

.stage-header-accordion h3 {
    flex: 1;
    font-size: 1.4rem;
    margin: 0;
    color: var(--text-dark);
}

.stage-accordion.active .stage-header-accordion h3 {
    color: white;
}

.stage-content-accordion {
    padding: 0;
}

.stage-accordion.active .stage-content-accordion {
    padding: 30px 40px;
}

/* Responsive Accordion */
@media (max-width: 768px) {
    .accordion-header {
        padding: 15px 20px;
        flex-wrap: wrap;
    }

    .accordion-header span {
        font-size: 0.95rem;
    }

    .accordion-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .accordion-item.active .accordion-content {
        padding: 20px;
    }

    .stage-header-accordion {
        padding: 20px;
        flex-direction: row;
        text-align: left;
    }

    .stage-header-accordion .stage-number {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .stage-header-accordion h3 {
        font-size: 1.1rem;
    }

    .stage-accordion.active .stage-content-accordion {
        padding: 20px;
    }
}