/* =============================================
   DIGITRADIGITAL - Modern CloudEQ-Inspired Design
   ============================================= */

/* CSS Variables */
:root {
    /* Primary Colors - CloudEQ Style */
    --primary: #0F4C81;
    --primary-dark: #0A3A61;
    --primary-light: #1B6BA6;
    --secondary: #2196F3;
    --accent: #FF6B35;
    
    /* Neutral Colors */
    --dark: #1E293B;
    --grey: #64748B;
    --light-grey: #F1F5F9;
    --white: #FFFFFF;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0F4C81 0%, #2196F3 100%);
    --gradient-accent: linear-gradient(135deg, #FF6B35 0%, #FF8C61 100%);
    
    /* Typography */
    --font-body: 'Roboto', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    
    /* Spacing */
    --section-padding: 100px;
    --container-width: 1200px;
    --container-wide: 1400px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
}

/* Containers */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
}

.container-wide {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 30px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(15, 76, 129, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 76, 129, 0.35);
}

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

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

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

.btn-white:hover {
    background: var(--light-grey);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Section Styling */
section {
    padding: var(--section-padding) 0;
}

.section-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(15, 76, 129, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--dark);
}

.section-description {
    font-size: 18px;
    color: var(--grey);
    line-height: 1.8;
}

/* =============================================
   NAVIGATION
   ============================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 8px;
    color: var(--white);
    font-size: 20px;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    color: var(--dark);
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link i {
    font-size: 12px;
    margin-left: 4px;
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 16px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 24px;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: var(--light-grey);
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
}

/* =============================================
   HERO SECTION - Modern Design
   ============================================= */

.hero-modern {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0F4C81 0%, #1B6BA6 50%, #2196F3 100%);
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: var(--white);
}

.hero-title {
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--white);
}

.hero-title .highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-badges {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
}

.badge-item i {
    font-size: 20px;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-placeholder {
    width: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.visual-placeholder i {
    font-size: 150px;
    color: rgba(255, 255, 255, 0.3);
}

.visual-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 2px, transparent 2px);
    background-size: 30px 30px;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--white);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
}

/* =============================================
   STATS SECTION
   ============================================= */

.stats-section {
    padding: 60px 0;
    background: var(--white);
}

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

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--light-grey);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-heading);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: var(--grey);
    font-weight: 500;
}

/* =============================================
   SERVICES SECTION - Modern Grid
   ============================================= */

.services-section {
    background: var(--light-grey);
}

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

.service-modern-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-icon-modern {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 16px;
    color: var(--white);
    font-size: 32px;
    margin-bottom: 24px;
}

.service-modern-title {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--dark);
}

.service-modern-desc {
    color: var(--grey);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-modern-list {
    list-style: none;
}

.service-modern-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--dark);
    font-size: 15px;
}

.service-modern-list i {
    color: var(--accent);
    font-size: 14px;
}

/* =============================================
   CONSULTING SECTION
   ============================================= */

.consulting-section {
    background: var(--white);
}

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

.consulting-card {
    background: var(--light-grey);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
}

.consulting-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.consulting-card.highlight-card {
    background: linear-gradient(135deg, rgba(15, 76, 129, 0.05) 0%, rgba(33, 150, 243, 0.05) 100%);
    border: 2px solid var(--primary);
}

.highlight-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 16px;
    background: var(--gradient-accent);
    color: var(--white);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.consulting-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.consulting-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 12px;
    color: var(--white);
    font-size: 28px;
    flex-shrink: 0;
}

.consulting-title {
    font-size: 20px;
    color: var(--dark);
}

.consulting-desc {
    color: var(--grey);
    line-height: 1.7;
    margin-bottom: 24px;
}

.consulting-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--white);
    border-radius: 50px;
    font-size: 13px;
    color: var(--dark);
}

.feature-tag i {
    color: var(--accent);
    font-size: 12px;
}

/* =============================================
   CTA SECTION
   ============================================= */

