/* ========================================
   Flint & Thread Ads Panel - Main Styles
   ======================================== */

:root {
    /* Primary Colors */
    --primary-color: #ef7b1a;
    --primary-dark: #79411c;
    --primary-light: #f6c795;
    
    /* Secondary Colors */
    --secondary-color: #1d324e;
    --secondary-light: #69798c;
    --secondary-dark: #0f1a2e;
    
    /* Accent Colors */
    --accent-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --dark-gray: #343a40;
    --black: #000000;
    
    /* Gradients */
    --primary-gradient: linear-gradient(135deg, #ef7b1a 0%, #79411c 100%);
    --secondary-gradient: linear-gradient(135deg, #1d324e 0%, #0f1a2e 100%);
    --hero-gradient: linear-gradient(135deg, #ef7b1a 0%, #79411c 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
    --shadow-xl: 0 16px 32px rgba(0,0,0,0.25);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 50%;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ========================================
   Base Styles
   ======================================== */

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

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

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

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

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

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

/* ========================================
   Navigation
   ======================================== */

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(239, 123, 26, 0.1);
    transition: all var(--transition-normal);
    padding: 1rem 0;
    z-index: 1000;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

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

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.navbar-brand:hover {
    transform: scale(1.05);
    color: var(--primary-dark);
}

.brand-text {
    margin-left: 0.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--secondary-color);
    transition: all var(--transition-normal);
    position: relative;
    padding: 0.5rem 1rem;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

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

.navbar-nav .btn {
    margin-top: 0.5rem;
    margin-left: 0;
}

@media (min-width: 992px) {
    .navbar-nav .btn {
        margin-top: 0;
        margin-left: 0.5rem;
    }
}

/* Enhanced Tablet Navigation (768px - 1199px) */
@media (max-width: 1199.98px) and (min-width: 768px) {
    .navbar {
        padding: 0.75rem 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        border-bottom: 1px solid rgba(239, 123, 26, 0.15);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-brand {
        font-size: 1.4rem;
        display: flex;
        align-items: center;
    }
    
    .navbar-brand img {
        height: 35px;
        width: auto;
    }
    
    .navbar-nav {
        flex-direction: row;
        align-items: center;
        margin-left: auto;
        gap: 0.25rem;
    }
    
    .navbar-nav .nav-item {
        margin: 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.9rem;
        font-weight: 500;
        color: var(--secondary-color);
        transition: all var(--transition-normal);
        border-radius: var(--radius-sm);
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: var(--primary-color);
        background: rgba(239, 123, 26, 0.1);
    }
    
    .navbar-nav .btn {
        margin-top: 0;
        margin-left: 0.5rem;
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
        background: var(--primary-color);
        border: none;
        color: white;
        border-radius: var(--radius-md);
        transition: all var(--transition-normal);
        font-weight: 600;
    }
    
    .navbar-nav .btn:hover {
        background: var(--primary-dark);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(239, 123, 26, 0.3);
    }
    
    .navbar-toggler {
        display: none !important;
    }
    
    .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
        width: auto;
    }
    
    .navbar-collapse.collapse {
        display: flex !important;
    }
    
    .navbar-collapse.collapsing {
        display: flex !important;
    }
}

/* Tablet Portrait Navigation (768px - 1023px) */
@media (max-width: 1023.98px) and (min-width: 768px) {
    .navbar {
        padding: 0.6rem 0;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .navbar-brand img {
        height: 32px;
    }
    
    .navbar-nav .nav-link {
        padding: 0.35rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .navbar-nav .btn {
        padding: 0.35rem 0.7rem;
        font-size: 0.8rem;
    }
}

/* Additional tablet optimizations */
@media (max-width: 1024px) and (min-width: 768px) {
    .navbar-nav .nav-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.9rem;
    }
    
    .navbar-nav .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .navbar-brand {
        font-size: 1.4rem;
    }
}

/* iPad specific optimizations */
@media (max-width: 1024px) and (min-width: 768px) and (orientation: landscape) {
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.3rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .navbar-nav .btn {
        padding: 0.3rem 0.7rem;
        font-size: 0.8rem;
    }
}

/* ========================================
   Hero Section
   ======================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--hero-gradient);
    overflow: hidden;
    padding-top: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
}

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

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    top: 40%;
    right: 30%;
    animation-delay: 4s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 2rem 0;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--white);
}

.hero-title .text-gradient {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 500px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-buttons {
    margin-bottom: 3.5rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.stat-item {
    text-align: left;
    min-width: 120px;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-item p {
    font-size: 0.9rem;
    opacity: 0.85;
    margin: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.image-container {
    position: relative;
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.floating-cards {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 
                0 0 0 1px rgba(255, 255, 255, 0.4),
                0 0 20px rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    color: var(--secondary-color);
    animation: floatCard 4s ease-in-out infinite;
    min-width: 180px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all var(--transition-normal);
    cursor: pointer;
    font-size: 0.95rem;
    letter-spacing: 0.4px;
}

.floating-card i {
    color: var(--primary-color);
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-right: 0.5rem;
}

.floating-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 1);
}

.floating-card span {
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.card-1 {
    top: 20%;
    right: 25%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 10%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 20%;
    right: 30%;
    animation-delay: 2s;
}

@keyframes floatCard {
    0%, 100% { 
        transform: translateY(0) scale(1); 
        opacity: 0.9;
    }
    50% { 
        transform: translateY(-5px) scale(1.01); 
        opacity: 1;
    }
}

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

/* ========================================
   Buttons
   ======================================== */

.btn {
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-gradient);
    border: none;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(239, 123, 26, 0.3);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(239, 123, 26, 0.4);
    color: var(--white);
    background: var(--primary-gradient);
}

.btn-outline-primary {
    border: none;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

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

/* ========================================
   Sections
   ======================================== */

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--secondary-light);
    margin-bottom: 3rem;
}

/* Page Heading Enhancements */
.hero-title span,
.section-title span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    position: relative;
}

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

/* Responsive Heading Sizes */
@media (max-width: 991.98px) {
    .hero-title { font-size: 3rem; }
    .section-title { font-size: 2.25rem; }
}

@media (max-width: 767.98px) {
    .hero-title { font-size: 2.4rem; }
    .section-title { font-size: 2rem; }
}

@media (max-width: 575.98px) {
    .hero-title { font-size: 2rem; }
    .section-title { font-size: 1.75rem; }
}

/* ========================================
   Modern Feature Cards - Redesigned
   ======================================== */

.features-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ef7b1a" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ef7b1a" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ef7b1a" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="%23ef7b1a" opacity="0.05"/><circle cx="90" cy="40" r="0.5" fill="%23ef7b1a" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

@media (max-width: 768px) {
    .features-section {
        padding: 4rem 0;
    }
}

@media (max-width: 576px) {
    .features-section {
        padding: 3rem 0;
    }
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    margin-bottom: 2rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(239, 123, 26, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.feature-card:hover::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .feature-card {
        padding: 2.5rem 2rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .feature-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1rem;
        border-radius: 20px;
    }
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(239, 123, 26, 0.3);
}

.feature-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--white);
    font-size: 2.5rem;
    position: relative;
    box-shadow: 
        0 8px 32px rgba(239, 123, 26, 0.3),
        0 0 0 4px rgba(239, 123, 26, 0.1);
    transition: all 0.3s ease;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 26px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover .feature-icon::before {
    opacity: 1;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 12px 40px rgba(239, 123, 26, 0.4),
        0 0 0 6px rgba(239, 123, 26, 0.15);
}

@media (max-width: 768px) {
    .feature-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 1.25rem;
    }
}

.feature-card h4 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--secondary-color);
    text-align: center;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .feature-card h4 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .feature-card h4 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }
}

