:root {
    /* Color Variables */
    --primary-color: #21f372;
    --secondary-color: #0039d4;
    --accent-color: #ae3407;
    --gradient-1: linear-gradient(135deg, #67f21c 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #2d7cd6 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4ffe92 0%, #00f2fe 100%);
    --gradient-hero: linear-gradient(135deg, rgba(206, 251, 57, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --white: #ffffff;
    --light-bg: #f8f9fa;

    /* Spacing Variables */
    --section-padding: 4rem 0;
    --card-radius: 15px;
    --shadow-light: 0 2px 15px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 15px 35px rgba(0, 0, 0, 0.15);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Navbar Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.domain-subtitle {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 400;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--gradient-1);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
    left: 10%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,0 1000,300 1000,1000 0,700"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-image {
    animation: fadeInRight 1s ease-out 0.4s both;
}

/* Buttons */
.btn-primary-custom {
    background: var(--gradient-2);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--white);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
    color: var(--white);
}

.btn-secondary-custom {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Section Styling */
.section-padding {
    padding: var(--section-padding);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--gradient-1);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* About Section */
.about-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.trust-badge {
    background: var(--gradient-3);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    display: inline-block;
    font-weight: 600;
    box-shadow: var(--shadow-light);
}

/* Service Cards - 3D Flip Effect */
/* Service Cards - Slide Text from Top */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    position: relative;
    height: 350px;
    background: var(--white);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.service-card:hover p{
    color: #fff;
}

.service-card .service-icon {
    font-size: 3rem;
    margin-top: 2rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card h5 {
    margin: 1rem 0;
    font-weight: 600;
}

.service-card p {
    padding: 0 1rem;
    color: var(--text-light);
}

/* Overlay text comes from top */
.service-overlay {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-2);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    transition: top 0.5s ease;
}

.service-card:hover .service-overlay {
    top: 0;
}

.service-overlay button {
    margin-top: 1rem;
    background: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-overlay button:hover {
    background: var(--gradient-3);
    color: var(--white);
}

/* Why Choose Us */
.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
}

.stats-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Testimonials */
.testimonial-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    margin: 1rem;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--primary-color);
}

.stars {
    color: #ffc107;
    margin-bottom: 1rem;
}

/* Subscribe Form */
.subscribe-section {
    background: var(--light-bg);
}

.form-control {
    border-radius: 50px;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(33, 150, 243, 0.25);
}

/* Overlay Alert */
.overlay-alert {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.overlay-content {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--card-radius);
    text-align: center;
    max-width: 400px;
    margin: 0 1rem;
    box-shadow: var(--shadow-heavy);
}

/* Accordion */
.accordion-button {
    font-weight: 600;
    background: var(--light-bg);
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: var(--white);
}

.accordion-body {
    max-height: 300px;
    overflow-y: auto;
}

/* Contact */
.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-light);
    height: fit-content;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-right: 1rem;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer h5 {
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--white);
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--gradient-2);
    color: var(--white);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--gradient-hero);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Toast */
.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Touch devices - tap to flip */
    .service-card {
        cursor: pointer;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .about-card {
        padding: 2rem;
    }

    .testimonial-card {
        padding: 2rem;
    }
}