/*
Theme Name: V4Education
Theme URI: https://v4education.com
Author: V4Education Team
Author URI: https://v4education.com
Description: A modern, responsive WordPress theme for digital marketing company. Features engaging sections, smooth animations, and optimized for high traffic and conversions.
Version: 1.4.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: v4education
Tags: digital-marketing, responsive, modern, business, one-page

This theme, like WordPress, is licensed under the GPL.
*/

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Theme Base Colors */
    --theme-cyan: #06B6D4;
    --theme-cyan-light: #22D3EE;
    --theme-cyan-dark: #0891B2;
    --theme-cyan-darker: #0E7490;
    --theme-cyan-pale: #CFFAFE;
    --theme-cyan-subtle: #ECFEFF;
    
    --theme-navy: #1E3A5F;
    --theme-navy-light: #2D4A6F;
    --theme-navy-dark: #152A47;
    --theme-navy-darker: #0F1F35;
    --theme-navy-pale: #E6ECF2;
    --theme-navy-subtle: #F0F4F8;
    
    /* Primary Colors - Based on Cyan */
    --primary-color: #06B6D4;
    --primary-dark: #0891B2;
    --primary-light: #CFFAFE;
    --primary-lighter: #ECFEFF;
    
    /* Secondary Colors - Based on Navy */
    --secondary-color: #1E3A5F;
    --secondary-dark: #152A47;
    --secondary-light: #E6ECF2;
    
    /* Accent Colors - Warm accents for CTAs */
    --accent-color: #22d3ee;
    --accent-light: #67e8f9;
    --accent-dark: #0891b2;
    
    /* Neutral Colors */
    --dark-color: #1E3A5F;
    --light-color: #F0F4F8;
    --text-color: #334155;
    --text-muted: #64748B;
    --white: #ffffff;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-800: #1F2937;
    
    /* Status Colors */
    --success-color: #10B981;
    --warning-color: #EF4444;
    
    /* Gradients - Cyan & Navy combinations */
    --gradient-primary: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
    --gradient-secondary: linear-gradient(135deg, #1E3A5F 0%, #0E7490 100%);
    --gradient-hero: linear-gradient(135deg, #1E3A5F 0%, #06B6D4 100%);
    --gradient-accent: linear-gradient(135deg, #06B6D4 0%, #22D3EE 100%);
    --gradient-warm: linear-gradient(135deg, #22d3ee 0%, #67e8f9 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(30, 58, 95, 0.95) 0%, rgba(6, 182, 212, 0.85) 100%);
    --gradient-subtle: linear-gradient(to bottom, #FFFFFF, #F0F4F8);
    --gradient-card: linear-gradient(135deg, #ECFEFF 0%, #E6ECF2 100%);
    
    /* Shadows - Updated for cyan theme */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 0 20px rgba(6, 182, 212, 0.4);
    --shadow-cyan: 0 4px 14px rgba(6, 182, 212, 0.25);
    --shadow-navy: 0 4px 14px rgba(30, 58, 95, 0.25);
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    line-height: 1.8;
}

/* ==========================================================================
   Global Button Styles
   ========================================================================== */

/* Base Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: inherit;
    white-space: nowrap;
}

/* Primary Button - Solid Background */
.btn-primary {
    background: linear-gradient(135deg, #22d3ee 0%, #22d3ee 100%);
    color: var(--dark-color);
    border-color: #22d3ee;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #22d3ee 0%, #22d3ee 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(3, 105, 161, 0.2);
}

/* Ghost Button - Outline/Transparent */
.btn-ghost {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.btn-ghost:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 105, 161, 0.2);
}

.btn-ghost:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Ghost Button Light (for dark backgrounds) */
.btn-ghost-light {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    box-shadow: none;
}

.btn-ghost-light:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.btn-ghost-light:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Button Sizes */
.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

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

/* Button Full Width */
.btn-block {
    display: flex;
    width: 100%;
}

/* Disabled State */
.btn:disabled,
.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

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

.section {
    padding: 50px 0;
}

/* Compact homepage sections */
.home .section,
.page-template-default .section {
    padding: 50px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    font-size: 36px;
    font-weight: 700;
    color: #1e3a5f;
    line-height: 1.3;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-color);
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

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

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

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

/* ==========================================================================
   Animations
   ========================================================================== */

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

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

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

.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 40px 0;
    }
    
    .container {
        padding: 0 15px;
    }
}
