/* ========================================
   Peldarg Consulting - Premium Website Styles
   Brand Colors: Navy Blue #00274D, Gold #B8860B
   ======================================== */

/* ========================================
   1. CSS VARIABLES & RESET
   ======================================== */

:root {
    /* Brand Colors */
    --primary-navy: #00274D;
    --primary-gold: #B8860B;
    --accent-gold-light: #D4AF37;
    --accent-navy-light: #004080;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --light-gray: #E9ECEF;
    --medium-gray: #6C757D;
    --dark-gray: #343A40;
    --black: #000000;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-navy) 0%, var(--accent-navy-light) 100%);
    --gradient-gold: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-gold-light) 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(0, 39, 77, 0.95) 0%, rgba(0, 64, 128, 0.9) 100%);
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 100px;
    --container-max-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.7s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

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

body {
    font-family: var(--font-secondary);
    color: var(--dark-gray);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

button {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* ========================================
   2. UTILITY CLASSES
   ======================================== */

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

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

/* ========================================
   3. TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-navy);
}

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

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

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

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--medium-gray);
}

.lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--dark-gray);
}

/* ========================================
   4. BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-gold);
    transition: width var(--transition-fast);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

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

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

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

.btn-outline:hover {
    background: var(--primary-navy);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-text {
    background: transparent;
    color: var(--primary-gold);
    padding: 0;
    font-weight: 600;
}

.btn-text:hover {
    color: var(--primary-navy);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

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

.btn-nav {
    padding: 10px 24px;
    font-size: 0.95rem;
}

/* ========================================
   5. NAVIGATION
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-fast);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
}

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

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

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

.nav-link {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--primary-navy);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-navy);
    border-radius: 3px;
    transition: var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ========================================
   6. HERO SECTION
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(184, 134, 11, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--accent-gold-light);
}

.hero-title {
    color: var(--white);
    margin-bottom: 25px;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 50px 0;
}

.stat-item h3 {
    color: var(--accent-gold-light);
    font-size: 3rem;
    margin-bottom: 5px;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-cta .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

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

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hero-trust p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 1rem;
}

.hero-trust i {
    color: var(--accent-gold-light);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    color: var(--white);
    font-size: 2rem;
    opacity: 0.7;
    transition: var(--transition-fast);
}

.scroll-indicator a:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ========================================
   7. SECTION HEADERS
   ======================================== */

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

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-gold);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--medium-gray);
}

/* ========================================
   8. ABOUT SECTION
   ======================================== */

.about {
    padding: var(--section-padding) 0;
    background: var(--off-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 60px;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-features {
    margin: 40px 0;
}

.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
}

.feature-text h4 {
    margin-bottom: 8px;
    color: var(--primary-navy);
}

.feature-text p {
    color: var(--medium-gray);
    margin: 0;
}

.about-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.about-image {
    position: relative;
}

.image-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.image-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
}

.image-badge i {
    font-size: 2rem;
    color: var(--primary-gold);
}

.image-badge span {
    font-weight: 600;
    color: var(--primary-navy);
    font-size: 1.1rem;
}

.floating-card {
    position: absolute;
    top: 30px;
    right: -30px;
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 3s ease-in-out infinite;
}

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

.floating-card .card-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 1.5rem;
}

.floating-card .card-content h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--primary-navy);
}

.floating-card .card-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

/* ========================================
   9. SERVICES SECTION
   ======================================== */

.services {
    padding: var(--section-padding) 0;
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--light-gray);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform var(--transition-fast);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-gold);
}

.service-card.featured {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--primary-navy);
}

.service-card.featured h3,
.service-card.featured p,
.service-card.featured li {
    color: var(--white);
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--accent-gold-light);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary-gold);
    color: var(--white);
    padding: 5px 40px;
    font-size: 0.85rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-md);
    font-size: 2.5rem;
    margin-bottom: 25px;
    transition: all var(--transition-fast);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card > p {
    margin-bottom: 25px;
}

.service-features {
    margin: 25px 0;
    padding-left: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--medium-gray);
    font-size: 0.95rem;
}

.service-card.featured .service-features li {
    color: rgba(255, 255, 255, 0.9);
}

.service-features i {
    color: var(--primary-gold);
    font-size: 1rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-gold);
    font-weight: 600;
    margin-top: 15px;
    transition: var(--transition-fast);
}

.service-card.featured .service-link {
    color: var(--accent-gold-light);
}

.service-link:hover {
    gap: 12px;
}

/* ========================================
   10. ACADEMY SECTION
   ======================================== */

.academy {
    padding: var(--section-padding) 0;
    background: var(--gradient-primary);
    color: var(--white);
}

.academy .section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--accent-gold-light);
}

.academy .section-title {
    color: var(--white);
}

.academy .section-subtitle,
.academy .lead {
    color: rgba(255, 255, 255, 0.9);
}

.academy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 60px;
}

.academy-features {
    margin: 40px 0;
}

.academy-feature {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.academy-feature .feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    color: var(--accent-gold-light);
    border-radius: var(--radius-sm);
    font-size: 1.3rem;
}

.academy-feature h4 {
    color: var(--white);
    margin-bottom: 8px;
}

.academy-feature p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.academy-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.academy-stats .stat {
    text-align: center;
    padding: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.academy-stats .stat h3 {
    color: var(--accent-gold-light);
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.academy-stats .stat p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.academy-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.academy-cta .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

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

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

.image-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-fast);
}

.image-grid img:hover {
    transform: scale(1.05);
}

.grid-img-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.grid-img-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    height: 520px !important;
}

.grid-img-3 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.academy-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 15px;
}