.cta-section {
    background: var(--gradient-primary);
    padding: 100px 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 42px;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* =============================================
   INDUSTRIES/REGIONS SECTION
   ============================================= */

.industries-section {
    background: var(--light-grey);
}

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

.region-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.region-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.region-flag {
    font-size: 60px;
    margin-bottom: 20px;
}

.region-name {
    font-size: 28px;
    margin-bottom: 8px;
    color: var(--dark);
}

.region-location {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 16px;
}

.region-desc {
    color: var(--grey);
    line-height: 1.7;
    margin-bottom: 30px;
}

.region-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.region-stat {
    text-align: center;
}

.region-stat strong {
    display: block;
    font-size: 32px;
    color: var(--primary);
    font-family: var(--font-heading);
    margin-bottom: 4px;
}

.region-stat span {
    font-size: 14px;
    color: var(--grey);
}

/* =============================================
   ABOUT SECTION
   ============================================= */

.about-modern-section {
    background: var(--white);
}

.about-modern-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    font-size: 18px;
    color: var(--grey);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-highlights {
    margin-top: 40px;
}

.highlight-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--light-grey);
    border-radius: 12px;
    margin-bottom: 16px;
}

.highlight-item i {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 12px;
    color: var(--white);
    font-size: 24px;
    flex-shrink: 0;
}

.highlight-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.highlight-item p {
    font-size: 14px;
    color: var(--grey);
    line-height: 1.6;
}

.about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.visual-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px;
    background: var(--light-grey);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.visual-item:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.05);
}

.visual-item i {
    font-size: 48px;
    color: var(--primary);
}

.visual-item:hover i {
    color: var(--white);
}

.visual-item span {
    font-weight: 600;
    font-size: 14px;
}

/* =============================================
   CONTACT SECTION
   ============================================= */

.contact-modern-section {
    background: var(--light-grey);
}

.contact-modern-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.contact-modern-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 16px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 12px;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-modern-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.contact-modern-card p {
    font-size: 14px;
    color: var(--grey);
    margin: 4px 0;
}

.contact-form-modern {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.form-group-modern {
    position: relative;
}

.form-group-modern input,
.form-group-modern textarea,
.form-group-modern select {
    width: 100%;
    padding: 16px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group-modern input:focus,
.form-group-modern textarea:focus,
.form-group-modern select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group-modern label {
    position: absolute;
    left: 16px;
    top: 16px;
    color: var(--grey);
    font-size: 16px;
    transition: all 0.3s ease;
    pointer-events: none;
    background: var(--white);
    padding: 0 4px;
}

.form-group-modern input:not(:placeholder-shown) + label,
.form-group-modern textarea:not(:placeholder-shown) + label,
.form-group-modern select:valid + label,
.form-group-modern input:focus + label,
.form-group-modern textarea:focus + label {
    top: -10px;
    left: 12px;
    font-size: 12px;
    color: var(--primary);
}

.form-message {
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    display: block;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    display: block;
}

/* =============================================
   FOOTER
   ============================================= */

.footer-modern {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 30px;
}

.footer-modern-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-main {
    color: var(--white);
}

.footer-desc {
    line-height: 1.8;
    margin-bottom: 30px;
}

.social-links-modern {
    display: flex;
    gap: 12px;
}

.social-link-modern {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-link-modern:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 24px;
}

.footer-links-modern {
    list-style: none;
}

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

.footer-links-modern a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links-modern a:hover {
    color: var(--white);
}

.footer-links-modern i {
    margin-right: 8px;
    width: 16px;
}

.footer-bottom-modern {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal-modern {
    display: flex;
    gap: 30px;
}

.footer-legal-modern a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
}

.footer-legal-modern a:hover {
    color: var(--white);
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */

@media (max-width: 1200px) {
    .services-modern-grid,
    .consulting-grid,
    .regions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-grid,
    .about-modern-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .visual-placeholder {
        width: 100%;
        max-width: 500px;
        height: 400px;
    }
}

@media (max-width: 968px) {
    :root {
        --section-padding: 60px;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 40px;
        gap: 20px;
        transition: left 0.3s ease;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-actions .btn {
        display: none;
    }
    
    .hero-title {
        font-size: 38px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .contact-modern-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-modern-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .services-modern-grid,
    .consulting-grid,
    .regions-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn,
    .cta-buttons .btn {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}