/* UK Repair Team - Modern Creative Design */
:root {
    --uk-navy: #012169;
    --uk-red: #C8102E;
    --uk-white: #FFFFFF;
    --light-gray: #f8f9fa;
    --dark-gray: #1a1a1a;
    --success-green: #00d4aa;
    --warning-orange: #ff6b35;
    --danger-red: #ff4757;
    --gradient-primary: linear-gradient(135deg, #012169 0%, #1e3a8a 50%, #3b82f6 100%);
    --gradient-secondary: linear-gradient(135deg, #C8102E 0%, #ef4444 50%, #f97316 100%);
    --gradient-hero: linear-gradient(135deg, #012169 0%, #1e40af 25%, #3b82f6 50%, #60a5fa 75%, #93c5fd 100%);
    --shadow-light: 0 4px 20px rgba(1, 33, 105, 0.1);
    --shadow-medium: 0 8px 40px rgba(1, 33, 105, 0.15);
    --shadow-heavy: 0 16px 60px rgba(1, 33, 105, 0.2);
    --shadow-glow: 0 0 30px rgba(200, 16, 46, 0.3);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 16px;
    --border-radius-lg: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--dark-gray);
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    scroll-behavior: smooth;
    overflow-x: hidden;
    font-size: 16px;
}

/* Global animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: var(--shadow-light);
    }
    50% {
        transform: scale(1.02);
        box-shadow: var(--shadow-medium);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(200, 16, 46, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(200, 16, 46, 0.6);
    }
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    0%, 50% {
        border-color: transparent;
    }
    51%, 100% {
        border-color: var(--uk-red);
    }
}

/* Global element animations */
.hero, .card, .plan-card, .feature-item {
    animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
    animation: typing 3s steps(40, end), blink 0.75s step-end infinite;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid var(--uk-red);
}

/* Header and Navigation */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(1, 33, 105, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(1, 33, 105, 0.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--uk-navy);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-medium);
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left var(--transition-medium);
    z-index: -1;
}

.logo:hover::before {
    left: 0;
}

.logo:hover {
    color: var(--uk-white);
    transform: translateY(-2px);
}

.logo i {
    font-size: 2rem;
    color: var(--uk-red);
    transition: all var(--transition-medium);
}

.logo:hover i {
    color: var(--uk-white);
    transform: rotate(360deg);
}

nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: var(--uk-navy);
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    background: transparent;
    border: 1px solid transparent;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left var(--transition-medium);
    z-index: -1;
}

.nav-menu a:hover::before {
    left: 0;
}

.nav-menu a:hover {
    color: var(--uk-white);
    transform: translateY(-2px);
    border-color: rgba(1, 33, 105, 0.2);
    box-shadow: 0 4px 12px rgba(1, 33, 105, 0.2);
}

.nav-menu a i {
    margin-right: 0.5rem;
    transition: transform var(--transition-medium);
}

.nav-menu a:hover i {
    transform: scale(1.2);
}