.academy-badge i {
    font-size: 2rem;
    color: var(--primary-gold);
}

.academy-badge h4 {
    color: var(--primary-navy);
    margin: 0;
    font-size: 1.5rem;
}

.academy-badge p {
    color: var(--medium-gray);
    margin: 0;
    font-size: 0.9rem;
}

/* ========================================
   11. WHY CHOOSE US SECTION
   ======================================== */

.why-choose {
    padding: var(--section-padding) 0;
    background: var(--off-white);
}

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

.why-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-medium);
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.why-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    color: var(--white);
    border-radius: 50%;
    font-size: 2rem;
}

.why-card h3 {
    margin-bottom: 15px;
}

.why-card p {
    margin: 0;
}

/* ========================================
   12. PRICING SECTION
   ======================================== */

.pricing {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-xl);
    padding: 50px 40px;
    text-align: center;
    transition: all var(--transition-medium);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-gold);
}

.pricing-card.featured {
    background: var(--gradient-primary);
    border-color: var(--primary-navy);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-10px);
}

.pricing-card.featured .pricing-header h3,
.pricing-card.featured .pricing-header p,
.pricing-card.featured .price {
    color: var(--white);
}

.pricing-card.featured .pricing-features li {
    color: rgba(255, 255, 255, 0.9);
}

.pricing-card.featured .pricing-features i {
    color: var(--accent-gold-light);
}

.pricing-card.featured .featured-badge {
    background: var(--primary-gold);
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 30px 0;
    color: var(--primary-navy);
}

.currency {
    font-size: 1.25rem;
    margin-top: 10px;
    margin-right: 5px;
}

.amount {
    font-size: clamp(2.1rem, 7vw, 3.2rem);
    font-weight: 800;
    line-height: 1;
}

.plus {
    font-size: 1.6rem;
    margin-top: 10px;
    margin-left: 5px;
}

.pricing-header p {
    color: var(--medium-gray);
    margin-bottom: 0;
}

.pricing-features {
    text-align: left;
    margin: 40px 0;
}

.pricing-features li {
    padding: 15px 0;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-card.featured .pricing-features li {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i.fa-check {
    color: var(--primary-gold);
}

.pricing-features i.fa-times {
    color: var(--medium-gray);
    opacity: 0.3;
}

.pricing-note {
    max-width: 800px;
    margin: 60px auto 0;
    text-align: center;
    padding: 25px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-gold);
}

.pricing-note i {
    color: var(--primary-gold);
    margin-right: 10px;
}

/* ========================================
   13. PORTFOLIO SECTION
   ======================================== */

.portfolio {
    padding: var(--section-padding) 0;
    background: var(--off-white);
}

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

.portfolio-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-medium);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-link {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--primary-navy);
    border-radius: 50%;
    font-size: 1.5rem;
    transition: all var(--transition-fast);
}

.portfolio-link:hover {
    transform: scale(1.2);
    background: var(--primary-gold);
    color: var(--white);
}

.portfolio-content {
    padding: 30px;
}

.portfolio-category {
    display: inline-block;
    padding: 5px 15px;
    background: var(--gradient-gold);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.portfolio-content h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.portfolio-content p {
    margin-bottom: 20px;
}

.portfolio-tech {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tech-tag {
    padding: 5px 12px;
    background: var(--off-white);
    color: var(--primary-navy);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ========================================
   14. TESTIMONIALS SECTION
   ======================================== */

.testimonials {
    padding: var(--section-padding) 0;
    background: var(--white);
}

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

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-gold);
    transition: all var(--transition-medium);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: var(--primary-gold);
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-gray);
    font-style: italic;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    gap: 15px;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.author-info h4 {
    margin-bottom: 5px;
    color: var(--primary-navy);
}

.author-info p {
    margin: 0;
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/* ========================================
   15. CONTACT SECTION
   ======================================== */

.contact {
    padding: var(--section-padding) 0;
    background: var(--off-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 1.3rem;
}

.info-text h4 {
    margin-bottom: 8px;
    color: var(--primary-navy);
}

.info-text p {
    margin: 0;
    color: var(--medium-gray);
}

.social-links {
    padding: 25px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.social-links h4 {
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 1.2rem;
    transition: all var(--transition-fast);
}

.social-icon:hover {
    background: var(--gradient-gold);
    transform: translateY(-5px);
}

.payment-info {
    padding: 25px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.payment-info h4 {
    color: var(--accent-gold-light);
    margin-bottom: 15px;
}

.payment-info p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
}

.payment-info strong {
    color: var(--white);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-weight: 600;
    color: var(--primary-navy);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px 20px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-sm);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}

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

.form-message {
    padding: 15px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ========================================
   16. FOOTER
   ======================================== */

.footer {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 80px 0 30px;
}

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

.footer-logo {
    max-width: 200px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

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

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

.footer-col h4 {
    color: var(--accent-gold-light);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-gold-light);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-secondary);
}

.newsletter-form button {
    padding: 12px 20px;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--accent-gold-light);
}

/* ========================================
   17. BACK TO TOP BUTTON
   ======================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ========================================
   18. RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .about-content,
    .academy-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .floating-card {
        right: 0;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .hamburger {
        display: flex;
        flex: 0 0 auto;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100vw;
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        box-shadow: var(--shadow-lg);
        transform: translateX(-110%);
        transition: transform var(--transition-fast);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .services-grid,
    .why-grid,
    .pricing-grid,
    .portfolio-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Prevent the featured pricing card scale from causing horizontal overflow on small screens */
    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .academy-stats {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-wrapper {
        padding: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 50px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .service-card,
    .why-card {
        padding: 30px;
    }
    
    .pricing-card {
        padding: 40px 25px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}