/* 
    THEME: Executive White
    TYPE: Corporate Luxury Digital Marketing
    VERSION: 2.0
*/

/* =========================================
   1. RESET & VARIABLES
   ========================================= */
:root {
    /* Colors */
    --primary-color: #4169e1;
    /* Royal Blue */
    --primary-dark: #27408b;
    --secondary-color: #1a1a1a;
    /* Charcoal */
    --text-color: #333333;
    /* Dark Gray */
    --text-light: #666666;
    --bg-white: #ffffff;
    --bg-off-white: #f8f9fa;
    --bg-light-gray: #e9ecef;
    --border-color: #e0e0e0;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px 0;

    /* Shadows */
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   2. UTILITY CLASSES
   ========================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: var(--section-padding);
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--bg-off-white);
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(65, 105, 225, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

/* Section Headings */
.section-header {
    margin-bottom: 60px;
    text-align: center;
    position: relative;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.section-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 20px auto 0;
}

/* =========================================
   3. PRELOADER
   ========================================= */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-white);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(65, 105, 225, 0.2);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =========================================
   4. HEADER & NAVIGATION (Identical on all pages)
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: height 0.3s ease;
}

.header.scrolled .navbar {
    height: 70px;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
}

/* =========================================
   5. HERO SECTION
   ========================================= */
.hero {
    position: relative;
    padding-top: 150px;
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle at top right, #f0f4ff 0%, #ffffff 40%);
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s forwards 0.5s;
}

.hero-text .highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 90%;
    opacity: 0;
    animation: fadeInUp 0.8s forwards 0.7s;
}

.hero-btns {
    opacity: 0;
    animation: fadeInUp 0.8s forwards 0.9s;
}

/* 3D Abstract Element */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.cube-wrapper {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 20s infinite linear;
}

.cube-face {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid var(--primary-color);
    background: rgba(65, 105, 225, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
}

.face-front {
    transform: rotateY(0deg) translateZ(100px);
}

.face-back {
    transform: rotateY(180deg) translateZ(100px);
}

.face-right {
    transform: rotateY(90deg) translateZ(100px);
}

.face-left {
    transform: rotateY(-90deg) translateZ(100px);
}

.face-top {
    transform: rotateX(90deg) translateZ(100px);
}

.face-bottom {
    transform: rotateX(-90deg) translateZ(100px);
}

@keyframes rotateCube {
    from {
        transform: rotateX(-15deg) rotateY(0deg);
    }

    to {
        transform: rotateX(-15deg) rotateY(360deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   6. BRAND STRIP (Clients)
   ========================================= */
.brand-strip {
    padding: 50px 0;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

.brand-slider {
    overflow: hidden;
    white-space: nowrap;
}

.brand-track {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

.brand-item {
    display: inline-block;
    margin: 0 40px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ccc;
    font-family: var(--font-heading);
    transition: color 0.3s;
}

.brand-item:hover {
    color: var(--primary-color);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* =========================================
   7. SERVICES SECTION
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-white);
    padding: 40px;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary-color);
    z-index: -1;
    transition: width 0.4s ease;
}

.service-card:hover::before {
    width: 100%;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    transition: color 0.4s ease;
}

.service-card:hover .service-icon,
.service-card:hover h3,
.service-card:hover p {
    color: var(--bg-white);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* =========================================
   8. CALCULATOR SECTION
   ========================================= */
.calculator-section {
    background-color: var(--secondary-color);
    color: var(--bg-white);
}

.calc-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.calc-text h2 {
    color: var(--bg-white);
}

.calc-text p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.calculator-box {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 4px;
    color: var(--text-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.calc-result {
    margin-top: 25px;
    padding: 20px;
    background-color: rgba(65, 105, 225, 0.1);
    border-left: 4px solid var(--primary-color);
    display: none;
}

.calc-result h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.calc-result .roi-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* =========================================
   9. INDUSTRIES WE SERVE (Replacement Section)
   ========================================= */
.industries-section {
    background-color: var(--secondary-color);
    /* Charcoal Background */
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.industries-section .section-header h2 {
    color: var(--bg-white);
}

.industries-section .section-header p {
    color: rgba(255, 255, 255, 0.6);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1px;
    /* Gap for border effect */
    background-color: rgba(255, 255, 255, 0.1);
    /* Border color */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.industry-card {
    background-color: var(--secondary-color);
    padding: 50px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.industry-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.industry-card:hover::after {
    opacity: 1;
}

.industry-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    transition: transform 0.4s ease, color 0.4s ease;
}

.industry-card:hover .industry-icon {
    color: var(--bg-white);
    transform: translateY(-10px);
}

.industry-card h3 {
    color: var(--bg-white);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-family: var(--font-body);
    font-weight: 600;
}

.industry-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color 0.4s ease;
}

.industry-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.industry-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--bg-white);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.industry-card:hover .industry-link {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   10. TESTIMONIALS
   ========================================= */
.testimonials {
    background-color: var(--bg-off-white);
}

.testimonial-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial-slide.active {
    display: block;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    margin-bottom: 30px;
    line-height: 1.6;
}

.client-info h5 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.client-info span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.slider-dots {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: var(--primary-color);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* =========================================
   11. CONTACT PAGE STYLES
   ========================================= */
.page-header {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    padding: 180px 0 100px;
    text-align: center;
}

.page-header h1 {
    color: var(--bg-white);
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-info-card {
    background-color: var(--bg-white);
    padding: 30px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-form-wrapper {
    background-color: var(--bg-white);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border-top: 5px solid var(--primary-color);
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* =========================================
   12. LEGAL PAGES (Disclaimer, Privacy, Terms)
   ========================================= */
.legal-content {
    background-color: var(--bg-white);
}

.legal-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: var(--text-color);
}

.legal-text h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.legal-text p {
    margin-bottom: 20px;
}

.legal-text ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.legal-text li {
    margin-bottom: 10px;
}

/* =========================================
   13. FOOTER (Identical on all pages)
   ========================================= */
.footer {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand img {
    height: 40px;
    filter: brightness(0) invert(1);
    /* Make logo white */
    margin-bottom: 25px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.footer-col h4 {
    color: var(--bg-white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-family: var(--font-body);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-contact i {
    margin-right: 15px;
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.legal-links a:hover {
    color: var(--primary-color);
}

/* =========================================
   14. RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 1024px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-visual {
        height: 300px;
        order: -1;
    }

    .calc-container {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 80px 0;
        transition: 0.5s;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        top: 0;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }
}