/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ========== ANIMATIONS ========== */

/* Logo Animations */
.logo-container {
    outline: none;
    border: none;
}

.logo-container:focus {
    outline: none;
    border: none;
}

.logo-container img {
    border-radius: 50%;
    object-fit: contain;
}

.logo-pulse {
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

/* Header Animation */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-animate {
    animation: slideDown 0.5s ease-out;
}

/* Hero Animations */
@keyframes slideLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.animate-slide-left {
    animation: slideLeft 1s ease-out;
}

.animate-slide-right {
    animation: slideRight 1s ease-out;
}

/* Badge Bounce */
@keyframes badgeBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.badge-bounce {
    animation: badgeBounce 2s ease-in-out infinite;
}

/* Icon Rotate */
@keyframes iconRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.icon-rotate {
    transition: transform 0.5s ease;
}

.icon-rotate:hover {
    animation: iconRotate 1s ease-in-out;
}

/* Hero Card Float */
@keyframes cardFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.hero-card-float {
    animation: cardFloat 3s ease-in-out infinite;
}

/* Text Glow */
.text-glow {
    text-shadow: none;
}

/* Button Pulse */
@keyframes buttonPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(25, 122, 196, 0.7); }
    50% { box-shadow: 0 0 0 15px rgba(25, 122, 196, 0); }
}

.button-pulse {
    animation: buttonPulse 2s ease-in-out infinite;
}

/* Button Border Animate */
.button-border-animate {
    position: relative;
    overflow: hidden;
}

.button-border-animate::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.button-border-animate:hover::before {
    left: 100%;
}

/* Fade In Up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    /* animation disabled */
}

/* Title Underline */
.title-underline {
    position: relative;
    display: inline-block;
}

.title-underline::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #197AC4, #4AA3D9);
    animation: underlineGrow 1s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes underlineGrow {
    to { width: 100px; }
}

/* Reveal Animations */
@keyframes revealLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes revealRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.reveal-left {
    /* animation disabled */
}

.reveal-right {
    /* animation disabled */
}

/* Image Hover Zoom */
.image-hover-zoom {
    transition: transform 0.5s ease;
    overflow: hidden;
}

.image-hover-zoom:hover {
    transform: scale(1.05);
}