.feature-card p {
    color: var(--secondary-light);
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.6;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .feature-card p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 0.75rem 0;
    color: var(--secondary-light);
    position: relative;
    padding-left: 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.feature-list li:hover {
    background: rgba(239, 123, 26, 0.05);
    padding-left: 2.5rem;
    color: var(--secondary-color);
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: white;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.feature-list li::after {
    content: '✓';
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Staggered animation for cards */
.feature-card:nth-child(1) { 
    animation-delay: 0.1s; 
    transform: translateY(20px);
    opacity: 0;
    animation: slideUpFade 0.6s ease forwards;
}

.feature-card:nth-child(2) { 
    animation-delay: 0.2s; 
    transform: translateY(20px);
    opacity: 0;
    animation: slideUpFade 0.6s ease forwards;
}

.feature-card:nth-child(3) { 
    animation-delay: 0.3s; 
    transform: translateY(20px);
    opacity: 0;
    animation: slideUpFade 0.6s ease forwards;
}

@keyframes slideUpFade {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Special effects for featured card */
.feature-card.featured {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(239, 123, 26, 0.05) 100%);
    border: 2px solid rgba(239, 123, 26, 0.2);
    transform: scale(1.05);
}

.feature-card.featured::before {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color), var(--accent-color));
    animation: shimmer 2s ease-in-out infinite;
}

@media (max-width: 768px) {
    .feature-card.featured {
        transform: scale(1.02);
    }
}

@media (max-width: 576px) {
    .feature-card.featured {
        transform: none;
    }
}

/* ========================================
   Modern Pricing Cards - Redesigned
   ======================================== */

.pricing-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="pricing-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23ef7b1a" opacity="0.08"/><circle cx="80" cy="80" r="1" fill="%23ef7b1a" opacity="0.08"/><circle cx="40" cy="60" r="0.5" fill="%23ef7b1a" opacity="0.05"/><circle cx="60" cy="40" r="0.5" fill="%23ef7b1a" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23pricing-grain)"/></svg>');
    opacity: 0.4;
    z-index: 1;
}

@media (max-width: 768px) {
    .pricing-section {
        padding: 4rem 0;
    }
}

@media (max-width: 576px) {
    .pricing-section {
        padding: 3rem 0;
    }
}

.pricing-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 28px;
    padding: 3rem 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    margin-bottom: 2rem;
    overflow: hidden;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
    background-size: 200% 100%;
    animation: shimmer 4s ease-in-out infinite;
}

.pricing-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(239, 123, 26, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.pricing-card:hover::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .pricing-card {
        padding: 2.5rem 2rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .pricing-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1rem;
        border-radius: 24px;
    }
}

.pricing-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(239, 123, 26, 0.3);
}

.pricing-card.featured {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 123, 26, 0.08) 100%);
    border: 2px solid rgba(239, 123, 26, 0.25);
    transform: scale(1.08);
    box-shadow: 
        0 15px 50px rgba(239, 123, 26, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.pricing-card.featured::before {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color), var(--accent-color));
    animation: shimmer 2s ease-in-out infinite;
}

@media (max-width: 768px) {
    .pricing-card.featured {
        transform: scale(1.03);
    }
}

@media (max-width: 576px) {
    .pricing-card.featured {
        transform: none;
    }
}

.popular-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 
        0 4px 20px rgba(239, 123, 26, 0.4),
        0 0 0 3px rgba(255, 255, 255, 0.8);
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-header h4 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.price {
    margin-bottom: 2.5rem;
    position: relative;
}

.currency {
    font-size: 1.8rem;
    vertical-align: top;
    color: var(--primary-color);
    font-weight: 600;
}

.amount {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin: 0 0.25rem;
}

