/* ===== CSS RESET & VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Variables */
    --primary-dark: #0c0c14;
    --secondary-dark: #151522;
    --tertiary-dark: #1e1e2d;
    --accent-gold: #d4af37;
    --accent-blue: #4361ee;
    --accent-teal: #4cc9f0;
    --accent-purple: #7209b7;
    --light-gray: #a0a0b0;
    --lighter-gray: #d1d1e0;
    --white: #ffffff;

    /* Gradient Variables */
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f7ef8a 100%);
    --gradient-primary: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    --gradient-accent: linear-gradient(135deg, #f72585 0%, #7209b7 100%);

    /* Shadow Variables */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.3);

    /* Other Variables */
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1400px;
}

/* ===== BASE STYLES ===== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    background-color: var(--primary-dark);
    color: var(--lighter-gray);
    line-height: 1.7;
    overflow-x: hidden;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: 100px 0;
}

/* ===== TYPOGRAPHY ===== */
.text-gradient {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    padding: 16px 36px;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: var(--shadow-sm);
    gap: 10px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.btn:hover:after {
    opacity: 1;
}

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

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

.btn-small {
    padding: 12px 24px;
    font-size: 0.9rem;
}

.btn-large {
    padding: 20px 48px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background-color: rgba(12, 12, 20, 0.98);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    transition: var(--transition);
}

.header-scrolled {
    padding: 15px 0;
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1001;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-dark);
    font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
}

.logo-text span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-container {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links>li {
    position: relative;
    margin-left: 35px;
}

.nav-links>li>a {
    color: var(--lighter-gray);
    font-weight: 600;
    font-size: 1rem;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.nav-links>li>a:hover {
    color: var(--accent-gold);
}

.nav-links>li>a i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

/* Dropdown Menus */
.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--secondary-dark);
    min-width: 280px;
    border-radius: var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    z-index: 100;
    padding: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-lg);
    pointer-events: none;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px);
    pointer-events: all;
}

.dropdown-content a {
    display: flex;
    align-items: center;
    padding: 14px 30px;
    color: var(--lighter-gray);
    border-left: 3px solid transparent;
    white-space: nowrap;
}

.dropdown-content a:hover {
    background-color: rgba(212, 175, 55, 0.1);
    border-left: 3px solid var(--accent-gold);
    color: var(--accent-gold);
    padding-left: 35px;
}

.dropdown-content a i {
    margin-right: 12px;
    color: var(--accent-gold);
    width: 20px;
    text-align: center;
}

/* Mega Dropdown */
.mega-dropdown-content {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    width: 1000px;
    max-width: 90vw;
    background-color: var(--secondary-dark);
    border-radius: var(--border-radius);
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-lg);
    pointer-events: none;
}

.mega-dropdown:hover .mega-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
    pointer-events: all;
}

.mega-column h4 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    color: var(--white);
}

.mega-column ul {
    padding: 0;
    margin: 0;
}

.mega-column li {
    margin-bottom: 15px;
}

.mega-column a {
    padding: 10px 0;
    color: var(--light-gray);
    font-weight: 500;
    display: flex;
    align-items: center;
    line-height: 1.4;
    white-space: normal;
    word-wrap: break-word;
}

.mega-column a i {
    margin-right: 12px;
    color: var(--accent-gold);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.mega-column a:hover {
    color: var(--accent-gold);
    padding-left: 10px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
    margin-left: 20px;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 120px;
    overflow: hidden;
    background: radial-gradient(circle at 20% 30%, rgba(67, 97, 238, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.1) 0%, transparent 40%),
        var(--primary-dark);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding-top: 40px;
}

.hero-badge {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 40px;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 30px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--light-gray);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, rgba(12, 12, 20, 0.9) 0%, rgba(30, 30, 45, 0.9) 100%),
        url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    padding: 180px 0 100px;
    text-align: center;
    margin-top: 80px;
    position: relative;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.page-header p {
    font-size: 1.2rem;
    color: var(--light-gray);
    max-width: 800px;
    margin: 0 auto 40px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    font-size: 0.9rem;
    color: var(--light-gray);
}

.breadcrumb a {
    color: var(--accent-gold);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb i {
    margin: 0 10px;
    font-size: 0.8rem;
    color: var(--light-gray);
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-subtitle {
    display: block;
    color: var(--accent-gold);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.section-subtitle:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--gradient-gold);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--light-gray);
}

/* ===== CARDS ===== */
.card {
    background: var(--tertiary-dark);
    border-radius: var(--border-radius);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-gold);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: var(--primary-dark);
    font-size: 1.8rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.card p {
    color: var(--light-gray);
    margin-bottom: 25px;
}

/* ===== GRIDS ===== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

/* ===== SERVICES ===== */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-features {
    margin-top: 25px;
}

.service-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.service-features i {
    color: var(--accent-gold);
    margin-right: 12px;
    font-size: 0.9rem;
}

/* ===== FORM STYLES ===== */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 12px;
    color: var(--lighter-gray);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
    font-family: 'IBM Plex Sans', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    background-color: rgba(255, 255, 255, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23d4af37' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
    padding-right: 50px;
}

/* ===== CLIENTS SLIDER ===== */
.clients-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 60px auto 0;
    overflow: hidden;
}

.clients-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.client-slide {
    flex: 0 0 20%;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.client-logo {
    height: 60px;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: var(--transition);
}

.client-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* ===== BLOG ===== */
.blog-card {
    overflow: hidden;
}

.blog-image {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.blog-image:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(12, 12, 20, 0.9));
}

.blog-category {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
}

.blog-content {
    padding: 30px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--light-gray);
}

.blog-link {
    color: var(--accent-gold);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
}

.blog-link i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.blog-link:hover i {
    transform: translateX(5px);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--gradient-gold);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%230c0c14' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.1;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.2rem;
    color: rgba(12, 12, 20, 0.9);
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--secondary-dark);
    padding: 100px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-column h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: var(--gradient-gold);
    bottom: 0;
    left: 0;
}

.footer-links {
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--light-gray);
    display: flex;
    align-items: center;
}

.footer-links a i {
    margin-right: 12px;
    color: var(--accent-gold);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 10px;
}

.contact-info {
    padding: 0;
    margin: 0;
}

.contact-info li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    color: var(--accent-gold);
    margin-right: 15px;
    font-size: 1.2rem;
    margin-top: 3px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: var(--light-gray);
    font-size: 1.1rem;
}

.social-links a:hover {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    transform: translateY(-5px);
}

.newsletter-form {
    margin-top: 20px;
    position: relative;
}

.newsletter-form input {
    width: 100%;
    padding: 16px 20px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--white);
    font-size: 1rem;
}

.newsletter-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
}

.newsletter-form button:hover {
    transform: translateX(5px);
    background: var(--gradient-primary);
    color: var(--white);
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-50 {
    margin-bottom: 50px;
}

.mb-60 {
    margin-bottom: 60px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-50 {
    margin-top: 50px;
}

.mt-60 {
    margin-top: 60px;
}

.py-80 {
    padding: 80px 0;
}

.py-100 {
    padding: 100px 0;
}

.py-120 {
    padding: 120px 0;
}

.bg-dark {
    background-color: var(--primary-dark);
}

.bg-secondary {
    background-color: var(--secondary-dark);
}

.bg-tertiary {
    background-color: var(--tertiary-dark);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.pulse {
    animation: pulse 2s infinite;
}

/* Scroll Animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}