/* List Item Slide */
@keyframes listItemSlide {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.list-item-slide {
    animation: listItemSlide 0.6s ease-out both;
}

/* Square Pulse */
@keyframes squarePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.square-pulse:hover {
    animation: squarePulse 0.6s ease-in-out;
}

/* Benefit Card */
.benefit-card {
    transition: all 0.3s ease;
}

/* Hover Lift */
.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Icon Bounce */
@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.icon-bounce:hover {
    animation: iconBounce 0.6s ease;
}

/* Social Bounce */
@keyframes socialBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.social-bounce:hover {
    animation: socialBounce 0.3s ease;
}

/* Number Counter */
.counter {
    transition: all 0.5s ease;
}

/* Slide In Left */
@keyframes slideInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

/* Text Fade In */
.text-fade-in {
    animation: fadeInUp 1s ease-out;
}

/* Parallax Background */
@keyframes parallaxMove {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

/* Service Card Glow */
@keyframes cardGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(253, 185, 19, 0.2); }
    50% { box-shadow: 0 0 40px rgba(253, 185, 19, 0.4); }
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Service Cards Modern */
.service-card-modern {
    overflow: hidden;
    border-radius: 0;
    transition: all 0.3s ease;
}

.service-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card-modern img {
    transition: transform 0.5s ease;
}

.service-card-modern:hover img {
    transform: scale(1.1);
}

/* Form Styles */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(253, 185, 19, 0.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #197AC4;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #136096;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 900;
    letter-spacing: -0.02em;
}

/* Button Effects */
button, a.button {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

button::before, a.button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:hover::before, a.button:hover::before {
    width: 300px;
    height: 300px;
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Mobile Menu Animation */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobileMenu.active {
    max-height: 400px;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #197AC4, #4AA3D9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Yellow Hover */
.hover-yellow:hover {
    color: #197AC4 !important;
}

/* Black Background Sections */
.bg-dotted {
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* Partners Grayscale */
.grayscale {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.grayscale:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Icon Boxes */
.icon-box {
    transition: all 0.3s ease;
}

.icon-box:hover {
    transform: translateY(-5px);
}

/* Footer Styles */
footer a:hover {
    color: #197AC4;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Stats Counter Animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-number {
    animation: countUp 1s ease-out;
}

/* Loading Spinner */
.spinner {
    border: 3px solid rgba(25, 122, 196, 0.1);
    border-top: 3px solid #197AC4;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Message */
.success-message {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 16px;
    border-radius: 8px;
    display: none;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Border Animations */
.border-yellow-animated {
    position: relative;
}

.border-yellow-animated::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: #197AC4;
    transition: width 0.3s ease;
}

.border-yellow-animated:hover::after {
    width: 100%;
}

/* Hero Background */
.hero-section img {
    filter: brightness(1.2) contrast(2) saturate(1) hue-rotate(-50eg) ;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 1;
    pointer-events: none;
}

/* Service Card Number Animations */
.service-card-modern .text-7xl {
    transition: all 0.3s ease;
}

.service-card-modern:hover .text-7xl {
    opacity: 0.4 !important;
    transform: scale(1.2);
}

/* Media Queries */
@media (max-width: 1024px) {
    .hero-section {
        min-height: 80vh;
    }

    h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
        padding: 40px 0;
    }

    h2 {
        font-size: 2rem;
    }

    .service-card-modern {
        margin-bottom: 20px;
    }

    .text-5xl {
        font-size: 2rem;
    }

    .text-6xl {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 1.75rem;
    }

    .hero-section h2 {
        font-size: 2rem;
    }

    .text-4xl {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    header, footer, #scrollTop, #mobileMenuBtn {
        display: none;
    }

    body {
        font-size: 12pt;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus Styles */
a:focus, button:focus {
    outline: none;
}

input:focus, textarea:focus {
    outline: 2px solid #197AC4;
    outline-offset: 2px;
}

/* Selection Color */
::selection {
    background: #197AC4;
    color: #fff;
}

::-moz-selection {
    background: #197AC4;
    color: #fff;
}

/* Backdrop Blur Support */
@supports (backdrop-filter: blur(10px)) {
    .backdrop-blur-md {
        backdrop-filter: blur(10px);
    }
}

/* Custom Border */
.border-l-8 {
    border-left-width: 8px;
}

/* Yellow Box Shadow */
.shadow-yellow {
    box-shadow: 0 10px 40px rgba(25, 122, 196, 0.2);
}

.shadow-yellow:hover {
    box-shadow: 0 20px 60px rgba(25, 122, 196, 0.3);
}

/* Text Shadow for Hero */
.hero-section h1,
.hero-section h2,
.hero-section .text-6xl {
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
}

/* Smooth Transitions */
* {
    transition-duration: 0.3s;
    transition-timing-function: ease;
}

/* Prevent transition on page load */
.preload * {
    transition: none !important;
}

/* Overlay Effects */
.overlay-gradient {
    position: relative;
}

.overlay-gradient::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    pointer-events: none;
}

/* Icon Pulse Animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.icon-pulse:hover {
    animation: pulse 1s ease infinite;
}

/* Yellow Background Glow */
.bg-yellow-glow {
    box-shadow: 0 0 30px rgba(25, 122, 196, 0.4);
}
/* ========== SCROLL REVEAL ANIMATIONS ========== */

/* Fade In Up on Scroll */
@keyframes fadeInUpScroll {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.visible {
    animation: fadeInUpScroll 0.8s ease-out forwards;
}

/* Stagger Animation for List Items */
@keyframes staggerFadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stagger-item {
    opacity: 0;
    transform: translateY(40px);
}

.stagger-item.visible {
    animation: staggerFadeInUp 0.6s ease-out forwards;
}

/* Scale In on Scroll */
@keyframes scaleInScroll {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.scale-reveal {
    opacity: 0;
    transform: scale(0.9);
}

.scale-reveal.visible {
    animation: scaleInScroll 0.7s ease-out forwards;
}

/* Slide In from Left */
@keyframes slideInLeftScroll {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-left-reveal {
    opacity: 0;
    transform: translateX(-60px);
}

.slide-left-reveal.visible {
    animation: slideInLeftScroll 0.7s ease-out forwards;
}

/* Slide In from Right */
@keyframes slideInRightScroll {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-right-reveal {
    opacity: 0;
    transform: translateX(60px);
}

.slide-right-reveal.visible {
    animation: slideInRightScroll 0.7s ease-out forwards;
}

/* Zoom In on Scroll */
@keyframes zoomInScroll {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.zoom-reveal {
    opacity: 0;
    transform: scale(0.8);
}

.zoom-reveal.visible {
    animation: zoomInScroll 0.8s ease-out forwards;
}

/* Float In Animation */
@keyframes floatInScroll {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    50% {
        opacity: 1;
    }
    to {
        opacity: 1;
        transform: translateY(-5px);
    }
}

.float-reveal {
    opacity: 0;
    transform: translateY(30px);
}

.float-reveal.visible {
    animation: floatInScroll 0.9s ease-out forwards;
}

/* Rotate In on Scroll */
@keyframes rotateInScroll {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

/* ========== MODAL STYLES ========== */

#contactModal {
    animation: fadeInOverlay 0.3s ease-out;
}

#contactModal.hidden {
    display: none !important;
}

#contactModal:not(.hidden) {
    display: flex !important;
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    animation: slideUpModal 0.4s ease-out;
}

@keyframes slideUpModal {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

#contactModal input,
#contactModal textarea {
    color: #1a1a1a;
}

#contactModal input::placeholder {
    color: #999;
}

#contactModal button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(25, 122, 196, 0.3);
}

.rotate-reveal {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
}

.rotate-reveal.visible {
    animation: rotateInScroll 0.7s ease-out forwards;
}