﻿/*
Theme Name: RK Digital Global
Theme URI: https://rkdigitalglobal.com
Author: RK Digital Global
Author URI: https://rkdigitalglobal.com
Description: A premium, high-authority digital marketing agency theme.
Version: 1.0.0
Text Domain: rkdigital
*/
:root {
    --navy-blue: #0A192F;
    --navy-light: #112240;
    --white: #FFFFFF;
    --white-off: #F8F9FA;
    --orange: #FF6B00;
    --orange-hover: #E65C00;
    --text-dark: #333333;
    --text-muted: #8892B0;
    --border-color: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--white-off);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background-color: var(--navy-blue);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2.5rem;
}

.nav-links > li > a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

/* Dropdown */
.dropdown {
    position: relative;
    padding: 1rem 0; /* Important for hover gap */
}

.mega-menu {
    position: absolute;
    top: 130%;
    left: -200px;
    width: 850px;
    background: var(--white);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border-top: 4px solid var(--orange);
    padding: 2.5rem;
    z-index: 1001;
}

.dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    top: 100%;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mega-menu-grid ul {
    list-style: none;
}

.mega-menu-grid ul li {
    margin-bottom: 1.2rem;
}

.mega-menu-grid ul li a {
    color: var(--navy-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s, padding-left 0.2s;
    display: block;
}

.mega-menu-grid ul li a:hover {
    color: var(--orange);
    padding-left: 5px;
}

/* Buttons */
.cta-btn, .primary-btn {
    background-color: var(--orange);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.cta-btn:hover, .primary-btn:hover {
    background-color: var(--orange-hover);
    transform: translateY(-2px);
}

.secondary-btn {
    background-color: transparent;
    color: var(--white);
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.secondary-btn:hover {
    border-color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
}

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background-color: var(--navy-blue);
    padding: 180px 2rem 100px 2rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

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

.badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(255, 107, 0, 0.15);
    color: var(--orange);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 107, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.highlight {
    color: var(--orange);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.trust-indicators {
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.stat {
    font-size: 1rem;
    color: var(--text-muted);
}

.stat strong {
    display: block;
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
    object-fit: cover;
    display: block;
}

.floating-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: var(--text-dark);
    animation: float 4s ease-in-out infinite;
    z-index: 10;
}

.floating-card i {
    font-size: 2.5rem;
    color: var(--orange);
}

.floating-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.floating-card p {
    color: #2e7d32;
    font-weight: 700;
    font-size: 0.95rem;
    margin: 0;
}

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

/* About Section */
.about {
    padding: 100px 2rem;
    background-color: var(--white);
}

.about-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 6rem;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: block;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--orange);
    border-radius: 12px;
    z-index: 0;
}

.about-image img {
    position: relative;
    z-index: 1;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 2.8rem;
    color: var(--navy-blue);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.divider {
    width: 80px;
    height: 5px;
    background-color: var(--orange);
    margin-bottom: 2rem;
    border-radius: 5px;
}

.about-content p {
    font-size: 1.15rem;
    color: #4a5568;
    margin-bottom: 2rem;
}

.features-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.features-list li {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--navy-blue);
}

.features-list i {
    color: var(--orange);
    font-size: 1.4rem;
}

/* Footer */
footer {
    background-color: var(--navy-blue);
    color: var(--text-muted);
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid var(--border-color);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container, .about-container {
        flex-direction: column;
        text-align: center;
        gap: 4rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-buttons, .trust-indicators {
        justify-content: center;
    }
    
    .floating-card {
        left: 20px;
    }
    
    .nav-links, .cta-btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
}

/* Page Specific Styles */
.page-hero {
    background-color: var(--navy-blue);
    padding: 150px 2rem 80px 2rem;
    text-align: center;
    color: var(--white);
}

.page-hero-container h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--orange);
}

.page-hero-container p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    padding: 80px 2rem;
    background-color: var(--white);
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
}

.content-container h2 {
    color: var(--navy-blue);
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-container p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Contact Page */
.contact-section {
    padding: 80px 2rem;
    background-color: var(--white-off);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.contact-info > p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.info-item i {
    font-size: 2rem;
    color: var(--orange);
}

.info-item h4 {
    font-size: 1.2rem;
    color: var(--navy-blue);
    margin-bottom: 0.3rem;
}

.info-item p {
    color: #555;
}

.contact-form-container {
    flex: 1.2;
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--navy-blue);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.blog-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.blog-info {
    padding: 1.8rem;
}

.blog-category {
    color: var(--orange);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    display: block;
}

.blog-info h3 {
    color: var(--navy-blue);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-info p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.read-more {
    color: var(--navy-blue);
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.read-more:hover {
    color: var(--orange);
}

/* Social Icons Hover */
.social-icons a:hover {
    background-color: var(--orange) !important;
    transform: translateY(-3px);
}

/* Further Responsive Adjustments */
@media (max-width: 992px) {
    .nav-links {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--navy-blue);
        padding: 2rem;
        transition: left 0.3s ease;
        overflow-y: auto;
    }
    
    .nav-links.active {
        left: 0;
    }

    .mega-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        width: 100%;
        box-shadow: none;
        padding: 1rem;
        background: transparent;
        display: none;
        border-top: none;
        margin-top: 1rem;
    }
    
    .dropdown.active .mega-menu {
        display: block;
    }

    .mega-menu-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .mega-menu-grid ul li a {
        color: var(--white);
        padding: 0.5rem 0;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center !important;
        text-align: center !important;
        gap: 3rem !important;
    }
    
    .footer-logo {
        text-align: center !important;
    }
    
    .footer-links {
        align-items: center !important;
    }
    
    .footer-links > div {
        justify-content: center !important;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 1.5rem 60px 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .about-content h2, .content-container h2 {
        font-size: 1.8rem !important;
    }
    
    .page-hero-container h1 {
        font-size: 2.2rem;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .about {
        padding: 60px 1.5rem;
    }
    
    .page-content {
        padding: 60px 1.5rem;
    }
    
    .blog-grid, .portfolio-grid {
        grid-template-columns: 1fr !important;
    }
}

