/* AOS Animation Library */
@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');

/* Standardized Navbar Styling */
.navbar {
    background: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #1e3a5f;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ff8c00;
}

.cta-button {
    background: #ff8c00;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    color: white !important;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #e67e00;
}

.language-toggle {
    background: transparent;
    border: 2px solid #ff8c00;
    color: #ff8c00;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.language-toggle:hover {
    background: #ff8c00;
    color: white;
    transform: translateY(-1px);
}

.mobile-menu {
    display: none;
    color: #1e3a5f;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Services Hero Section */
.services-hero {
    height: 100vh;
    min-height: 100svh;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.95) 0%, rgba(44, 82, 130, 0.9) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, #ff8c00 1px, transparent 1px);
    background-size: 50px 50px;
    animation: particleMove 20s linear infinite;
    opacity: 0.3;
}

.hero-particles::after {
    background-size: 30px 30px;
    animation-duration: 30s;
    opacity: 0.2;
}

@keyframes particleMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.services-hero .hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.services-hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff, #f0f8ff, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { text-shadow: 0 0 20px rgba(255, 255, 255, 0.5); }
    to { text-shadow: 0 0 30px rgba(255, 140, 0, 0.8), 0 0 40px rgba(255, 140, 0, 0.6); }
}

.services-hero p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-cta {
    display: flex;
    gap: 2rem;
    justify-content: center;
    animation: fadeInUp 1s ease-out 1s both;
}

.primary-btn,
.secondary-btn {
    padding: 1.2rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.primary-btn {
    background: linear-gradient(135deg, #ff8c00, #e67e00);
    color: white;
}

.secondary-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.primary-btn::before,
.secondary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.primary-btn:hover::before,
.secondary-btn:hover::before {
    left: 100%;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.4);
}

.secondary-btn:hover {
    background: white;
    color: #1e3a5f;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 15px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scrollIndicator 2s infinite;
}

@keyframes scrollIndicator {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 20px); opacity: 0; }
}

/* Services Grid Section */
.services-grid-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 15%);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    color: #1e3a5f;
    margin-bottom: 1rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ff8c00, #e67e00);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.why-choose-us .section-header p {
    color: whitesmoke;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    justify-content: center;
    justify-items: center;
    width: 100%;
}

/* Horizontal alignment for last 4 cards - wider cards */
.services-grid .service-card:nth-last-child(-n+4) {
    grid-column: span 1;
}

@media (min-width: 768px) {
    .services-grid .service-card:nth-last-child(-n+4) {
        min-width: 380px;
    }
}

@media (min-width: 1400px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .services-grid .service-card {
        grid-column: span 1;
        min-width: 320px;
    }
}

@media (max-width: 1399px) and (min-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid .service-card {
        min-width: 450px;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid .service-card {
        min-width: 350px;
    }
}

@media (max-width: 767px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid .service-card {
        min-width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card.premium {
    border: 2px solid #ff8c00;
}

.service-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: #ff8c00;
    color: white;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 0.9rem;
    font-weight: 600;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: white;
    border: 3px solid #ff8c00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.2);
    position: relative;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(10deg);
    color: white;
    box-shadow: 0 15px 30px rgba(255, 140, 0, 0.3);
    background: white;
}

.service-icon i {
    font-size: 2.5rem;
    color: #ff8c00;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-align: center;
    width: 100%;
    height: 100%;
    transform: translateY(10px);
}

.service-card:hover .service-icon i {
    color: white;
}

.service-card h3 {
    font-size: 1.8rem;
    color: #1e3a5f;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.service-features {
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #555;
}

.feature i {
    color: #ff8c00;
    font-size: 1rem;
}

.service-price {
    text-align: center;
    margin-bottom: 2rem;
}

.price-from {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.price-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a5f;
}

.price-period {
    font-size: 1rem;
    color: #666;
}

.service-btn {
    display: block;
    background: linear-gradient(135deg, #ff8c00, #e67e00);
    color: white;
    text-align: center;
    padding: 1rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.4);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.section-header h3 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
    position: relative;
    background: linear-gradient(to top, #ffffff 70%, #ff8c00 85%, #ff6b35 100%);
    background-size: 100% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: verticalOrangeFade 4s ease-in-out infinite alternate;
}

@keyframes verticalOrangeFade {
    0% {
        background-position: 50% 100%;
        filter: brightness(1);
    }
    100% {
        background-position: 50% 0%;
        filter: brightness(1.1);
    }
}

.section-header h3::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ff8c00, #e67e00);
    border-radius: 2px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.benefit-item {
    text-align: center;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.benefit-item:hover {
    transform: translateY(-15px);
    background: rgba(255, 140, 0, 0.2);
    box-shadow: 0 25px 50px rgba(255, 140, 0, 0.3);
}

.benefit-number {
    font-size: 3rem;
    font-weight: 700;
    color: #ff8c00;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.benefit-item h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.benefit-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Process Section */
.process-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.process-steps {
    max-width: 800px;
    margin: 4rem auto 0;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, #ff8c00, #e67e00);
}

.step {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff8c00, #e67e00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.step-content {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-content h4 {
    font-size: 1.5rem;
    color: #1e3a5f;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root { --nav-h: 70px; }
    body { padding-top: var(--nav-h) !important; }
    /* Better approach to prevent horizontal overflow without scroll bars */
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    /* Fix hero section overflow */
    .services-hero {
        height: calc(100svh - var(--nav-h));
        min-height: calc(100svh - var(--nav-h));
        padding-top: 1rem;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }

    /* Hide mouse scroll indicator when opening on mobile */
    .scroll-indicator {
        display: none;
    }
    
    /* Fix for AOS fade animations on mobile */
    [data-aos="fade-left"],
    [data-aos="fade-right"] {
        transform: none !important;
        opacity: 1 !important;
    }
    
    /* Ensure process steps don't overflow */
    .process-steps {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .step {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .step-content {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .services-hero h1 {
        font-size: 2.5rem;
    }
    
    .services-hero p {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps::before {
        left: 30px;
    }
    
    .step,
    .step:nth-child(even) {
        flex-direction: row;
        padding-left: 60px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        position: absolute;
        left: 0;
    }
}

@media (max-width: 480px) {
    .services-hero {
        height: 80vh;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .benefit-item {
        padding: 1.5rem;
    }
}

/* Explicitly hide mobile menu on desktop */
@media (min-width: 769px) {
    .mobile-menu {
        display: none !important;
    }
    
    .nav-links {
        display: flex !important;
    }
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }
    
    .nav-links {
        display: none;
    }
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff8c00, #e67e00);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #e67e00, #cc6600);
}