@media (max-width: 768px) {
    .amount {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .amount {
        font-size: 2.5rem;
    }
}

.period {
    font-size: 1.1rem;
    color: var(--secondary-light);
    font-weight: 600;
    margin-left: 0.5rem;
}

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

.pricing-features li {
    padding: 1rem 0;
    color: var(--secondary-light);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    position: relative;
}

.pricing-features li:hover {
    background: rgba(239, 123, 26, 0.05);
    padding-left: 1rem;
    color: var(--secondary-color);
}

.pricing-features li i {
    color: var(--accent-color);
    font-size: 1.3rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 50%;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
    flex-shrink: 0;
}

/* Staggered animation for pricing cards */
.pricing-card:nth-child(1) { 
    animation-delay: 0.1s; 
    transform: translateY(30px);
    opacity: 0;
    animation: slideUpFade 0.7s ease forwards;
}

.pricing-card:nth-child(2) { 
    animation-delay: 0.2s; 
    transform: translateY(30px);
    opacity: 0;
    animation: slideUpFade 0.7s ease forwards;
}

.pricing-card:nth-child(3) { 
    animation-delay: 0.3s; 
    transform: translateY(30px);
    opacity: 0;
    animation: slideUpFade 0.7s ease forwards;
}

/* ========================================
   Additional Modern Enhancements
   ======================================== */

/* Glass morphism effect for cards */
.feature-card,
.pricing-card {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Enhanced hover effects */
.feature-card:hover,
.pricing-card:hover {
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    background: rgba(255, 255, 255, 0.95);
}

/* Floating animation for icons */
@keyframes floatIcon {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    50% { 
        transform: translateY(-8px) rotate(3deg); 
    }
}

.feature-icon {
    animation: floatIcon 6s ease-in-out infinite;
}

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

/* Gradient text animation */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.feature-card h4,
.pricing-header h4 {
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

/* Enhanced button styles for cards */
.feature-card .btn,
.pricing-card .btn {
    position: relative;
    overflow: hidden;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.feature-card .btn::before,
.pricing-card .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.feature-card .btn:hover::before,
.pricing-card .btn:hover::before {
    left: 100%;
}

/* Card entrance animations */
@keyframes cardSlideIn {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.feature-card,
.pricing-card {
    animation: cardSlideIn 0.8s ease-out forwards;
}

/* Responsive enhancements */
@media (max-width: 768px) {
    .feature-card,
    .pricing-card {
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }
    
    .feature-card:hover,
    .pricing-card:hover {
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .feature-card,
    .pricing-card {
        background: rgba(30, 30, 30, 0.85);
        border-color: rgba(255, 255, 255, 0.1);
        color: #ffffff;
    }
    
    .feature-card h4,
    .pricing-header h4 {
        color: #ffffff;
    }
    
    .feature-card p,
    .pricing-features li {
        color: rgba(255, 255, 255, 0.8);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .feature-card,
    .pricing-card {
        border: 2px solid var(--primary-color);
        background: var(--white);
    }
    
    .feature-card:hover,
    .pricing-card:hover {
        border-color: var(--accent-color);
        box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.3);
    }
}

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
    background: var(--secondary-gradient);
    color: var(--white);
    text-align: center;
    padding: 4rem 0;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 3rem 0;
    }
}

@media (max-width: 576px) {
    .cta-section {
        padding: 2rem 0;
    }
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 2.5rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .cta-content h2 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .cta-content p {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .cta-buttons {
        /* flex-direction: column; */
        align-items: center;
        gap: 0.75rem;
        padding:10px;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding:10px;
    }
}

@media (max-width: 576px) {
    .cta-buttons {
        gap: 0.5rem;
    }
    
    .cta-buttons .btn {
        max-width: 100%;
    }
}

/* ========================================
   Stats Cards Section
   ======================================== */
.stats-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ef7b1a" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%231d324e" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ef7b1a" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="%231d324e" opacity="0.05"/><circle cx="90" cy="40" r="0.5" fill="%23ef7b1a" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.stats-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(239, 123, 26, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

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

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

.stats-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.stats-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.stats-card:hover .stats-icon::before {
    transform: translateX(100%);
}

.stats-card:hover .stats-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(239, 123, 26, 0.3);
}

.stats-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stats-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.stats-description {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.5;
    margin: 0;
    opacity: 0.8;
}

/* Responsive Design for Stats Cards */
@media (max-width: 991.98px) {
    .stats-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .stats-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .stats-number {
        font-size: 2.5rem;
    }
    
    .stats-label {
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .stats-section {
        padding: 2rem 0;
    }
    
    .stats-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .stats-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .stats-number {
        font-size: 2rem;
    }
    
    .stats-label {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .stats-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .stats-section {
        padding: 1.5rem 0;
    }
    
    .stats-card {
        padding: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .stats-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .stats-number {
        font-size: 1.75rem;
    }
    
    .stats-label {
        font-size: 0.95rem;
    }
    
    .stats-description {
        font-size: 0.85rem;
    }
}

/* Animation for Stats Cards */
@keyframes statsFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stats-card[data-delay="0.1s"] {
    animation: statsFadeInUp 0.6s ease 0.1s both;
}

.stats-card[data-delay="0.2s"] {
    animation: statsFadeInUp 0.6s ease 0.2s both;
}

.stats-card[data-delay="0.3s"] {
    animation: statsFadeInUp 0.6s ease 0.3s both;
}

/* ========================================
   Why Choose Us Section - Responsive Design
   ======================================== */
.why-choose-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ef7b1a" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

.why-choose-content {
    position: relative;
    z-index: 2;
}

.why-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border-left: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.why-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(239, 123, 26, 0.02) 0%, rgba(29, 50, 78, 0.02) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.why-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--primary-color);
}

.why-item:hover::before {
    opacity: 1;
}

.why-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-right: 1.5rem;
    flex-shrink: 0;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.why-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.why-item:hover .why-icon::before {
    transform: translateX(100%);
}

.why-item:hover .why-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(239, 123, 26, 0.3);
}

.why-text {
    flex: 1;
    padding-top: 0.5rem;
}

.why-text h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    position: relative;
}

.why-text h4::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.why-item:hover .why-text h4::after {
    transform: scaleX(1);
}

.why-text p {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

.why-choose-image {
    position: relative;
    z-index: 2;
    text-align: center;
}

.why-choose-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    max-width: 100%;
    height: auto;
}

.why-choose-image:hover img {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

/* Tablet Hero Section Fix */
@media (max-width: 991.98px) {
    .about-hero {
        padding: 2rem 0;
    }
    
    .about-hero .min-vh-100 {
        min-height: auto;
    }
    
    .about-hero .hero-content {
        padding-top: 1rem;
    }
}

/* Responsive Design for Why Choose Us Section */
@media (max-width: 1199.98px) {
    .why-item {
        margin-bottom: 2rem;
        padding: 1.25rem;
    }
    
    .why-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
        margin-right: 1.25rem;
    }
    
    .why-text h4 {
        font-size: 1.4rem;
    }
}

@media (max-width: 991.98px) {
    .why-choose-section {
        padding: 4rem 0;
    }
    
    .why-choose-content {
        margin-bottom: 3rem;
    }
    
    .why-item {
        margin-bottom: 1.75rem;
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .why-icon {
        width: 70px;
        height: 70px;
        font-size: 1.6rem;
        margin: 0 auto 1rem;
    }
    
    .why-text {
        padding-top: 0;
    }
    
    .why-text h4 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .why-text h4::after {
        left: 50%;
        transform: translateX(-50%) scaleX(0);
    }
    
    .why-item:hover .why-text h4::after {
        transform: translateX(-50%) scaleX(1);
    }
    
    .why-choose-image {
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .mission-section {
        padding: 2rem 0;
    }
    
    .why-choose-section {
        padding: 2rem 0;
    }
    
    .why-choose-content {
        margin-bottom: 2.5rem;
    }
    
    .why-item {
        margin-bottom: 1.5rem;
        padding: 1.25rem;
    }
    
    .why-icon {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
        margin-bottom: 0.75rem;
    }
    
    .why-text h4 {
        font-size: 1.25rem;
    }
    
    .why-text p {
        font-size: 0.95rem;
    }
}

@media (max-width: 575.98px) {
    .mission-section {
        padding: 1.5rem 0;
    }
    
    .why-choose-section {
        padding: 1.5rem 0;
    }
    
    .why-choose-content {
        margin-bottom: 2rem;
    }
    
    .why-item {
        margin-bottom: 1.25rem;
        padding: 1rem;
    }
    
    .why-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .why-text h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .why-text p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .why-choose-image img {
        border-radius: var(--radius-md);
    }
}

/* Animation for Why Choose Items */
@keyframes whyItemSlideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.why-item:nth-child(1) {
    animation: whyItemSlideIn 0.6s ease 0.1s both;
}

.why-item:nth-child(2) {
    animation: whyItemSlideIn 0.6s ease 0.2s both;
}

.why-item:nth-child(3) {
    animation: whyItemSlideIn 0.6s ease 0.3s both;
}

/* Image Animation */
@keyframes imageFadeIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.why-choose-image {
    animation: imageFadeIn 0.8s ease 0.4s both;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 1.5rem 0 1rem;
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-brand .brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.footer h5 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all var(--transition-normal);
}

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

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    color: var(--primary-color);
    width: 20px;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0 1rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .social-links {
        gap: 0.75rem;
    }
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all var(--transition-normal);
}

@media (max-width: 576px) {
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

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

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        gap: 3rem;
    }
    
    .stat-item h3 {
        font-size: 3rem;
    }
}

/* Desktop (1200px - 1399px) */
@media (max-width: 1399px) and (min-width: 1200px) {
    .hero-title {
        font-size: 3.8rem;
    }
    
    .section-title {
        font-size: 2.75rem;
    }
}

@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .floating-card {
        min-width: 180px;
        padding: 1.5rem 2rem;
        font-size: 0.95rem;
    }
    
    .floating-card i {
        font-size: 1.4rem;
    }
    
    .image-container {
        padding: 1.5rem;
    }
    
    .image-container img {
        max-height: 400px;
    }
    
    .card-1 {
        top: 15%;
        right: 20%;
    }
    
    .card-2 {
        top: 45%;
        right: 5%;
    }
    
    .card-3 {
        bottom: 15%;
        right: 25%;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
        text-align: center;
    }
    
    .hero-description {
        font-size: 1.1rem;
        text-align: center;
        max-width: 100%;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .floating-card {
        display: none;
    }
    
    .hero-buttons {
        margin-bottom: 2.5rem;
        justify-content: center;
    }
    
    .hero-buttons .btn {
        margin-bottom: 1rem;
    }
    
    .hero-content {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        text-align: center;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1rem;
        text-align: center;
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .feature-card,
    .pricing-card {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .stat-item {
        text-align: center;
        min-width: 100px;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .stat-item p {
        font-size: 0.85rem;
    }
    
    .cta-content h2 {
        font-size: 2.5rem;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .hero-buttons {
        text-align: center;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        max-width: 280px;
        margin: 0.5rem 0;
    }
    
    .hero-section {
        padding-top: 100px;
        min-height: 90vh;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .image-container {
        padding: 1.5rem;
    }
    
    .image-container img {
        max-height: 400px;
    }
    
    .floating-card {
        min-width: 150px;
        padding: 1rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .floating-card i {
        font-size: 1.2rem;
    }
    
    .card-1 {
        top: 10%;
        right: 15%;
    }
    
    .card-2 {
        top: 40%;
        right: 5%;
    }
    
    .card-3 {
        bottom: 10%;
        right: 20%;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
        text-align: center;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 0.95rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .feature-card,
    .pricing-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 1rem;
        display: block;
        max-width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .stat-item {
        min-width: auto;
    }
    
    .stat-item h3 {
        font-size: 1.8rem;
    }
    
    .stat-item p {
        font-size: 0.8rem;
    }
    
    .navbar-brand img {
        height: 35px;
    }
    
    .hero-section {
        padding: 2rem 0;
        min-height: 80vh;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .image-container {
        padding: 1rem;
    }
    
    .image-container img {
        max-height: 300px;
    }
    
    .floating-card {
        min-width: 120px;
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
    
    .floating-card i {
        font-size: 1rem;
    }
    
    .card-1 {
        top: 5%;
        right: 10%;
    }
    
    .card-2 {
        top: 35%;
        right: 2%;
    }
    
    .card-3 {
        bottom: 5%;
        right: 15%;
    }
}

/* Additional responsive improvements */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .feature-card,
    .pricing-card {
        padding: 1.25rem;
    }
    
    .btn {
        font-size: 0.85rem;
        padding: 0.75rem 1.5rem;
    }
    
    .navbar-brand img {
        height: 30px;
    }
}

/* Ultra small devices (320px - 375px) */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .feature-card,
    .pricing-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .btn {
        font-size: 0.8rem;
        padding: 0.7rem 1.25rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 0.75rem;
    }
    
    .stat-item h3 {
        font-size: 1.5rem;
    }
    
    .stat-item p {
        font-size: 0.75rem;
    }
    
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px; /* Apple's recommended touch target size */
        padding: 0.75rem 1.5rem;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .feature-card:hover,
    .pricing-card:hover {
        transform: none; /* Disable hover effects on touch devices */
    }
    
    .floating-card:hover {
        transform: none;
    }
    
    .social-links a {
        min-width: 44px;
        min-height: 44px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-section::before {
        background-size: 200px 200px;
    }
    
    .image-container img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        padding-top: 60px;
    }
    
    .hero-content {
        padding: 1rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        margin-top: 1rem;
    }
}

/* ========================================
   Enhanced Animations & Micro-interactions
   ======================================== */

.animate__animated {
    animation-duration: 1s;
}

.animate__fadeInUp {
    animation-delay: calc(var(--delay, 0) * 0.1s);
}

/* Enhanced button animations */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

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

.btn:active {
    transform: translateY(1px) scale(0.98);
}

/* Card hover effects */
.feature-card,
.pricing-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, box-shadow;
}

.feature-card:hover,
.pricing-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Floating elements animation */
@keyframes floatEnhanced {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1); 
        opacity: 0.8;
    }
    25% { 
        transform: translateY(-10px) rotate(90deg) scale(1.05); 
        opacity: 1;
    }
    50% { 
        transform: translateY(-20px) rotate(180deg) scale(1.1); 
        opacity: 0.9;
    }
    75% { 
        transform: translateY(-10px) rotate(270deg) scale(1.05); 
        opacity: 1;
    }
}

.shape {
    animation: floatEnhanced 8s ease-in-out infinite;
}

/* Staggered animation for cards */
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

.pricing-card:nth-child(1) { animation-delay: 0.1s; }
.pricing-card:nth-child(2) { animation-delay: 0.2s; }
.pricing-card:nth-child(3) { animation-delay: 0.3s; }

/* Loading animation for forms */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.btn:disabled {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Focus indicators for accessibility */
.btn:focus,
.nav-link:focus,
.form-control:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .shape {
        animation: none;
    }
    
    .floating-card {
        animation: none;
    }
}

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

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.py-5 { padding: 3rem 0; }
.py-4 { padding: 2rem 0; }
.py-3 { padding: 1.5rem 0; }

/* ========================================
   Custom Scrollbar
   ======================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ========================================
   Additional Page Styles
   ======================================== */

/* About Page Styles */
.about-hero {
    background: var(--hero-gradient);
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.mission-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    height: 100%;
    text-align: center;
    border: 1px solid rgba(239, 123, 26, 0.1);
}

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

.mission-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    height: 100%;
}

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

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

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all var(--transition-normal);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(239, 123, 26, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition-normal);
}

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

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.social-links a:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h5 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.team-info p {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--secondary-light);
    font-size: 0.9rem;
}

.why-choose-section {
    background: var(--light-gray);
}

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

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

.why-text h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.why-text p {
    color: var(--secondary-light);
    margin: 0;
}

/* Types Page Styles */
.types-hero {
    background: var(--hero-gradient);
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.types-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.types-hero .container {
    position: relative;
    z-index: 2;
}

.types-hero .hero-content {
    animation: fadeInLeft 1s ease-out;
}

.types-hero .hero-image {
    animation: fadeInRight 1s ease-out;
}

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

.types-hero .image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.types-hero .image-container:hover img {
    transform: scale(1.05);
}

.ad-placements-section {
    background: var(--light-gray);
}

.placement-card,
.performance-card,
.campaign-card,
.ad-type-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    height: 100%;
    border: 1px solid rgba(239, 123, 26, 0.1);
}

.placement-card:hover,
.performance-card:hover,
.campaign-card:hover,
.ad-type-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.placement-header,
.performance-header,
.campaign-header,
.ad-type-header {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 1.5rem;
    text-align: center;
}

.placement-icon,
.performance-icon,
.campaign-icon,
.ad-type-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.placement-header h4,
.performance-header h4,
.campaign-header h4,
.ad-type-header h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.ad-type-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.placement-content,
.performance-content,
.campaign-content,
.ad-type-content {
    padding: 1.5rem;
}

.placement-description,
.performance-description,
.campaign-description,
.ad-type-description {
    color: var(--secondary-light);
    margin-bottom: 1rem;
}

.placement-pricing,
.performance-pricing,
.campaign-pricing {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.price-item:last-child {
    margin-bottom: 0;
}

.price-label {
    color: var(--secondary-light);
    font-size: 0.9rem;
}

.price-value {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.placement-features,
.performance-features,
.campaign-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.placement-features li,
.performance-features li,
.campaign-features li {
    padding: 0.5rem 0;
    color: var(--secondary-light);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.placement-features li i,
.performance-features li i,
.campaign-features li i {
    color: var(--accent-color);
    font-size: 1rem;
}

.ad-type-specs,
.ad-type-requirements {
    margin-bottom: 1rem;
}

.ad-type-specs h6,
.ad-type-requirements h6 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.ad-type-specs p,
.ad-type-requirements p {
    font-size: 0.9rem;
    color: var(--secondary-light);
    margin: 0;
}

.no-data {
    padding: 3rem 1rem;
    text-align: center;
    color: var(--secondary-light);
}

.no-data i {
    margin-bottom: 1rem;
}

/* ========================================
   Types Page Responsive Design
   ======================================== */

/* Hero Section Responsive */
@media (max-width: 1199.98px) {
    .types-hero .hero-title {
        font-size: 3.5rem;
    }
    
    .types-hero .hero-description {
        font-size: 1.2rem;
    }
}

@media (max-width: 991.98px) {
    .types-hero {
        padding-top: 100px;
        text-align: center;
    }
    
    .types-hero .hero-title {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }
    
    .types-hero .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .types-hero .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .types-hero .hero-image {
        margin-top: 2rem;
    }
}

@media (max-width: 767.98px) {
    .types-hero {
        padding-top: 80px;
        min-height: calc(100vh - 60px);
    }
    
    .types-hero .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .types-hero .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .types-hero .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .types-hero .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 575.98px) {
    .types-hero .hero-title {
        font-size: 2rem;
    }
    
    .types-hero .hero-description {
        font-size: 0.95rem;
    }
    
    .types-hero .hero-buttons .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Section Titles Responsive */
@media (max-width: 991.98px) {
    .section-title {
        font-size: 2.25rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
}

/* Cards Responsive Design */
@media (max-width: 1199.98px) {
    .placement-card,
    .performance-card,
    .campaign-card,
    .ad-type-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 991.98px) {
    .placement-card,
    .performance-card,
    .campaign-card,
    .ad-type-card {
        margin-bottom: 1.25rem;
    }
    
    .placement-header,
    .performance-header,
    .campaign-header,
    .ad-type-header {
        padding: 1.25rem;
    }
    
    .placement-content,
    .performance-content,
    .campaign-content,
    .ad-type-content {
        padding: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .placement-card,
    .performance-card,
    .campaign-card,
    .ad-type-card {
        margin-bottom: 1rem;
    }
    
    .placement-header,
    .performance-header,
    .campaign-header,
    .ad-type-header {
        padding: 1rem;
    }
    
    .placement-content,
    .performance-content,
    .campaign-content,
    .ad-type-content {
        padding: 1rem;
    }
    
    .placement-icon,
    .performance-icon,
    .campaign-icon,
    .ad-type-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .placement-header h4,
    .performance-header h4,
    .campaign-header h4,
    .ad-type-header h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 575.98px) {
    .placement-card,
    .performance-card,
    .campaign-card,
    .ad-type-card {
        margin-bottom: 0.75rem;
    }
    
    .placement-header,
    .performance-header,
    .campaign-header,
    .ad-type-header {
        padding: 0.75rem;
    }
    
    .placement-content,
    .performance-content,
    .campaign-content,
    .ad-type-content {
        padding: 0.75rem;
    }
    
    .placement-icon,
    .performance-icon,
    .campaign-icon,
    .ad-type-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .placement-header h4,
    .performance-header h4,
    .campaign-header h4,
    .ad-type-header h4 {
        font-size: 1rem;
    }
}

/* Pricing Responsive */
@media (max-width: 767.98px) {
    .placement-pricing,
    .performance-pricing,
    .campaign-pricing {
        padding: 0.75rem;
    }
    
    .price-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .price-label {
        font-size: 0.85rem;
    }
    
    .price-value {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .placement-pricing,
    .performance-pricing,
    .campaign-pricing {
        padding: 0.5rem;
    }
    
    .price-label {
        font-size: 0.8rem;
    }
    
    .price-value {
        font-size: 0.95rem;
    }
}

/* Features List Responsive */
@media (max-width: 767.98px) {
    .placement-features,
    .performance-features,
    .campaign-features {
        margin-bottom: 1rem;
    }
    
    .placement-features li,
    .performance-features li,
    .campaign-features li {
        padding: 0.25rem 0;
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .placement-features li,
    .performance-features li,
    .campaign-features li {
        font-size: 0.85rem;
    }
}

/* Ad Type Specifications Responsive */
@media (max-width: 767.98px) {
    .ad-type-specs,
    .ad-type-requirements {
        margin-bottom: 0.75rem;
    }
    
    .ad-type-specs h6,
    .ad-type-requirements h6 {
        font-size: 0.85rem;
    }
    
    .ad-type-specs p,
    .ad-type-requirements p {
        font-size: 0.85rem;
    }
}

@media (max-width: 575.98px) {
    .ad-type-specs h6,
    .ad-type-requirements h6 {
        font-size: 0.8rem;
    }
    
    .ad-type-specs p,
    .ad-type-requirements p {
        font-size: 0.8rem;
    }
}

/* Button Responsive */
@media (max-width: 767.98px) {
    .placement-card .btn,
    .performance-card .btn,
    .campaign-card .btn,
    .ad-type-card .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .placement-card .btn,
    .performance-card .btn,
    .campaign-card .btn,
    .ad-type-card .btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
}

/* Section Padding Responsive */
@media (max-width: 1199.98px) {
    .ad-placements-section,
    .performance-ads-section,
    .campaigns-section,
    .ad-types-section {
        padding: 4rem 0;
    }
}

@media (max-width: 991.98px) {
    .ad-placements-section,
    .performance-ads-section,
    .campaigns-section,
    .ad-types-section {
        padding: 3.5rem 0;
    }
}

@media (max-width: 767.98px) {
    .ad-placements-section,
    .performance-ads-section,
    .campaigns-section,
    .ad-types-section {
        padding: 3rem 0;
    }
}

@media (max-width: 575.98px) {
    .ad-placements-section,
    .performance-ads-section,
    .campaigns-section,
    .ad-types-section {
        padding: 2.5rem 0;
    }
}

/* CTA Section Responsive */
@media (max-width: 991.98px) {
    .cta-section {
        padding: 4rem 0;
    }
    
    .cta-content h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .cta-section {
        padding: 3rem 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 575.98px) {
    .cta-section {
        padding: 2.5rem 0;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-content p {
        font-size: 0.95rem;
    }
}

/* No Data State Responsive */
@media (max-width: 767.98px) {
    .no-data {
        padding: 2rem 1rem;
    }
    
    .no-data h4 {
        font-size: 1.25rem;
    }
    
    .no-data p {
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .no-data {
        padding: 1.5rem 0.5rem;
    }
    
    .no-data h4 {
        font-size: 1.1rem;
    }
    
    .no-data p {
        font-size: 0.85rem;
    }
}

/* Animation Delays for Mobile */
@media (max-width: 767.98px) {
    .animate__animated[data-delay] {
        animation-delay: 0s !important;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .placement-card:hover,
    .performance-card:hover,
    .campaign-card:hover,
    .ad-type-card:hover {
        transform: none;
    }
    
    .types-hero .image-container:hover img {
        transform: none;
    }
    
    .placement-card,
    .performance-card,
    .campaign-card,
    .ad-type-card {
        transform: none;
    }
}

/* High DPI Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .types-hero .image-container img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .types-hero .hero-content,
    .types-hero .hero-image {
        animation: none;
    }
    
    .placement-card,
    .performance-card,
    .campaign-card,
    .ad-type-card {
        transition: none;
    }
    
    .types-hero .image-container img {
        transition: none;
    }
}

/* Touch Device Styles */
.touch-device .placement-card:hover,
.touch-device .performance-card:hover,
.touch-device .campaign-card:hover,
.touch-device .ad-type-card:hover {
    transform: none;
}

.touch-device .types-hero .image-container:hover img {
    transform: none;
}

/* Reduced Motion Classes */
.reduced-motion * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
}

/* Enhanced Mobile Navigation (up to 767px) */
@media (max-width: 767.98px) {
    .navbar {
        padding: 0.5rem 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
        min-height: 60px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        border-bottom: 1px solid rgba(239, 123, 26, 0.1);
    }
    
    .navbar-brand {
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        font-weight: 700;
    }
    
    .navbar-brand img {
        height: 32px;
        width: auto;
        margin-right: 0.5rem;
    }
    
    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
        background: transparent;
        border-radius: var(--radius-sm);
        transition: all var(--transition-normal);
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 2px rgba(239, 123, 26, 0.25);
    }
    
    .navbar-toggler:hover {
        background: rgba(239, 123, 26, 0.1);
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        width: 1.5em;
        height: 1.5em;
    }
    
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        margin-top: 0.5rem;
        padding: 1.5rem;
        border-radius: var(--radius-lg);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        position: absolute;
        top: 100%;
        left: 15px;
        right: 15px;
        z-index: 999;
        border: 1px solid rgba(239, 123, 26, 0.1);
        backdrop-filter: blur(20px);
    }
    
    .navbar-nav {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }
    
    .navbar-nav .nav-item {
        margin: 0;
        width: 100%;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        text-align: center;
        border-radius: var(--radius-md);
        transition: all var(--transition-normal);
        font-weight: 500;
        color: var(--secondary-color);
        border: 1px solid transparent;
    }
    
    .navbar-nav .nav-link:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(239, 123, 26, 0.3);
    }
    
    .navbar-nav .nav-link.active {
        background: var(--primary-color);
        color: white;
        border-color: var(--primary-dark);
    }
    
    .navbar-nav .btn {
        width: 100%;
        margin: 0.75rem 0 0 0;
        padding: 0.75rem 1rem;
        font-weight: 600;
        background: var(--primary-gradient);
        border: none;
        color: white;
        border-radius: var(--radius-md);
        transition: all var(--transition-normal);
    }
    
    .navbar-nav .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(239, 123, 26, 0.4);
    }
}

/* Small Mobile Navigation (up to 575px) */
@media (max-width: 575.98px) {
    .navbar {
        padding: 0.4rem 0;
        min-height: 55px;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .navbar-brand img {
        height: 28px;
    }
    
    .navbar-collapse {
        padding: 1rem;
        left: 10px;
        right: 10px;
    }
    
    .navbar-nav .nav-link {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .navbar-nav .btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* Ultra Small Mobile Navigation (up to 360px) */
@media (max-width: 360px) {
    .navbar {
        padding: 0.3rem 0;
        min-height: 50px;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    .navbar-brand img {
        height: 25px;
    }
    
    .navbar-collapse {
        padding: 0.75rem;
        left: 5px;
        right: 5px;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0.6rem;
        font-size: 0.85rem;
    }
    
    .navbar-nav .btn {
        padding: 0.5rem 0.6rem;
        font-size: 0.85rem;
    }
}

/* Mobile body padding for fixed header */
@media (max-width: 767.98px) {
    body {
        padding-top: 60px;
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 480px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .navbar {
        padding: 0.4rem 0;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
}

/* Ultra Small Devices */
@media (max-width: 360px) {
    .types-hero .hero-title {
        font-size: 1.5rem;
        line-height: 1.1;
    }
    
    .types-hero .hero-description {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .placement-card,
    .performance-card,
    .campaign-card,
    .ad-type-card {
        margin-bottom: 0.5rem;
    }
    
    .placement-header,
    .performance-header,
    .campaign-header,
    .ad-type-header {
        padding: 0.5rem;
    }
    
    .placement-content,
    .performance-content,
    .campaign-content,
    .ad-type-content {
        padding: 0.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .cta-section,
    .footer {
        display: none !important;
    }
    
    .types-hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .placement-card,
    .performance-card,
    .campaign-card,
    .ad-type-card {
        break-inside: avoid;
        margin-bottom: 1rem;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Checkout Page Styles */
.checkout-hero {
    background: var(--hero-gradient);
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.feature-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.inquiry-form-container {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(239, 123, 26, 0.1);
}

.inquiry-form .form-label {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.inquiry-form .form-control,
.inquiry-form .form-select {
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    transition: all var(--transition-normal);
}

.inquiry-form .form-control:focus,
.inquiry-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(239, 123, 26, 0.25);
}

.quick-options-section {
    background: var(--light-gray);
}

.quick-option-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    height: 100%;
    border: 2px solid rgba(239, 123, 26, 0.1);
    position: relative;
}

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

.quick-option-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
}

.option-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.quick-option-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.quick-option-card p {
    color: var(--secondary-light);
    margin-bottom: 1.5rem;
}

.option-pricing {
    margin-bottom: 1.5rem;
}

.option-pricing .price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.option-pricing .period {
    font-size: 1rem;
    color: var(--secondary-light);
}

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

.contact-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    height: 100%;
    border: 1px solid rgba(239, 123, 26, 0.1);
}

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

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.contact-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.contact-card p {
    color: var(--secondary-light);
    margin-bottom: 1rem;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.contact-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Form Validation Styles */
.form-control.is-valid {
    border-color: var(--accent-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='m2.3 6.73.94-.94 1.88-1.88L6.7 4.5 5.76 3.56 4.12 5.2 2.3 3.38l-.94.94L4.12 6.7z'/%3e%3c/svg%3e");
}

.form-control.is-invalid {
    border-color: var(--danger-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 4.6 1.4 1.4 1.4-1.4'/%3e%3c/svg%3e");
}

/* Loading States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Lazy Loading */
img.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

img.lazy.loaded {
    opacity: 1;
}

/* ========================================
   Details Page Styles
   ======================================== */

.details-hero {
    background: linear-gradient(135deg, #ef7b1a 0%, #79411c 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.details-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.details-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.details-card .card-header {
    background: linear-gradient(135deg, #ef7b1a 0%, #79411c 100%);
    color: white;
    padding: 20px;
    margin: 0;
    border: none;
}

.details-card .card-header h4 {
    margin: 0;
    font-weight: 600;
    font-size: 1.5rem;
}

.details-card .card-body {
    padding: 30px;
    background: white;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item .label {
    font-weight: 600;
    color: #1d324e;
    font-size: 1rem;
}

.detail-item .value {
    color: #ef7b1a;
    font-weight: 700;
    font-size: 1.1rem;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(239, 123, 26, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ef7b1a 0%, #79411c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.feature-card h4 {
    color: #1d324e;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-card p {
    color: #69798c;
    line-height: 1.6;
}

.breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 20px;
    margin-bottom: 20px;
}

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

.breadcrumb-item a:hover {
    color: white;
}

.breadcrumb-item.active {
    color: white;
}

/* Enhanced Details Page Responsive */
@media (max-width: 768px) {
    .details-hero {
        padding: 2rem 0;
    }
    
    .details-card {
        margin-top: 2rem;
        border-radius: 15px;
    }
    
    .details-card .card-header {
        padding: 15px;
    }
    
    .details-card .card-header h4 {
        font-size: 1.2rem;
    }
    
    .details-card .card-body {
        padding: 20px;
    }
    
    .detail-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        padding: 12px 0;
    }
    
    .detail-item .label {
        font-size: 0.9rem;
        font-weight: 500;
    }
    
    .detail-item .value {
        font-size: 1rem;
        font-weight: 600;
    }
}

@media (max-width: 576px) {
    .details-hero {
        padding: 1.5rem 0;
    }
    
    .details-card {
        margin-top: 1.5rem;
        border-radius: 12px;
    }
    
    .details-card .card-header {
        padding: 12px;
    }
    
    .details-card .card-header h4 {
        font-size: 1.1rem;
    }
    
    .details-card .card-body {
        padding: 15px;
    }
    
    .detail-item {
        padding: 10px 0;
        gap: 6px;
    }
    
    .detail-item .label {
        font-size: 0.85rem;
    }
    
    .detail-item .value {
        font-size: 0.95rem;
    }
}

@media (max-width: 360px) {
    .details-card .card-header {
        padding: 10px;
    }
    
    .details-card .card-header h4 {
        font-size: 1rem;
    }
    
    .details-card .card-body {
        padding: 12px;
    }
    
    .detail-item {
        padding: 8px 0;
        gap: 4px;
    }
    
    .detail-item .label {
        font-size: 0.8rem;
    }
    
    .detail-item .value {
        font-size: 0.9rem;
    }
}

/* ========================================
   Terms and Conditions Page Styles
   ======================================== */

.terms-hero {
    background: var(--hero-gradient);
    color: var(--white);
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0 80px;
}

.terms-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.terms-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.terms-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.terms-hero .hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.last-updated {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
}

.terms-content-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.terms-content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ef7b1a" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.terms-container {
    position: relative;
    z-index: 2;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 2rem 0;
}

/* Table of Contents Sidebar */
.toc-sidebar {
    position: sticky;
    top: 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(239, 123, 26, 0.3);
    margin-bottom: 2rem;
}

.toc-header {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    z-index: 10;
}

.toc-header h3 {
    margin: 0;
    font-weight: 700;
    font-size: 1.25rem;
}

.toc-content {
    padding: 1rem 1.5rem 1.5rem;
}

/* Legacy TOC Card (for mobile) */
.toc-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(239, 123, 26, 0.3);
}

.toc-card .toc-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.toc-card .toc-header h3 {
    margin: 0;
    font-weight: 700;
    font-size: 1.5rem;
}

.toc-card .toc-content {
    padding: 1rem 2rem 2rem;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 0.75rem;
}

.toc-list a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    display: block;
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.toc-list a:hover,
.toc-list a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(8px);
}

/* Terms Sections */
.terms-section {
    padding: 3rem 2.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.terms-section:last-child {
    border-bottom: none;
}

.section-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
    position: relative;
}

.section-header h2 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
}

.section-header h2 i {
    color: var(--primary-color);
    margin-right: 0.75rem;
}

.section-content {
    line-height: 1.8;
    color: var(--secondary-light);
}

.section-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Highlight Boxes */
.highlight-box,
.warning-box,
.terms-note {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #ffeaa7;
    border-radius: 16px;
    padding: 1.5rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.warning-box {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border-color: #f5c6cb;
}

.terms-note {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    border-color: #bee5eb;
}

.highlight-box h4,
.warning-box h4,
.terms-note h4 {
    margin: 0 0 1rem 0;
    color: var(--secondary-color);
    font-weight: 700;
    display: flex;
    align-items: center;
}

.highlight-box h4 i,
.warning-box h4 i,
.terms-note h4 i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(239, 123, 26, 0.1);
    transition: all var(--transition-normal);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(239, 123, 26, 0.15);
    border-color: var(--primary-color);
}

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

.service-content h4 {
    margin: 0 0 0.5rem 0;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.service-content p {
    margin: 0;
    color: var(--secondary-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Obligations List */
.obligations-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.obligation-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary-color);
    transition: all var(--transition-normal);
}

.obligation-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(239, 123, 26, 0.12);
}

.obligation-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.obligation-content h4 {
    margin: 0 0 0.5rem 0;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1rem;
}

.obligation-content p {
    margin: 0;
    color: var(--secondary-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Payment Info Grid */
.payment-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.payment-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(239, 123, 26, 0.1);
    transition: all var(--transition-normal);
}

.payment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(239, 123, 26, 0.15);
    border-color: var(--primary-color);
}

.payment-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.payment-card h4 {
    margin: 0 0 1rem 0;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.25rem;
}

.payment-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.payment-card li {
    padding: 0.5rem 0;
    color: var(--secondary-light);
    border-bottom: 1px solid #f0f0f0;
}

.payment-card li:last-child {
    border-bottom: none;
}

/* Policy Grid */
.policy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.policy-category {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.policy-category h4 {
    margin: 0 0 1rem 0;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.policy-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.policy-category li {
    padding: 0.75rem 0;
    color: var(--secondary-light);
    border-bottom: 1px solid #f8f9fa;
    position: relative;
    padding-left: 1.5rem;
}

.policy-category li:last-child {
    border-bottom: none;
}

.policy-category li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* IP Sections */
.ip-section {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    margin: 1.5rem 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary-color);
}

.ip-section h4 {
    margin: 0 0 1rem 0;
    color: var(--secondary-color);
    font-weight: 700;
    display: flex;
    align-items: center;
}

.ip-section h4 i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* Privacy Highlights */
.privacy-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.privacy-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(239, 123, 26, 0.1);
}

.privacy-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.privacy-item h4 {
    margin: 0 0 0.5rem 0;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1rem;
}

.privacy-item p {
    margin: 0;
    color: var(--secondary-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Liability Notice */
.liability-notice {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 1px solid #f5c6cb;
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
}

.liability-notice h4 {
    margin: 0 0 1rem 0;
    color: var(--secondary-color);
    font-weight: 700;
    display: flex;
    align-items: center;
}

.liability-notice h4 i {
    margin-right: 0.5rem;
    color: #dc3545;
}

.liability-limits {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    margin: 1.5rem 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.liability-limits h4 {
    margin: 0 0 1rem 0;
    color: var(--secondary-color);
    font-weight: 700;
}

.liability-limits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.liability-limits li {
    padding: 0.75rem 0;
    color: var(--secondary-light);
    border-bottom: 1px solid #f8f9fa;
    position: relative;
    padding-left: 1.5rem;
}

.liability-limits li:last-child {
    border-bottom: none;
}

.liability-limits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.disclaimer {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    margin: 1.5rem 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(239, 123, 26, 0.1);
}

.disclaimer h4 {
    margin: 0 0 1rem 0;
    color: var(--secondary-color);
    font-weight: 700;
    display: flex;
    align-items: center;
}

.disclaimer h4 i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* Termination Options */
.termination-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.termination-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(239, 123, 26, 0.1);
    transition: all var(--transition-normal);
}

.termination-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(239, 123, 26, 0.12);
}

.termination-card h4 {
    margin: 0 0 1rem 0;
    color: var(--secondary-color);
    font-weight: 700;
    display: flex;
    align-items: center;
}

.termination-card h4 i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.termination-effects {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    margin: 1.5rem 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.termination-effects h4 {
    margin: 0 0 1rem 0;
    color: var(--secondary-color);
    font-weight: 700;
    display: flex;
    align-items: center;
}

.termination-effects h4 i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.termination-effects ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.termination-effects li {
    padding: 0.75rem 0;
    color: var(--secondary-light);
    border-bottom: 1px solid #f8f9fa;
    position: relative;
    padding-left: 1.5rem;
}

.termination-effects li:last-child {
    border-bottom: none;
}

.termination-effects li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Modification Process */
.modification-notice {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    margin: 1.5rem 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary-color);
}

.modification-notice h4 {
    margin: 0 0 1rem 0;
    color: var(--secondary-color);
    font-weight: 700;
    display: flex;
    align-items: center;
}

.modification-notice h4 i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.modification-process {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    margin: 1.5rem 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.modification-process h4 {
    margin: 0 0 1rem 0;
    color: var(--secondary-color);
    font-weight: 700;
}

.modification-process ol {
    padding-left: 1.5rem;
    margin: 0;
}

.modification-process li {
    padding: 0.5rem 0;
    color: var(--secondary-light);
    line-height: 1.6;
}

/* Legal Info */
.legal-info,
.dispute-resolution {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    margin: 1.5rem 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(239, 123, 26, 0.1);
}

.legal-info h4,
.dispute-resolution h4 {
    margin: 0 0 1rem 0;
    color: var(--secondary-color);
    font-weight: 700;
    display: flex;
    align-items: center;
}

.legal-info h4 i,
.dispute-resolution h4 i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* Contact Info Grid */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(239, 123, 26, 0.1);
    transition: all var(--transition-normal);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(239, 123, 26, 0.15);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.contact-card h4 {
    margin: 0 0 0.5rem 0;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.contact-card p {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
}

.contact-card small {
    color: var(--secondary-light);
    font-size: 0.85rem;
}

.contact-note {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    margin: 1.5rem 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--accent-color);
}

.contact-note h4 {
    margin: 0 0 1rem 0;
    color: var(--secondary-color);
    font-weight: 700;
    display: flex;
    align-items: center;
}

.contact-note h4 i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

/* Agreement Section - Full Width */
.agreement-section-full {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.agreement-section-full::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.agreement-card-full {
    background: rgba(255, 255, 255, 0.95);
    color: var(--secondary-color);
    border-radius: 24px;
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
    margin: 2rem 0;
}

/* Legacy Agreement Section (for reference) */
.agreement-section {
    margin-top: 3rem;
}

.agreement-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(239, 123, 26, 0.3);
}

.agreement-header h3 {
    margin: 0 0 1.5rem 0;
    font-weight: 700;
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
}

.agreement-header h3 i {
    margin-right: 0.75rem;
    color: var(--primary-color);
}

.agreement-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--secondary-light);
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.agreement-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.agreement-actions .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all var(--transition-normal);
}

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

.agreement-actions .btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 123, 26, 0.4);
}

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

.agreement-actions .btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 123, 26, 0.3);
}

/* Responsive Design for Terms Page */
@media (max-width: 1199.98px) {
    .terms-hero {
        min-height: 50vh;
        padding: 90px 0 60px;
    }
    
    .terms-hero .hero-title {
        font-size: 3rem;
    }
    
    .terms-hero .hero-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 991.98px) {
    .terms-hero {
        min-height: 45vh;
        padding: 80px 0 50px;
    }
    
    .terms-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .terms-hero .hero-description {
        font-size: 1rem;
    }
    
    .hero-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .terms-section {
        padding: 2rem 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .services-grid,
    .obligations-list,
    .payment-info-grid,
    .policy-grid,
    .privacy-highlights,
    .termination-options,
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    /* Hide sidebar TOC on tablet and show as card */
    .toc-sidebar {
        position: static;
        margin-bottom: 2rem;
    }
    
    .toc-sidebar .toc-header {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .terms-hero {
        min-height: 40vh;
        padding: 70px 0 40px;
    }
    
    .terms-hero .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .terms-hero .hero-description {
        font-size: 0.95rem;
    }
    
    .terms-container {
        margin: 1rem 0;
        border-radius: 16px;
    }
    
    .terms-section {
        padding: 1.5rem 1rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .toc-header,
    .toc-content {
        padding: 1rem;
    }
    
    .toc-header h3 {
        font-size: 1.25rem;
    }
    
    .service-item,
    .obligation-item,
    .payment-card,
    .policy-category,
    .privacy-item,
    .termination-card,
    .contact-card {
        padding: 1.25rem;
    }
    
    .agreement-card {
        padding: 2rem 1.5rem;
    }
    
    .agreement-card-full {
        padding: 3rem 2rem;
        margin: 1rem 0;
    }
    
    .agreement-header h3 {
        font-size: 1.5rem;
    }
    
    .agreement-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .agreement-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .agreement-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 575.98px) {
    .terms-hero {
        min-height: 35vh;
        padding: 60px 0 30px;
    }
    
    .terms-hero .hero-title {
        font-size: 1.75rem;
    }
    
    .terms-hero .hero-description {
        font-size: 0.9rem;
    }
    
    .terms-section {
        padding: 1rem 0.75rem;
    }
    
    .section-header h2 {
        font-size: 1.25rem;
    }
    
    .section-content p {
        font-size: 1rem;
    }
    
    .highlight-box,
    .warning-box,
    .terms-note,
    .liability-notice,
    .ip-section,
    .liability-limits,
    .disclaimer,
    .termination-effects,
    .modification-notice,
    .modification-process,
    .legal-info,
    .dispute-resolution,
    .contact-note {
        padding: 1.25rem;
    }
    
    .service-item,
    .obligation-item,
    .payment-card,
    .policy-category,
    .privacy-item,
    .termination-card,
    .contact-card {
        padding: 1rem;
    }
    
    .service-icon,
    .obligation-icon,
    .payment-icon,
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .agreement-card {
        padding: 1.5rem 1rem;
    }
    
    .agreement-card-full {
        padding: 2rem 1.5rem;
        margin: 0.5rem 0;
    }
    
    .agreement-header h3 {
        font-size: 1.25rem;
    }
    
    .agreement-content p {
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .terms-hero {
        min-height: 30vh;
        padding: 50px 0 25px;
    }
    
    .terms-hero .hero-title {
        font-size: 1.5rem;
    }
    
    .terms-hero .hero-description {
        font-size: 0.85rem;
    }
    
    .terms-section {
        padding: 0.75rem 0.5rem;
    }
    
    .section-header h2 {
        font-size: 1.1rem;
    }
    
    .section-content p {
        font-size: 0.95rem;
    }
    
    .highlight-box,
    .warning-box,
    .terms-note,
    .liability-notice,
    .ip-section,
    .liability-limits,
    .disclaimer,
    .termination-effects,
    .modification-notice,
    .modification-process,
    .legal-info,
    .dispute-resolution,
    .contact-note {
        padding: 1rem;
    }
    
    .service-item,
    .obligation-item,
    .payment-card,
    .policy-category,
    .privacy-item,
    .termination-card,
    .contact-card {
        padding: 0.75rem;
    }
    
    .agreement-card {
        padding: 1rem 0.75rem;
    }
}

/* Print Styles for Terms */
@media print {
    .navbar,
    .footer,
    .toc-card,
    .agreement-section {
        display: none !important;
    }
    
    .terms-hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .terms-container {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .terms-section {
        break-inside: avoid;
        margin-bottom: 2rem;
    }
    
    .highlight-box,
    .warning-box,
    .terms-note {
        background: #f8f9fa !important;
        border: 1px solid #ddd !important;
    }
}

/* ========================================
   Checkout & Payment Page Styles
   ======================================== */

.selected-ad-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.selected-ad-card .card-header {
    background: linear-gradient(135deg, #ef7b1a 0%, #79411c 100%);
    color: white;
    padding: 20px;
    margin: 0;
    border: none;
}

.selected-ad-card .card-header h4 {
    margin: 0;
    font-weight: 600;
    font-size: 1.5rem;
}

.selected-ad-card .card-body {
    padding: 30px;
    background: white;
}

.ad-name {
    color: #1d324e;
    font-weight: 600;
    margin-bottom: 10px;
}

.ad-description {
    color: #69798c;
    margin-bottom: 20px;
}

.ad-details {
    margin-bottom: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row .label {
    font-weight: 600;
    color: #1d324e;
}

.detail-row .value {
    color: #ef7b1a;
    font-weight: 700;
}

.total-amount {
    background: linear-gradient(135deg, #ef7b1a 0%, #79411c 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.amount-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.checkout-form-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.checkout-form-card .card-header {
    background: linear-gradient(135deg, #ef7b1a 0%, #79411c 100%);
    color: white;
    padding: 30px;
    border: none;
}

.checkout-form-card .card-header h3 {
    margin: 0;
    font-weight: 600;
}

.checkout-form-card .card-body {
    padding: 40px;
}

.form-label {
    font-weight: 600;
    color: #1d324e;
    margin-bottom: 8px;
}

.form-control {
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #ef7b1a;
    box-shadow: 0 0 0 0.2rem rgba(239, 123, 26, 0.25);
}

.payment-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.payment-card .card-header {
    background: linear-gradient(135deg, #ef7b1a 0%, #79411c 100%);
    color: white;
    padding: 30px;
    border: none;
}

.payment-card .card-header h2 {
    margin: 0;
    font-weight: 600;
}

.order-summary, .payment-amount {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.order-summary h4, .payment-amount h4 {
    color: #1d324e;
    font-weight: 600;
    margin-bottom: 20px;
}

.amount-breakdown {
    margin-bottom: 20px;
}

.amount-row.total {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ef7b1a;
}

.payment-methods h5 {
    color: #1d324e;
    font-weight: 600;
    margin-bottom: 15px;
}

.payment-icons {
    display: flex;
    gap: 15px;
    font-size: 2rem;
    color: #69798c;
}

.success-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 50px;
    margin: 50px 0;
}

.success-icon {
    font-size: 5rem;
    color: #28a745;
    margin-bottom: 30px;
}

.success-title {
    color: #1d324e;
    font-weight: 700;
    margin-bottom: 20px;
}

.success-message {
    color: #69798c;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.order-details {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
}

.order-details h4 {
    color: #1d324e;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.detail-item .label {
    font-weight: 600;
    color: #1d324e;
}

.detail-item .value {
    color: #ef7b1a;
    font-weight: 700;
}

.status-paid {
    background: #28a745;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.next-steps {
    margin-bottom: 40px;
}

.next-steps h4 {
    color: #1d324e;
    font-weight: 600;
    margin-bottom: 30px;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

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

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ef7b1a 0%, #79411c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content h5 {
    color: #1d324e;
    font-weight: 600;
    margin-bottom: 5px;
}

.step-content p {
    color: #69798c;
    margin: 0;
}

.action-buttons {
    margin-bottom: 40px;
}

.contact-info {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.contact-info h5 {
    color: #1d324e;
    font-weight: 600;
    margin-bottom: 15px;
}

.contact-info p {
    color: #69798c;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .selected-ad-card {
        margin-top: 30px;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
    }
    
    .step-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .success-card {
        padding: 30px 20px;
        margin: 20px 0;
    }
    
    .checkout-form-card .card-body {
        padding: 30px 20px;
    }
    
    /* Breadcrumb margin-top for tablet view */
    .breadcrumb {
        margin-top: 20px;
    }
}
