@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Lato:wght@400;700&display=swap');
:root {
  --primary: #003366;
  --primary-dark: #002244;
  --secondary: #F5F5F5;
  --accent: #E67E22;
  --text: #1f2937;
  --text-light: #6b7280;
  --white: #ffffff;
  --gradient: linear-gradient(to right, #003366, #004080);
}
body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Services Page Styles */
.services-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.1;
    animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
    from { background-position: 0 0; }
    to { background-position: 100px 100px; }
}

.services-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.services-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.service-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 2rem;
    background: transparent;
    color: var(--white);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.category-btn:hover::before {
    width: 300%;
    height: 300%;
}

.category-btn:hover,
.category-btn.active {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Services Grid */
.services-grid {
    padding: 6rem ;
    background: var(--secondary);
    position: relative;
}

.services-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.service-card {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(0,51,102,0.10);
    border: 1.5px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-width: 320px;
    max-width: 100%;
    height: 100%;
    transition: box-shadow 0.3s, transform 0.3s;
    padding: 0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2.5rem 2rem 2rem 2rem;
    height: 100%;
    min-height: 320px;
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h3 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 1rem;
}

.service-card p {
    color: #4a5568;
    font-size: 1.08rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.service-card .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 2rem;
    background: linear-gradient(90deg, #0b3557 0%, #e67e22 100%);
    color: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(0,51,102,0.08);
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
    position: relative;
    z-index: 1;
}

.service-card:hover .btn-primary {
    background: linear-gradient(90deg, #e67e22 0%, #0b3557 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(230,103,34,0.13);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Pricing Section */
.pricing-comparison {
    padding: 6rem ;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.pricing-comparison::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0 4rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

input:checked + .slider {
    background-color: var(--primary);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.save-badge {
    background: var(--accent);
    color: var(--white);
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    margin-left: 0.5rem;
    animation: pulse 2s infinite;
}

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

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    perspective: 1000px;
}

.pricing-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid transparent;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05) translateZ(20px);
}

.pricing-card:hover {
    transform: translateY(-6px) rotateX(2deg);
    box-shadow: 0 12px 18px -5px rgba(0, 0, 0, 0.08), 0 4px 8px -2px rgba(0, 0, 0, 0.04);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-6px) rotateX(2deg);
}

.popular-badge {
    position: absolute;
    top: 2.2rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
    z-index: 2;
}

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

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    transform: translateZ(10px);
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin: 1rem 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.currency {
    font-size: 1.5rem;
    vertical-align: super;
}

.period {
    font-size: 1rem;
    color: var(--text-light);
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    transform: translateZ(5px);
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text);
    transition: transform 0.3s ease;
}

.pricing-features li:hover {
    transform: translateX(5px);
}

.pricing-features i {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.pricing-features li:hover i {
    transform: scale(1.2);
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: var(--gradient);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.1;
    animation: backgroundMove 20s linear infinite;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    animation: fadeInUp 1s ease;
}

.cta-section p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-section .btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-section .btn-primary:hover::before {
    width: 300%;
    height: 300%;
}

.cta-section .btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--secondary);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-hero h1 {
        font-size: 2.5rem;
    }

    .service-categories {
        flex-wrap: wrap;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .service-card:hover {
        transform: translateY(-5px);
    }

    .pricing-card:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 900px) {
    .services-hero h1 {
        font-size: 2rem;
    }
    .services-hero p {
        font-size: 1rem;
    }
    .service-categories {
        flex-direction: column;
        gap: 0.5rem;
    }
    .services-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
        margin-top: 2rem;
    }
    .service-card {
        min-width: 0;
    }
    .card-content {
        padding: 1.5rem 1rem 1.2rem 1rem;
        min-height: 240px;
    }
    .icon-wrapper {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
    }
    .service-card h3 {
        font-size: 1.15rem;
        margin-bottom: 0.7rem;
    }
    .service-card p {
        font-size: 0.98rem;
        margin-bottom: 1.2rem;
    }
    .btn-primary {
        font-size: 1rem;
        padding: 0.7rem 1.5rem;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

@media (max-width: 600px) {
    .container {
        width: 100%;
        max-width: 100vw;
        padding: 0 0.5rem;
        margin: 0 auto;
        box-sizing: border-box;
    }
    .services-wrapper {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        padding: 0;
        max-width: 100vw;
    }
    .service-card {
        min-width: 0;
        width: 100%;
        border-radius: 1rem;
        padding: 0.5rem 0.1rem;
        box-sizing: border-box;
        margin: 0 auto 1rem auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-shadow: 0 2px 8px rgba(0,51,102,0.08);
    }
    .card-content {
        padding: 0.8rem 0.2rem 0.7rem 0.2rem;
        width: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .icon-wrapper {
        width: 34px;
        height: 34px;
        margin-bottom: 0.4rem;
    }
    .service-card h3 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    .service-card p {
        font-size: 0.91rem;
        margin-bottom: 0.6rem;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 220px;
        margin: 0.4rem auto 0 auto;
        font-size: 0.97rem;
        padding: 0.6rem 1.1rem;
        border-radius: 1.1rem;
    }
    .category-btn {
        width: 100%;
        max-width: 220px;
        margin: 0.2rem auto;
        font-size: 0.97rem;
        padding: 0.6rem 1.1rem;
        border-radius: 1.1rem;
        text-align: center;
        display: block;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        padding: 0;
        max-width: 100vw;
    }
    .pricing-card {
        max-width: 440px !important;
        width: 95vw !important;
        padding: 1.2rem 1.2rem !important;
        margin: 0 auto 1rem auto !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        border-radius: 1rem;
        box-sizing: border-box;
    }
    .pricing-header h3 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    .price {
        font-size: 1.7rem;
        margin: 0.5rem 0;
    }
    .pricing-features {
        width: 100% !important;
        text-align: left !important;
        padding-left: 1.2rem !important;
        margin: 0.8rem 0 !important;
        box-sizing: border-box;
    }
    .pricing-features li {
        text-align: left !important;
        margin-bottom: 0.5rem !important;
        font-size: 0.98rem !important;
        word-break: break-word !important;
    }
    .testimonial-card {
        padding: 1rem;
        font-size: 0.95rem;
    }
    .footer-content {
        font-size: 0.98rem;
    }
    .nav-links {
        gap: 0.5rem;
        padding: 1rem 0;
    }
    .nav-links a {
        padding: 0.7rem 1rem;
        font-size: 1rem;
    }
    .menu-btn {
        font-size: 2rem;
    }
    .pricing-toggle {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        display: flex;
        margin-bottom: 1.2rem;
        width: 100%;
    }
    .pricing-toggle > span {
        width: 100%;
        text-align: center;
        margin-bottom: 0.2rem;
        display: block;
    }
    .pricing-toggle label {
        margin-bottom: 0.2rem;
    }
    .pricing-toggle > span:last-child {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.1rem;
        width: 100%;
    }
    .pricing-toggle > span:last-child .save-badge {
        display: block;
        margin: 0.2rem auto 0  auto;
        width: max-content;
        text-align: center;
        position: static;
    }
    .pricing-toggle .save-badge {
        margin: 0;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
        padding: 0 2.5rem;
    }
    .services-wrapper {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Print Styles */
@media print {
    .service-categories,
    .pricing-toggle,
    .cta-section {
        display: none;
    }

    .service-card,
    .pricing-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

body, .service-card, .pricing-card, .testimonial-card, .contact-form, .footer, .services-hero, .testimonials-section, .cta-section, .nav-links, .dropdown-menu, .category-btn, .btn-primary, .btn-secondary {
    transition: background 0.4s cubic-bezier(.4,0,.2,1), color 0.4s cubic-bezier(.4,0,.2,1), box-shadow 0.3s, border-color 0.3s;
}

body.dark {
    background: #181a1b;
    color: #f5f5f5;
}
body.dark .services-hero {
    background: linear-gradient(135deg, #10131a 0%, #1a2233 100%);
    color: #f5f5f5;
}
body.dark .service-card,
body.dark .pricing-card,
body.dark .testimonial-card,
body.dark .contact-form {
    background: #23272b;
    color: #f5f5f5;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
body.dark .service-card h3,
body.dark .pricing-card h3,
body.dark .testimonial-card h4 {
    color: #fff;
}
body.dark .service-card p,
body.dark .pricing-card p,
body.dark .testimonial-card p,
body.dark .testimonial-content p {
    color: #b0b8c1;
}
body.dark .service-features span {
    background: #181a1b;
    color: #e6e6e6;
}
body.dark .service-features span:hover {
    background: #003366;
    color: #fff;
}
body.dark .pricing-comparison,
body.dark .testimonials-section,
body.dark .cta-section {
    background: #181a1b;
    color: #f5f5f5;
}
body.dark .btn-primary {
    background: #E67E22;
    color: #fff;
}
body.dark .btn-primary:hover {
    background: #b85c13;
}
body.dark .btn-secondary {
    background: #23272b;
    color: #fff;
}
body.dark .btn-secondary:hover {
    background: #003366;
    color: #fff;
}
body.dark .category-btn {
    background: #23272b;
    color: #fff;
    border-color: #23272b;
}
body.dark .category-btn.active,
body.dark .category-btn:hover {
    background: #fff;
    color: #003366;
    border-color: #fff;
}
body.dark .nav-links,
body.dark .dropdown-menu {
    background: #23272b;
}
body.dark .dropdown-menu a {
    color: #f5f5f5;
}
body.dark .dropdown-menu a:hover, body.dark .dropdown-menu a:focus {
    background: #003366;
    color: #E67E22;
}
body.dark .footer {
    background: #10131a;
    color: #f5f5f5;
}
body.dark .footer-logo span {
    color: #fff;
}
body.dark .swiper-pagination-bullet {
    background: #fff;
}
body.dark .swiper-pagination-bullet-active {
    background: #E67E22;
}
body.dark .popular-badge {
    background: #E67E22;
    color: #fff;
}
body.dark .save-badge {
    background: #003366;
    color: #fff;
}
body.dark .cookie-consent {
    background: #23272b;
    color: #fff;
}
body.dark .cookie-content p {
    color: #fff;
}

@keyframes bounceText {
  0% { transform: translateY(0); }
  30% { transform: translateY(-10px) scale(1.08); }
  50% { transform: translateY(0) scale(1); }
  70% { transform: translateY(-6px) scale(1.04); }
  100% { transform: translateY(0) scale(1); }
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .btn-secondary {
  animation: bounceText 0.7s cubic-bezier(.4,0,.2,1);
  color: var(--accent);
}

.service-card:hover .btn-secondary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.service-card .card-content {
  transition: box-shadow 0.3s, transform 0.3s;
}
.service-card:hover .card-content {
  box-shadow: 0 12px 40px rgba(0, 51, 102, 0.15);
  transform: translateZ(20px) scale(1.03);
}

.service-card .icon-wrapper {
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}
.service-card:hover .icon-wrapper {
  transform: translateY(-6px) scale(1.13) rotate(-6deg);
}

/* Fix for Get Started button: keep text visible and background gradient on hover */
.pricing-card .btn-primary {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 2rem;
    background: linear-gradient(90deg, #0b3557 0%, #e67e22 100%);
    color: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(0,51,102,0.08);
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
    position: relative;
    z-index: 1;
}
.pricing-card .btn-primary:hover {
    background: linear-gradient(90deg, #e67e22 0%, #0b3557 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(230,103,34,0.13);
}

.nav-links a {
  position: relative;
  padding: 0.5rem 1.5rem;
  border-radius: 1.5rem;
  transition: background 0.3s, color 0.3s;
  color: #003366;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  background: #f4f4f6;
  color: #003366;
  box-shadow: 0 2px 8px rgba(0,51,102,0.06);
}

body.dark .nav-links a:hover,
body.dark .nav-links a.active {
  background: #23272b;
  color: #fff;
}

@media (max-width: 1200px) {
  .services-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
  }
}

.container {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
} 