.nav-menu a.btn {
    background: linear-gradient(135deg, #C8102E, #ef4444);
    color: white;
    border: 1px solid #C8102E;
    font-weight: 700;
}

.nav-menu a.btn:hover {
    background: linear-gradient(135deg, #012169, #1e3a8a);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(1, 33, 105, 0.3);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--uk-navy);
    cursor: pointer;
    padding: 0.75rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-medium);
    border: 2px solid var(--uk-navy);
}

.mobile-menu-toggle:hover {
    background: var(--uk-navy);
    color: var(--uk-white);
    transform: scale(1.1);
}

.mobile-menu-toggle.active {
    background: #C8102E;
    color: white;
    border-color: #C8102E;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
        position: relative;
    }
    
    .nav {
    display: flex;
    align-items: center;
}

/* Desktop navigation display */
.nav-menu {
    display: flex;
}
    
    .mobile-menu-toggle {
        display: block !important;
        background: none;
        border: 2px solid var(--uk-navy);
        color: var(--uk-navy);
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.75rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    .mobile-menu-toggle:hover {
        background: var(--uk-navy);
        color: white;
    }
    
    .mobile-menu-toggle.active {
        background: #C8102E;
        color: white;
        border-color: #C8102E;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem 1rem;
        gap: 0.75rem;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        box-shadow: 0 16px 60px rgba(1, 33, 105, 0.2);
        border-radius: 0 0 24px 24px;
        z-index: 999;
        max-height: calc(100vh - 100%);
        overflow-y: auto;
        border-top: 2px solid rgba(1, 33, 105, 0.1);
        display: flex;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-menu li {
        width: 100%;
        margin: 0;
        padding: 0;
        opacity: 1;
        visibility: visible;
        display: block;
    }
    
    .nav-menu a {
        padding: 1rem 1.5rem;
        text-align: center;
        border-radius: 12px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        color: var(--uk-navy);
        background: transparent;
        border: 2px solid rgba(1, 33, 105, 0.1);
        font-weight: 600;
        margin-bottom: 0.5rem;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover {
        background: transparent;
        color: var(--uk-navy);
        transform: translateY(-2px);
        border-color: rgba(1, 33, 105, 0.3);
        box-shadow: 0 4px 12px rgba(1, 33, 105, 0.15);
    }
    
    .nav-menu a.btn {
        background: linear-gradient(135deg, #C8102E, #ef4444);
        color: white;
        font-weight: 700;
        border: 2px solid #C8102E;
    }
    
    .nav-menu a.btn:hover {
        background: linear-gradient(135deg, #012169, #1e3a8a);
        border-color: #012169;
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(1, 33, 105, 0.3);
    }
    
    /* Ensure all navigation items are visible */
    .nav-menu li {
        opacity: 1;
        visibility: visible;
        display: block;
    }
    
    /* Make sure the dropdown shows all items */
    .nav-menu.active li {
        animation: slideInDown 0.3s ease forwards;
    }
    
    .nav-menu.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { animation-delay: 0.4s; }
    .nav-menu.active li:nth-child(5) { animation-delay: 0.5s; }
    .nav-menu.active li:nth-child(6) { animation-delay: 0.6s; }
    .nav-menu.active li:nth-child(7) { animation-delay: 0.7s; }
    
    /* Hide desktop navigation on mobile */
    .nav-menu {
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.75rem;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .logo i {
        font-size: 1.5rem;
    }
    
    .nav-menu {
        padding: 1.5rem 0.75rem;
    }
    
    .nav-menu a {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
    }
    
    .mobile-menu-toggle {
        padding: 0.5rem;
        font-size: 1.25rem;
    }
}

@media (max-width: 360px) {
    .nav-container {
        padding: 0.5rem;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .logo i {
        font-size: 1.25rem;
    }
    
    .nav-menu {
        padding: 1rem 0.5rem;
    }
    
    .nav-menu a {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
    
    .mobile-menu-toggle {
        padding: 0.375rem;
        font-size: 1.1rem;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    color: var(--uk-white);
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.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"><defs><pattern id="hero-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23hero-pattern)"/></svg>');
    pointer-events: none;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    word-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    overflow-wrap: break-word;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    background: var(--gradient-primary);
    color: var(--uk-white);
}

.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 var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn-primary {
    background: var(--gradient-primary);
}

.btn-primary:hover {
    background: var(--gradient-secondary);
}

.btn-secondary {
    background: var(--gradient-secondary);
}

.btn-secondary:hover {
    background: var(--gradient-primary);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--uk-white);
    color: var(--uk-white);
}

.btn-outline:hover {
    background: var(--uk-white);
    color: var(--uk-navy);
}

/* Cards */
.card {
    background: var(--uk-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-medium);
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.card-header {
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--uk-navy);
    margin-bottom: 0.5rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--uk-navy);
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all var(--transition-medium);
    background: var(--uk-white);
}

.form-control:focus {
    outline: none;
    border-color: var(--uk-navy);
    box-shadow: 0 0 0 3px rgba(1, 33, 105, 0.1);
    transform: translateY(-2px);
}

.form-error {
    color: var(--danger-red);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Plans Grid */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.plan-card {
    background: var(--uk-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-medium);
    z-index: -1;
}

.plan-card:hover::before {
    opacity: 0.05;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.plan-card.featured {
    border: 3px solid var(--uk-red);
    transform: scale(1.05);
}

.plan-card.featured::before {
    background: var(--gradient-secondary);
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--uk-navy);
    margin: 1rem 0;
}

.plan-price .currency {
    font-size: 1.5rem;
    vertical-align: top;
}

/* Addon Items */
.addon-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--uk-white);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
}

.addon-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-medium);
}

.addon-info {
    flex: 1;
}

.addon-name {
    font-weight: 600;
    color: var(--uk-navy);
    margin-bottom: 0.25rem;
}

.addon-price {
    color: var(--uk-red);
    font-weight: 600;
}

.addon-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--uk-navy);
    color: var(--uk-white);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-medium);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: var(--uk-red);
    transform: scale(1.1);
}

