/* root variables */
:root {
    /* Colors */
    --primary-color: #0A1F44;
    /* Deep Blue */
    --accent-color: #1E90FF;
    /* Bright Blue */
    --secondary-color: #FFFFFF;
    /* White */
    --bg-color: #f8f9fa;
    /* Light Gray for background sections */
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;

    /* Typography */
    --heading-font: 'Poppins', 'Montserrat', sans-serif;
    --body-font: 'Inter', 'Open Sans', sans-serif;

    /* Geometry & Transitions */
    --border-radius: 8px;
    --transition-speed: 0.3s;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 12px 24px rgba(0, 0, 0, 0.15);

    /* Gradients */
    --primary-gradient: linear-gradient(135deg, #1E90FF 0%, #0A1F44 100%);
}

/* Reset Extensively */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--body-font);
    color: var(--text-light);
    background-color: var(--secondary-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

/* Base Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--heading-font);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border: none;
    outline: none;
}

.btn:hover {
    transform: scale(1.05);
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--secondary-color);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    color: var(--secondary-color);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary-color);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-speed) ease;
}

header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: height var(--transition-speed) ease;
}

header.scrolled .nav-container {
    height: 60px;
}

/* Logo */
.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color);
    line-height: 1;
}

.logo-tagline {
    font-family: var(--body-font);
    font-size: 0.75rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-top: 4px;
}

/* Nav Links */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: var(--heading-font);
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 5px;
}

/* Hover effect for Nav */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width var(--transition-speed) ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Footer Setup */
footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 60px 0 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-col.brand .logo-text {
    color: var(--secondary-color);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 15px;
    font-size: 0.9rem;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact li i {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

/* Inner Page Headers */
.page-header {
    padding-top: 150px;
    padding-bottom: 60px;
}

/* Utility Backgrounds & Text */
.bg-light {
    background-color: var(--bg-color);
}

.bg-primary {
    background-color: var(--primary-color);
}

.bg-gradient {
    background: var(--primary-gradient);
}

.text-white {
    color: var(--secondary-color) !important;
}

.text-white-opacity {
    color: rgba(255, 255, 255, 0.8);
}

/* Hero Section */
.hero {
    padding-top: 140px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.placeholder-image {
    background: rgba(10, 31, 68, 0.05);
    /* very light primary */
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    aspect-ratio: 4/3;
    color: var(--primary-color);
    font-weight: 500;
    border: 2px dashed rgba(10, 31, 68, 0.2);
}

/* Trust Section */
.trust-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trust-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    opacity: 0.8;
    transition: opacity var(--transition-speed) ease;
}

.trust-logos:hover {
    opacity: 1;
}

.logo-placeholder {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 800;
    font-family: var(--heading-font);
    color: var(--primary-color);
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all var(--transition-speed) ease;
    cursor: default;
}

.logo-placeholder i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.logo-placeholder:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-3px);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--secondary-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed) ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-speed) ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-link {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 15px;
}

/* Why Us Section */
.why-us-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.benefit-list {
    margin-top: 30px;
}

.benefit-list li {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.bg-primary .benefit-list li {
    color: rgba(255, 255, 255, 0.9);
}

.benefit-list li i {
    color: var(--accent-color);
    margin-top: 5px;
}

/* Process Section */
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 50px;
    position: relative;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px auto;
    box-shadow: var(--shadow-md);
}

.step-line {
    flex: 1;
    height: 2px;
    background: var(--border-color);
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--secondary-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: left;
}

.stars {
    color: #FFD700;
    margin-bottom: 20px;
}

.quote {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.client-info strong {
    display: block;
    color: var(--primary-color);
}

.client-info span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* CTA Section */
.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
    margin-top: 20px;
}

.cta-pulse {
    animation: pulse 2s infinite;
}

/* Animations Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(30, 144, 255, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(30, 144, 255, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(30, 144, 255, 0);
    }
}

/* Responsive Variables & Adjustments */
@media (max-width: 991px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-container,
    .why-us-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .benefit-list li {
        text-align: left;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .step-line {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--secondary-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
        padding: 2rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .hero {
        padding-top: 120px;
    }

    .page-header {
        padding-top: 120px;
    }

    h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}