:root {
    --primary-color: #0a192f;
    --secondary-color: #f8b400;
    --text-color: #333333;
    --bg-color: #f4f7f6;
    --white: #ffffff;
    --light-gray: #e0e0e0;
    --transition-speed: 0.3s;
    --font-primary: 'Inter', sans-serif;
    --max-width: 1200px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Classes */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 5px;
    border: 2px solid var(--secondary-color);
    cursor: pointer;
    transition: all var(--transition-speed);
}

.btn:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-title p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--primary-color);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 140px 0 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Fix: Center the container */
    overflow: hidden;
}

/* Mobile adjustments */
@media (max-width: 991px) {
    .hero {
        padding: 120px 0 60px;
        text-align: center;
        /* Center text on mobile */
    }

    .hero-container {
        flex-direction: column;
        justify-content: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .trust-indicators {
        justify-content: center;
        flex-wrap: wrap;
    }
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.85) 0%, rgba(10, 25, 47, 0.70) 100%);
    z-index: 1;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    animation: floatShape 10s infinite alternate;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: rgba(248, 180, 0, 0.15);
    top: -50px;
    right: -50px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(33, 150, 243, 0.1);
    bottom: -100px;
    left: -100px;
    animation-delay: 2s;
}

@keyframes floatShape {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, 30px);
    }
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    width: 100%;
    /* Ensure full width usage */
}

.hero-content {
    flex: 1;
    max-width: 650px;
    /* Increased max-width */
}

.hero-badge {
    display: inline-block;
    background: rgba(248, 180, 0, 0.15);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    animation: fadeInDown 1s ease-out;
}

.hero-content h1 {
    font-size: 4rem;
    /* Increased font size */
    margin-bottom: 25px;
    line-height: 1.1;
    font-weight: 800;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.text-highlight {
    color: transparent;
    background: linear-gradient(90deg, var(--secondary-color), #ffe082);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 30px rgba(248, 180, 0, 0.3);
    /* Add glow to text */
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 35px;
    color: #e0e6ed;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.btn-primary {
    background: linear-gradient(45deg, var(--secondary-color), #ffca28);
    border: none;
    color: #000;
    padding: 14px 28px;
    border-radius: 5px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(248, 180, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(248, 180, 0, 0.4);
}

.trust-indicators {
    display: flex;
    gap: 25px;
    font-size: 0.9rem;
    color: #a0aec0;
    animation: fadeIn 1.5s ease-out 1s backwards;
}

.indicator i {
    color: var(--secondary-color);
    margin-right: 8px;
}

/* Hero Visual & Glassmorphism */
.hero-visual {
    flex: 1;
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
    /* Hidden on mobile by default, shown in media query */
}

@media (min-width: 992px) {
    .hero-visual {
        display: flex;
    }
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    color: var(--white);
    position: absolute;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card-main {
    width: 280px;
    padding: 30px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    border-top: 3px solid var(--secondary-color);
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

.card-main h3 {
    margin: 15px 0 10px;
    color: var(--secondary-color);
}

.card-float-1 {
    top: 10%;
    right: 10%;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    animation: float 8s ease-in-out infinite reverse;
    z-index: 1;
}

.card-float-1 i {
    color: #4caf50;
}

.card-float-2 {
    bottom: 10%;
    left: 10%;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    animation: float 7s ease-in-out infinite 1s;
    z-index: 3;
}

.card-float-2 i {
    color: #2196f3;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    50% {
        transform: translate(-50%, -50%) translateY(-15px);
    }

    100% {
        transform: translate(-50%, -50%) translateY(0px);
    }
}

/* Float animation for non-centered cards needs different keyframes or override transform */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Specific fix for card-main to include centering translate */
.card-main {
    animation-name: floatMain;
}

@keyframes floatMain {
    0% {
        transform: translate(-50%, -50%) translateY(0px);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-15px);
    }

    100% {
        transform: translate(-50%, -50%) translateY(0px);
    }
}

/* Services Highlights */
.services-highlight {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed);
    text-align: center;
}

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

.icon-box {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Why Choose Us */
.why-choose-us {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
}

.why-choose-us .section-title h2 {
    color: var(--white);
}

.why-choose-us .section-title p {
    color: #aaa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    text-align: center;
}

.feature-item h4 {
    color: var(--secondary-color);
    margin: 15px 0 10px;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background-color: #050d1a;
    color: #aaa;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Add JS toggle logic later */
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }
}