.quantity-input {
    width: 50px;
    text-align: center;
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius);
    padding: 0.5rem;
}

/* Total Section */
.total-section {
    background: var(--uk-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: var(--shadow-light);
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.total-final {
    border-top: 2px solid var(--uk-navy);
    padding-top: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--uk-navy);
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
}

.status-pending {
    background: var(--warning-orange);
    color: var(--uk-white);
}

.status-approved {
    background: var(--success-green);
    color: var(--uk-white);
}

.status-rejected {
    background: var(--danger-red);
    color: var(--uk-white);
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--uk-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.table th,
.table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.table th {
    background: var(--uk-navy);
    color: var(--uk-white);
    font-weight: 600;
}

.table tr:hover {
    background: #f8f9fa;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    border-left: 4px solid;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.alert-success {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border-left-color: var(--success-green);
    color: #065f46;
}

.alert-error {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    border-left-color: var(--danger-red);
    color: #991b1b;
}

.alert-warning {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-left-color: var(--warning-orange);
    color: #92400e;
}

/* Footer */
.footer {
    background: var(--uk-navy);
    color: var(--uk-white);
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer::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="footer-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.05"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.05"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-pattern)"/></svg>');
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    color: var(--uk-red);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--uk-white);
    text-decoration: none;
    transition: all var(--transition-medium);
    position: relative;
}

.footer-section a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--uk-red);
    transition: width var(--transition-medium);
}

.footer-section a:hover::after {
    width: 100%;
}

