/* ===========================
   JICS - Main Stylesheet
   ========================== */

/* Root Variables */
:root {
    --primary: #0070E0;
    --primary-light: #4db2ff;
}

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
}

/* Hero Section */
.hero {
    padding: 80px 0;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
}

/* Floating Card Animation */
.floating-card {
    width: 250px;
    height: 330px;
    border-radius: 20px;
    background: linear-gradient(180deg, #fff, #f4faff);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* Pulse Animation */
.pulse {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(rgba(0, 112, 224, 0.25), transparent);
    animation: pulse 2.8s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(.95);
        opacity: .8
    }
    50% {
        transform: scale(1.05);
        opacity: 1
    }
    100% {
        transform: scale(.95);
        opacity: .8
    }
}

/* Service Box Styles */
.service-box {
    padding: 40px 30px;
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff, #f8fbff);
    box-shadow: 0 10px 30px rgba(0, 112, 224, 0.08);
    transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 112, 224, 0.08);
    position: relative;
    overflow: hidden;
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-box:hover::before {
    transform: scaleX(1);
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 112, 224, 0.15);
    border-color: rgba(0, 112, 224, 0.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(0, 112, 224, 0.25);
    transition: all 0.4s ease;
}

.service-box:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(0, 112, 224, 0.35);
}

/* Testimonial Box Styles */
.testimonial-box {
    padding: 32px;
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff, #f8fbff);
    box-shadow: 0 10px 30px rgba(0, 112, 224, 0.08);
    border: 1px solid rgba(0, 112, 224, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 112, 224, 0.12);
}

.testimonial-box::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 60px;
    color: rgba(0, 112, 224, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

/* Pricing Card Styles */
.pricing-card {
    padding: 40px 30px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.pricing-card:hover::before {
    transform: scaleX(1);
}

.pricing-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 112, 224, 0.2);
    border-color: rgba(0, 112, 224, 0.3);
}

.pricing-card.featured {
    background: linear-gradient(145deg, #0070E0, #4db2ff);
    color: white;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: translateY(-12px) scale(1.08);
}

.pricing-card.featured h5,
.pricing-card.featured h1,
.pricing-card.featured p {
    color: white !important;
}

.pricing-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.feature-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #555;
}

.feature-list li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

/* Section Badge */
.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(0, 112, 224, 0.1), rgba(77, 178, 255, 0.1));
    border: 2px solid rgba(0, 112, 224, 0.2);
    border-radius: 30px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer Wave */
.footer-wave {
    position: relative;
    height: 160px;
    overflow: hidden;
    background: #fff;
}

.footer-wave svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

/* Navbar Hover Effects */
.navbar-nav .nav-link {
    position: relative;
    padding: 8px 16px !important;
    color: #333;
    transition: all 0.3s ease;
    overflow: hidden;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transition: width 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 2px;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-nav .nav-link:hover {
    color: var(--primary) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* Button Primary Enhanced */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 112, 224, 0.4);
}

.btn-primary:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

/* Preloader Animations */
@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1 200;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 120 200;
        stroke-dashoffset: -50;
    }
    100% {
        stroke-dasharray: 120 200;
        stroke-dashoffset: -180;
    }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ===========================
   CONTACT PAGE STYLES
   ========================== */

body.contact-page {
    background: #f8fbff;
}

/* Contact Hero */
.contact-hero {
    background: linear-gradient(135deg, #0070E0 0%, #4db2ff 100%);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
    opacity: 0.3;
}

/* Contact Card */
.contact-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 112, 224, 0.15);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0, 112, 224, 0.25);
    border-color: rgba(0, 112, 224, 0.2);
}

.contact-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 112, 224, 0.3);
    transition: all 0.4s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(0, 112, 224, 0.4);
}

/* Map Container */
.map-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 112, 224, 0.15);
    height: 450px;
    border: 8px solid white;
}

/* Info Text */
.info-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.info-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.info-text a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}