/*
Theme Name: Digitalised
Theme URI: https://digitalised.in
Author: Parvidar Tomer
Author URI: https://digitalised.in
Description: GEO/AEO optimized performance marketing theme with 2x ROAS guarantee. Built for AI search visibility and performance.
Version: 3.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: digitalised
Tags: business, marketing, responsive, ai-optimized, geo-aeo

Digitalised - Learn, Earn and Grow
*/

/* Font Awesome Integration */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

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

:root {
    --primary-color: #FF5722;
    --primary-dark: #E64A19;
    --secondary-color: #FFC107;
    --accent-color: #00897B;
    --accent-light: #00BCD4;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --text-color: #374151;
    --border-color: #e5e7eb;
    --success-color: #10b981;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 16px;
}

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

.btn-primary:hover {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 87, 34, 0.3);
}

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

.btn-secondary:hover {
    background: #FFB300;
    transform: translateY(-2px);
}

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

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

.btn-large {
    padding: 18px 48px;
    font-size: 18px;
}

/* ===================================
   NAVIGATION
   =================================== */
.site-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img {
    max-height: 50px;
    width: auto;
}

.site-logo a {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.main-navigation a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-navigation a:hover,
.main-navigation.current-menu-item a {
    color: var(--primary-color);
}

.nav-cta {
    padding: 10px 24px;
    background: var(--primary-color);
    color: white!important;
    border-radius: 6px;
}

.nav-cta:hover {
    background: var(--primary-dark);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    transition: all 0.3s ease;
}

/* Header CTA Button */
.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--primary-color);
    color: white!important;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    white-space: nowrap;
    margin-left: 20px;
}

.header-cta:hover {
    background: white;
    color: var(--primary-color)!important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.25);
}

.header-cta i {
    font-size: 16px;
}

/* Navigation wrapper to keep items inline */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 0;
}

.main-navigation.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 24px;
    font-weight: 500;
}

.hero h1 {
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.2);
    max-width: 800px;
    margin: 0 auto;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* ===================================
   SECTIONS
   =================================== */
section {
    padding: 80px 0;
}

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

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

section h2 {
    font-size: 42px;
    text-align: center;
    margin-bottom: 16px;
    color: var(--dark-color);
}

.section-subtitle {
    text-align: center;
    font-size: 20px;
    margin-bottom: 60px;
    color: var(--text-color);
}

/* ===================================
   GRID LAYOUTS
   =================================== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* ===================================
   CARDS
   =================================== */
.card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

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

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--dark-color);
}

.card p {
    line-height: 1.6;
}

/* Service Cards */
.service-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(255, 87, 34, 0.1);
    transform: translateY(-5px);
}

.service-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(255, 87, 34, 0.15);
}

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

/* Package Cards */
.package-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(255, 87, 34, 0.15);
    transform: translateY(-5px);
}

.package-card.recommended {
    border-color: var(--primary-color);
    border-width: 3px;
}

.package-card .btn {
    margin-top: auto;
}

.recommended-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 6px 24px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

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

.package-price {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.package-features {
    list-style: none;
    margin-bottom: 32px;
}

.package-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.package-features li i {
    color: var(--accent-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.guarantee-badge {
    background: rgba(0, 137, 123, 0.1);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

/* ===================================
   CASE STUDY
   =================================== */
.case-study-card {
    background: white;
    padding: 60px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.case-study-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.industry-tag {
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

.case-study-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background: var(--light-color);
    border-radius: 12px;
}

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

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

blockquote {
    font-size: 18px;
    line-height: 1.8;
    font-style: italic;
    padding: 30px;
    border-left: 4px solid var(--primary-color);
    background: var(--light-color);
    margin-bottom: 30px;
}

/* ===================================
   GUARANTEE SECTION
   =================================== */
.guarantee-section {
    padding: 80px 0;
    background: var(--dark-color);
    color: white;
}

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

.guarantee-item {
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid rgba(255,255,255,0.2);
}

.guarantee-label {
    font-size: 18px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.guarantee-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--secondary-color);
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 48px;
    margin-bottom: 16px;
    color: white;
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.trust-elements {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 40px;
    font-size: 14px;
    opacity: 0.9;
}

/* ===================================
   FORMS
   =================================== */
.contact-form {
    background: white;
    padding: 60px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* ===================================
   FOOTER
   =================================== */
.site-footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-col p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-col ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
}

/* ===================================
   PAGE HEADER
   =================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 20px;
    opacity: 0.95;
}

/* ===================================
   CONTENT SECTION
   =================================== */
.content-section {
    padding: 80px 0;
}

.content-section h2 {
    font-size: 36px;
    margin-bottom: 24px;
}

.content-section h3 {
    font-size: 28px;
    margin-bottom: 16px;
    margin-top: 40px;
}

.content-section p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.content-section ul,
.content-section ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.content-section li {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 12px;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
   .menu-toggle {
        display: flex;
    }

   .main-navigation ul {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
    }

   .main-navigation ul.active {
        left: 0;
    }

   .hero h1 {
        font-size: 36px;
    }

   .hero-subtitle {
        font-size: 18px;
    }

   .hero-cta {
        flex-direction: column;
        align-items: center;
    }

   .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    section h2 {
        font-size: 32px;
    }

   .case-study-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

   .trust-elements {
        flex-direction: column;
        gap: 16px;
    }

   .cta-section h2 {
        font-size: 32px;
    }

   .contact-form {
        padding: 40px 20px;
    }
}

/* Form Popup Styles */
.form-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.popup-content {
    background: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.popup-content i {
    font-size: 64px;
    margin-bottom: 20px;
}

.form-popup.success .popup-content i {
    color: var(--success-color);
}

.form-popup.error .popup-content i {
    color: var(--error-color);
}

.popup-content p {
    font-size: 18px;
    margin-bottom: 24px;
    color: var(--text-color);
}

.popup-content button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-content button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ===================================
   WORDPRESS SPECIFIC
   =================================== */
.alignleft {
    float: left;
    margin-right: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
}

.sticky {
    /* Sticky post styles */
}

.bypostauthor {
    /* Post author styles */
}