.footer-section a:hover {
    color: var(--uk-red);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Feature Items */
.feature-item {
    background: var(--uk-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-medium);
    z-index: -1;
}

.feature-item:hover::before {
    opacity: 0.05;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    font-size: 3rem;
    color: var(--uk-red);
    margin-bottom: 1rem;
    transition: all var(--transition-medium);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-item h3 {
    font-size: 1.5rem;
    color: var(--uk-navy);
    margin-bottom: 1rem;
}

.feature-item p {
    color: #6b7280;
    line-height: 1.6;
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--uk-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* Animation Classes */
.animate-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Navigation animations */
.nav-menu li {
    opacity: 0;
    animation: slideInFromTop 0.5s ease-out forwards;
}

.nav-menu li:nth-child(1) { animation-delay: 0.1s; }
.nav-menu li:nth-child(2) { animation-delay: 0.2s; }
.nav-menu li:nth-child(3) { animation-delay: 0.3s; }
.nav-menu li:nth-child(4) { animation-delay: 0.4s; }
.nav-menu li:nth-child(5) { animation-delay: 0.5s; }

.nav-menu li.animate-in {
    opacity: 1;
}

/* Character Counter */
.char-counter {
    font-size: 0.875rem;
    color: #6b7280;
    text-align: right;
    margin-top: 0.25rem;
}

/* Form Focus Effects */
.form-group {
    position: relative;
}

.form-group.focused .form-label {
    color: var(--uk-navy);
    transform: translateY(-1.5rem) scale(0.9);
}

.form-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: #6b7280;
    transition: all var(--transition-medium);
    pointer-events: none;
    background: var(--uk-white);
    padding: 0 0.5rem;
}

/* Comprehensive Responsive Design Improvements */

/* Enhanced Mobile Navigation */
@media (max-width: 768px) {
    .nav-container {
        padding: 0.75rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo i {
        font-size: 1.4rem;
    }
    
    .mobile-menu-toggle {
        display: block;
        padding: 0.5rem;
        font-size: 1.2rem;
        border: 2px solid var(--uk-navy);
        border-radius: 8px;
        background: transparent;
        color: var(--uk-navy);
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle:hover {
        background: var(--uk-navy);
        color: white;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1.5rem 1rem;
        gap: 0.75rem;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        box-shadow: 0 16px 60px rgba(1, 33, 105, 0.2);
        border-radius: 0 0 24px 24px;
        z-index: 999;
        max-height: calc(100vh - 100%);
        overflow-y: auto;
        border-top: 2px solid rgba(1, 33, 105, 0.1);
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-menu li {
        width: 100%;
        margin: 0;
        padding: 0;
        opacity: 1;
        visibility: visible;
        display: block;
    }
    
    .nav-menu a {
        padding: 1rem 1.25rem;
        text-align: center;
        border-radius: 12px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        color: var(--uk-navy);
        background: transparent;
        border: 2px solid rgba(1, 33, 105, 0.1);
        font-weight: 600;
        margin-bottom: 0.5rem;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover {
        background: transparent;
        color: var(--uk-navy);
        transform: translateY(-2px);
        border-color: rgba(1, 33, 105, 0.3);
        box-shadow: 0 4px 12px rgba(1, 33, 105, 0.15);
    }
    
    .nav-menu a.btn {
        background: linear-gradient(135deg, #C8102E, #ef4444);
        color: white;
        font-weight: 700;
        border: 2px solid #C8102E;
    }
    
    .nav-menu a.btn:hover {
        background: linear-gradient(135deg, #012169, #1e3a8a);
        border-color: #012169;
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(1, 33, 105, 0.3);
    }
    
    /* Make sure the dropdown shows all items */
    .nav-menu.active li {
        animation: slideInDown 0.3s ease forwards;
    }
    
    .nav-menu.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { animation-delay: 0.4s; }
    .nav-menu.active li:nth-child(5) { animation-delay: 0.5s; }
    .nav-menu.active li:nth-child(6) { animation-delay: 0.6s; }
    .nav-menu.active li:nth-child(7) { animation-delay: 0.7s; }
    
    /* Ensure proper spacing for all navigation items */
    .nav-menu li:last-child {
        margin-bottom: 0;
    }
    
    .nav-menu a:last-child {
        margin-bottom: 0;
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Tablet Responsiveness */
@media (max-width: 1024px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 3rem 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .card {
        padding: 1.5rem;
    }
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 480px) {
    .nav-container {
        padding: 0.5rem;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .logo i {
        font-size: 1.25rem;
    }
    
    .nav-menu {
        padding: 1rem 0.75rem;
    }
    
    .nav-menu a {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .mobile-menu-toggle {
        padding: 0.375rem;
        font-size: 1.1rem;
    }
    
    .hero {
        padding: 2rem 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .card {
        padding: 1rem;
    }
    
    .card h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Enhanced Small Mobile Responsiveness */
@media (max-width: 360px) {
    .nav-container {
        padding: 0.375rem;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    .logo i {
        font-size: 1.1rem;
    }
    
    .nav-menu {
        padding: 0.75rem 0.5rem;
    }
    
    .nav-menu a {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
    }
    
    .mobile-menu-toggle {
        padding: 0.25rem;
        font-size: 1rem;
    }
    
    /* Hero Section Extra Small Mobile Improvements */
    .hero {
        padding: 1.5rem 0.75rem;
        min-height: 45vh;
        width: 100%;
        overflow-wrap: break-word;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
        word-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
    }
    
    .hero p {
        font-size: 0.95rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        max-width: 260px;
        gap: 0.5rem;
    }
    
    .hero-buttons .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Extra Small Mobile Devices (320px and below) */
@media (max-width: 320px) {
    .hero {
        padding: 1rem 0.5rem;
        min-height: 40vh;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
        word-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
    }
    
    .hero p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
    }
    
    .hero-buttons {
        max-width: 240px;
        gap: 0.5rem;
    }
    
    .hero-buttons .btn {
        padding: 0.625rem 1rem;
        font-size: 0.85rem;
    }
    
    /* Services Overview Extra Small Mobile Improvements */
    .services-overview {
        padding: 1rem 0.75rem;
    }
    
    .plan-card {
        padding: 1rem;
    }
    
    .plan-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .plan-price {
        font-size: 1.5rem;
        margin: 0.5rem 0;
    }
    
    .plan-card ul {
        margin: 1rem 0;
    }
    
    .plan-card li {
        margin-bottom: 0.4rem;
        font-size: 0.85rem;
    }
    
    /* Features Grid Extra Small Mobile Improvements */
    .feature-item {
        padding: 0.75rem;
    }
    
    .feature-icon {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-item h3 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
    
    .feature-item p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    /* CTA Section Extra Small Mobile Improvements */
    .cta-section {
        padding: 1rem 0.75rem;
    }
    
    .cta-buttons {
        max-width: 260px;
        gap: 0.5rem;
    }
    
    .cta-buttons .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    /* General Card Improvements */
    .card {
        padding: 0.875rem;
    }
    
    .card h2 {
        font-size: 1.25rem;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Enhanced Form Responsiveness */
@media (max-width: 768px) {
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-control {
        padding: 0.875rem;
        font-size: 1rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-actions .btn {
        width: 100%;
    }
    
    .alert {
        padding: 1rem;
        font-size: 0.95rem;
    }
}

/* Enhanced Table Responsiveness */
@media (max-width: 768px) {
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .table {
        min-width: 600px;
        font-size: 0.9rem;
    }
    
    .table th,
    .table td {
        padding: 0.75rem 0.5rem;
        white-space: nowrap;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .action-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

/* Enhanced Card Responsiveness */
@media (max-width: 768px) {
    .card {
        margin-bottom: 1rem;
    }
    
    .card-header {
        padding: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1.25rem;
    }
}

/* Enhanced Footer Responsiveness */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section h3 {
        font-size: 1.25rem;
    }
    
    .footer-section ul {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Enhanced Modal Responsiveness */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .modal-footer {
        padding: 1rem;
        flex-direction: column;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
}

/* Enhanced Subscription Page Responsiveness */
@media (max-width: 768px) {
    .plan-option {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .plan-details ul {
        margin-top: 0.75rem;
    }
    
    .plan-details li {
        margin-bottom: 0.375rem;
        font-size: 0.95rem;
    }
    
    .addon-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .addon-info {
        width: 100%;
        justify-content: space-between;
    }
    
    .quantity-control {
        width: 100%;
        justify-content: center;
    }
    
    .total-section {
        font-size: 0.95rem;
    }
}

/* Enhanced Admin Dashboard Responsiveness */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-icon {
        font-size: 1.5rem;
    }
    
    .stat-content h3 {
        font-size: 1.5rem;
    }
    
    .stat-content p {
        font-size: 0.9rem;
    }
    
    .admin-header h1 {
        font-size: 1.75rem;
    }
    
    .admin-header p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 0.875rem;
    }
    
    .stat-content h3 {
        font-size: 1.25rem;
    }
    
    .admin-header h1 {
        font-size: 1.5rem;
    }
}

/* Enhanced User Dashboard Responsiveness */
@media (max-width: 768px) {
    .dashboard-header h1 {
        font-size: 1.75rem;
    }
    
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .subscription-details {
        flex-direction: column;
        gap: 1rem;
    }
    
    .addon-list {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        padding: 0.875rem;
    }
    
    .stat-value {
        font-size: 1.25rem;
    }
}

/* Enhanced Login/Register Page Responsiveness */
@media (max-width: 768px) {
    .simple-login-container,
    .register-container,
    .admin-login-container {
        padding: 1rem;
    }
    
    .simple-login-card,
    .register-card,
    .admin-login-card {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .simple-login-header h1,
    .register-header h1,
    .admin-login-header h1 {
        font-size: 1.75rem;
    }
    
    .simple-form-group,
    .register-form-group,
    .admin-form-group {
        margin-bottom: 1rem;
    }
    
    .simple-form-control,
    .register-form-control,
    .admin-form-control {
        padding: 0.875rem;
        font-size: 1rem;
    }
    
    .simple-login-btn,
    .register-btn,
    .admin-login-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .simple-login-card,
    .register-card,
    .admin-login-card {
        padding: 1rem;
    }
    
    .simple-login-header h1,
    .register-header h1,
    .admin-login-header h1 {
        font-size: 1.5rem;
    }
    
    .simple-form-control,
    .register-form-control,
    .admin-form-control {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
    
    .simple-login-btn,
    .register-btn,
    .admin-login-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* Enhanced Contact Page Responsiveness */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-form h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 1rem;
    }
    
    .contact-form h2 {
        font-size: 1.25rem;
    }
    
    .contact-info h2 {
        font-size: 1.25rem;
    }
}

/* Enhanced About Page Responsiveness */
@media (max-width: 768px) {
    .about-content {
        padding: 1.5rem;
    }
    
    .about-content h1 {
        font-size: 1.75rem;
    }
    
    .about-content h2 {
        font-size: 1.5rem;
    }
    
    .about-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .about-content {
        padding: 1rem;
    }
    
    .about-content h1 {
        font-size: 1.5rem;
    }
    
    .about-content h2 {
        font-size: 1.25rem;
    }
    
    .about-content p {
        font-size: 0.9rem;
    }
}

/* Enhanced Terms/Privacy Page Responsiveness */
@media (max-width: 768px) {
    .legal-content {
        padding: 1.5rem;
    }
    
    .legal-content h1 {
        font-size: 1.75rem;
    }
    
    .legal-content h2 {
        font-size: 1.5rem;
    }
    
    .legal-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .legal-content {
        padding: 1rem;
    }
    
    .legal-content h1 {
        font-size: 1.5rem;
    }
    
    .legal-content h2 {
        font-size: 1.25rem;
    }
    
    .legal-content p {
        font-size: 0.9rem;
    }
}

/* Enhanced Print Styles */
@media print {
    .header,
    .footer,
    .mobile-menu-toggle,
    .btn,
    .action-buttons {
        display: none !important;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    .page-break {
        page-break-before: always;
    }
}

/* Enhanced Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Enhanced High Contrast Mode */
@media (prefers-contrast: high) {
    .btn {
        border: 2px solid currentColor;
    }
    
    .card {
        border: 2px solid #000;
    }
    
    .nav-menu a {
        border: 2px solid currentColor;
    }
}

/* Enhanced Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --uk-white: #1a1a1a;
        --uk-navy: #ffffff;
        --uk-red: #ff6b6b;
    }
    
    body {
        background-color: #1a1a1a;
        color: #ffffff;
    }
    
    .card {
        background-color: #2a2a2a;
        border-color: #3a3a3a;
    }
    
    .form-control {
        background-color: #2a2a2a;
        border-color: #3a3a3a;
        color: #ffffff;
    }
    
    .table {
        background-color: #2a2a2a;
    }
    
    .table th,
    .table td {
        border-color: #3a3a3a;
    }
}

/* Enhanced Mobile Responsiveness for Hero and Services Sections */
@media (max-width: 768px) {
    /* Hero Section Mobile Improvements */
    .hero {
        padding: 2.5rem 1rem;
        min-height: 50vh;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        word-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
        overflow-wrap: break-word;
        text-align: center;
        white-space: normal;
        word-break: break-word;
    }
    
    .hero p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        max-width: 100%;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Services Overview Mobile Improvements */
    .services-overview {
        padding: 1.5rem 1rem;
    }
    
    .services-overview .card {
        margin: 0;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        padding: 1rem;
    }
    
    .services-overview .card h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1rem 0;
    }
    
    .plan-card {
        padding: 1.25rem;
        margin: 0;
        border-radius: 8px;
        text-align: center;
        background: var(--uk-white);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .plan-card.featured {
        transform: none;
        order: -1;
        border: 2px solid var(--uk-navy);
        background: linear-gradient(135deg, var(--uk-white) 0%, #f8f9fa 100%);
    }
    
    .plan-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
        color: var(--uk-navy);
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .plan-price {
        font-size: 1.5rem;
        margin: 0.75rem 0;
        font-weight: 700;
        color: var(--uk-navy);
    }
    
    .plan-card ul {
        text-align: left;
        margin: 1rem 0;
        padding-left: 0;
        list-style: none;
    }
    
    .plan-card li {
        margin-bottom: 0.75rem;
        font-size: 0.9rem;
        line-height: 1.5;
        padding-left: 1.5rem;
        position: relative;
        color: var(--dark-gray);
    }
    
    .plan-card li i {
        position: absolute;
        left: 0;
        top: 0.1rem;
        color: var(--success-green);
        font-size: 0.8rem;
    }
    
    .plan-card .btn {
        width: 100%;
        margin-top: 1rem;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        font-weight: 600;
    }
    
    /* Features Grid Mobile Improvements */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-item {
        padding: 1.25rem;
        text-align: center;
        border-radius: 8px;
    }
    
    .feature-icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-item h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }
    
    .feature-item p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* CTA Section Mobile Improvements */
    .cta-section {
        padding: 1.5rem 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        max-width: 280px;
        margin: 1rem auto 0;
    }
    
    .cta-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    /* Hero Section Small Mobile Improvements */
    .hero {
        padding: 2rem 0.75rem;
        min-height: 45vh;
    }
    
    .hero h1 {
        font-size: 1.6rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
        word-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
        overflow-wrap: break-word;
        text-align: center;
        white-space: normal;
        word-break: break-word;
        hyphens: auto;
        max-width: 100%;
        overflow-wrap: break-word;
        text-align: center;
    }
    
    .hero p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 1.25rem;
        text-align: center;
    }
    
    .hero-buttons {
        max-width: 260px;
        gap: 0.5rem;
    }
    
    .hero-buttons .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    /* Services Overview Small Mobile Improvements */
    .services-overview {
        padding: 1rem 0.75rem;
    }
    
    .services-overview .card {
        padding: 0.75rem;
    }
    
    .services-overview .card h2 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }
    
    .plan-card {
        padding: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .plan-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }
    
    .plan-price {
        font-size: 1.3rem;
        margin: 0.5rem 0;
    }
    
    .plan-card ul {
        margin: 0.75rem 0;
    }
    
    .plan-card li {
        margin-bottom: 0.5rem;
        font-size: 0.8rem;
        line-height: 1.4;
        padding-left: 1.25rem;
    }
    
    .plan-card li i {
        font-size: 0.7rem;
    }
    
    .plan-card .btn {
        padding: 0.625rem 1rem;
        font-size: 0.8rem;
        margin-top: 0.75rem;
    }
    
    /* Features Grid Small Mobile Improvements */
    .feature-item {
        padding: 1rem;
    }
    
    .feature-icon {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-item h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-item p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* CTA Section Small Mobile Improvements */
    .cta-section {
        padding: 1rem 0.75rem;
    }
    
    .cta-buttons {
        max-width: 260px;
        gap: 0.5rem;
    }
    
    .cta-buttons .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    /* Hero Section Extra Small Mobile Improvements */
    .hero {
        padding: 1.5rem 0.5rem;
        min-height: 40vh;
    }
    
    .hero h1 {
        font-size: 1.4rem;
        line-height: 1.2;
        margin-bottom: 0.5rem;
        word-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
        overflow-wrap: break-word;
        text-align: center;
        white-space: normal;
        word-break: break-word;
        hyphens: auto;
        max-width: 100%;
        overflow-wrap: break-word;
        text-align: center;
    }
    
    .hero p {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .hero-buttons {
        max-width: 240px;
        gap: 0.5rem;
    }
    
    .hero-buttons .btn {
        padding: 0.625rem 1rem;
        font-size: 0.85rem;
    }
    
    /* Services Overview Extra Small Mobile Improvements */
    .services-overview {
        padding: 0.75rem 0.5rem;
    }
    
    .services-overview .card {
        padding: 0.5rem;
    }
    
    .services-overview .card h2 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .plan-card {
        padding: 0.875rem;
        margin-bottom: 0.5rem;
    }
    
    .plan-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
        line-height: 1.3;
    }
    
    .plan-price {
        font-size: 1.2rem;
        margin: 0.4rem 0;
    }
    
    .plan-card ul {
        margin: 0.5rem 0;
    }
    
    .plan-card li {
        margin-bottom: 0.4rem;
        font-size: 0.75rem;
        line-height: 1.3;
        padding-left: 1rem;
    }
    
    .plan-card li i {
        font-size: 0.65rem;
    }
    
    .plan-card .btn {
        padding: 0.5rem 0.875rem;
        font-size: 0.75rem;
        margin-top: 0.5rem;
    }
    
    /* Features Grid Extra Small Mobile Improvements */
    .feature-item {
        padding: 0.75rem;
    }
    
    .feature-icon {
        font-size: 1.5rem;
        margin-bottom: 0.4rem;
    }
    
    .feature-item h3 {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .feature-item p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    /* CTA Section Extra Small Mobile Improvements */
    .cta-section {
        padding: 0.75rem 0.5rem;
    }
    
    .cta-buttons {
        max-width: 240px;
        gap: 0.5rem;
    }
    
    .cta-buttons .btn {
        padding: 0.625rem 1rem;
        font-size: 0.85rem;
    }
}

/* Extra Small Mobile Devices (320px and below) */
@media (max-width: 320px) {
    .hero {
        padding: 1rem 0.375rem;
        min-height: 35vh;
    }
    
    .hero h1 {
        font-size: 1.2rem;
        line-height: 1.2;
        margin-bottom: 0.4rem;
        word-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
        overflow-wrap: break-word;
        text-align: center;
        white-space: normal;
        word-break: break-word;
        hyphens: auto;
        max-width: 100%;
        overflow-wrap: break-word;
        text-align: center;
    }
    
    .hero p {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
        text-align: center;
    }
    
    .hero-buttons {
        max-width: 220px;
        gap: 0.4rem;
    }
    
    .hero-buttons .btn {
        padding: 0.5rem 0.875rem;
        font-size: 0.8rem;
    }
    
    /* Services Overview Extra Small Mobile Improvements */
    .services-overview {
        padding: 0.5rem 0.375rem;
    }
    
    .services-overview .card {
        padding: 0.375rem;
    }
    
    .services-overview .card h2 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
    
    .plan-card {
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .plan-card h3 {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
        line-height: 1.3;
    }
    
    .plan-price {
        font-size: 1.1rem;
        margin: 0.3rem 0;
    }
    
    .plan-card ul {
        margin: 0.4rem 0;
    }
    
    .plan-card li {
        margin-bottom: 0.3rem;
        font-size: 0.7rem;
        line-height: 1.3;
        padding-left: 0.875rem;
    }
    
    .plan-card li i {
        font-size: 0.6rem;
    }
    
    .plan-card .btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.7rem;
        margin-top: 0.4rem;
    }
    
    /* Features Grid Extra Small Mobile Improvements */
    .feature-item {
        padding: 0.625rem;
    }
    
    .feature-icon {
        font-size: 1.25rem;
        margin-bottom: 0.3rem;
    }
    
    .feature-item h3 {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }
    
    .feature-item p {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    /* CTA Section Extra Small Mobile Improvements */
    .cta-section {
        padding: 0.5rem 0.375rem;
    }
    
    .cta-buttons {
        max-width: 220px;
        gap: 0.4rem;
    }
    
    .cta-buttons .btn {
        padding: 0.5rem 0.875rem;
        font-size: 0.8rem;
    }
    
    /* General Card Improvements */
    .card {
        padding: 0.75rem;
    }
    
    .card h2 {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}
