@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* CSS Variables */
:root {
    --primary-color: #8B4513;
    --secondary-color: #D2691E;
    --accent-color: #F4A261;
    --dark-color: #4A2C0A;
    --light-color: #FDF6E3;
    --text-dark: #2D1B0A;
    --text-light: #5C4033;
    --white: #FFFFFF;
    --shadow: rgba(0,0,0,0.1);
    --shadow-hover: rgba(0,0,0,0.2);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -webkit-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-color);
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
    color: var(--white);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
}

.logo img {
    height: 45px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(1.1);
}

.logo:hover img {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* Logo size variants for different screen sizes */
@media (max-width: 768px) {
    .logo img {
        height: 35px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 30px;
    }
}

/* Large screens - bigger logo */
@media (min-width: 1200px) {
    .logo img {
        height: 50px;
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
    background: rgba(255,255,255,0.1);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 6px);
}

.mobile-menu.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -6px);
}

/* Main Content */
main {
    padding-top: 80px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 500%;
    height: 100%;
    display: flex;
    animation: slideHorizontal 25s infinite ease-in-out;
    z-index: 0;
}

.hero-background div {
    width: 20%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-background div:nth-child(1) {
    background-image: url('../images/shoes/khal5.jpg');
}

.hero-background div:nth-child(2) {
    background-image: url('../images/shoes/khal.jpg');
}

.hero-background div:nth-child(3) {
    background-image: url('../images/shoes/khal1.jpg');
}

.hero-background div:nth-child(4) {
    background-image: url('../images/shoes/khal6.jpg');
}

.hero-background div:nth-child(5) {
    background-image: url('../images/shoes/khal7.jpg');
}

@keyframes slideHorizontal {
    0% { transform: translateX(0); }
    20% { transform: translateX(0); }
    25% { transform: translateX(-20%); }
    45% { transform: translateX(-20%); }
    50% { transform: translateX(-40%); }
    70% { transform: translateX(-40%); }
    75% { transform: translateX(-60%); }
    95% { transform: translateX(-60%); }
    100% { transform: translateX(-80%); }
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    animation: slideInUp 1s ease-out;
}

.hero p {
    font-size: clamp(1rem, 3vw, 1.3rem);
    margin-bottom: 2rem;
    animation: slideInUp 1s ease-out 0.3s both;
}

.cta-button {
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    transition: all 0.3s ease;
    display: inline-block;
    animation: slideInUp 1s ease-out 0.6s both;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Common Section Styles */
.about-section,
.preview-section {
    padding: 4rem 0;
}

.about-section {
    background: var(--white);
}

.preview-section {
    background: var(--light-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.section-title h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
}

.section-title p {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    color: var(--text-light);
}

/* About Content */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.about-text p {
    margin-bottom: 2rem;
    color: var(--text-light);
    line-height: 1.7;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Feature Items */
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow);
}

.feature-icon {
    color: var(--secondary-color);
    flex-shrink: 0;
    padding: 0.5rem;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-text h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-text p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Grid Layouts */
.preview-grid,
.catalogue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Card Styles */
.preview-card,
.shoe-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
}

.preview-card:hover,
.shoe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-hover);
}

.preview-image,
.shoe-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.shoe-image {
    height: 250px;
}

.shoe-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.shoe-image span {
    color: var(--white);
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: bold;
    padding: 1rem;
    z-index: 2;
    position: relative;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    margin-bottom: 1rem;
    backdrop-filter: blur(5px);
}

/* Content Areas */
.preview-content,
.shoe-card-content {
    padding: 1.5rem;
    text-align: center;
}

.preview-content h3,
.shoe-card h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
}

.preview-content p,
.shoe-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: clamp(0.85rem, 2vw, 1rem);
}

.shoe-card-content {
    text-align: left;
    padding: 1.5rem;
}

/* Prices */
.preview-price,
.shoe-price {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: bold;
    color: var(--secondary-color);
}

.preview-price {
    font-size: 1.3rem;
}

.shoe-price {
    margin: 1rem 0;
}

/* Buttons */
.order-button {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-family: 'Poppins', sans-serif;
}

.order-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Apprenticeship Styles */
.apprenticeship-content {
    background: var(--white);
    padding: clamp(2rem, 5vw, 3rem);
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    margin-bottom: 3rem;
}

.apprentice-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Modern Program Details Styles */
.program-details {
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin: 3rem 0;
}

.program-details h4 {
    color: var(--dark-color);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
}

/* Program cards container */
.program-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

/* Individual program cards */
.program-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(139, 69, 19, 0.12);
}

/* Program header with duration */
.program-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.program-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--secondary-color);
}

.program-duration {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.program-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0.5rem 0 0 0;
}

/* Program content */
.program-content {
    padding: 2rem 1.5rem 1.5rem;
}

/* Pricing list */
.program-pricing {
    list-style: none;
    padding: 0;
    margin: 0;
}

.program-pricing li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
}

.program-pricing li:last-child {
    border-bottom: none;
}

.pricing-label {
    color: var(--text-light);
    font-weight: 500;
}

.pricing-amount {
    color: var(--dark-color);
    font-weight: 600;
}

/* Total pricing highlight */
.program-total {
    background: var(--light-color);
    margin: 1rem -1.5rem 0;
    padding: 1rem 1.5rem;
    border-top: 2px solid var(--accent-color);
}

.program-total .pricing-label {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.program-total .pricing-amount {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
}

/* Program features */
.program-features {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* Popular badge */
.program-card.popular {
    border: 2px solid var(--accent-color);
    transform: scale(1.02);
}

.program-card.popular::before {
    content: 'Most Popular';
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--accent-color);
    color: white;
    padding: 0.3rem 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 10;
}

/* Accommodation info box */
.accommodation-info {
    background: linear-gradient(135deg, #fff9e6, #fef3cd);
    border: none;
    border-left: 4px solid var(--accent-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 2px 10px rgba(244, 162, 97, 0.1);
}

.accommodation-info h5 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.accommodation-info h5::before {
    content: '🏠';
    font-size: 1.3rem;
}

.accommodation-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.accommodation-info li {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.accommodation-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* General program info */
.general-info {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.general-info h4 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-align: left;
}

.general-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.general-info li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--light-color);
    border-radius: 8px;
    transition: background 0.3s ease;
}

.general-info li:hover {
    background: #f8f4e6;
}

.general-info li::before {
    content: '●';
    color: var(--secondary-color);
    font-size: 1.2rem;
    line-height: 1;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.info-label {
    font-weight: 600;
    color: var(--dark-color);
    min-width: 120px;
}

.info-content {
    color: var(--text-light);
    flex: 1;
}

/* Apply section improvements */
.apply-section {
    background: linear-gradient(135deg, var(--light-color), #f8f4e6);
    border: none;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.apply-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(244, 162, 97, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.apply-section h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 2rem;
    position: relative;
    z-index: 2;
}

.apply-section p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.apply-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.apply-buttons button {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    padding: 16px 30px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
    min-width: 200px;
    justify-content: center;
}

.apply-buttons button.email-apply-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.2);
}

.apply-buttons button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.apply-buttons button.email-apply-btn:hover {
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.3);
}

/* Search Styles */
.catalogue-search {
    max-width: 500px;
    margin: 0 auto 3rem auto;
    position: relative;
}

.catalogue-search input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid var(--accent-color);
    border-radius: 30px;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    outline: none;
    font-family: 'Poppins', sans-serif;
}

.catalogue-search .search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
}

/* Page Section */
.page-section {
    min-height: 100vh;
    padding: 2rem 0;
}

.page-section:not(.hero) {
    padding-top: 100px;
}

.preview-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: var(--white);
    text-align: center;
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
}

.footer-section p {
    font-size: clamp(0.85rem, 2vw, 1rem);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid var(--primary-color);
    padding-top: 1rem;
    margin-top: 2rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a.facebook {
    color: #1877F2;
}

.social-links a.facebook:hover {
    background: rgba(24, 119, 242, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

.social-links a.instagram {
    color: #E1306C;
}

.social-links a.instagram:hover {
    background: rgba(225, 48, 108, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
}

.social-links a.tiktok {
    color: #000000;
}

.social-links a.tiktok:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: var(--white);
}

.social-links a.whatsapp {
    color: #25D366;
}

.social-links a.whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.social-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.social-links a:hover .social-icon {
    transform: scale(1.1);
}

.social-links a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.social-links a:active::after {
    width: 45px;
    height: 45px;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.7);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

.whatsapp-float::before {
    content: 'Chat with us';
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark-color);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    right: 65px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--dark-color);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-float:hover::before,
.whatsapp-float:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Animation classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    nav {
        padding: 0 1rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark-color);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.3);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .mobile-menu {
        display: flex;
    }

    .hero-content {
        padding: 1rem;
    }

    .cta-button {
        padding: 12px 24px;
    }

    .container {
        padding: 1rem;
    }

    .section-title {
        margin-bottom: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .preview-grid,
    .catalogue-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .shoe-image {
        height: 200px;
    }

    .shoe-card-content {
        padding: 1rem;
    }

    .apprentice-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

   /* Fix for mobile feature item alignment */
@media (max-width: 768px) {
    .feature-item {
        flex-direction: row; /* Keep horizontal layout */
        align-items: flex-start; /* Align to top */
        text-align: left; /* Left align text */
        gap: 1rem; /* Maintain gap */
        padding: 1.5rem;
    }

    .feature-icon {
        flex-shrink: 0; /* Prevent icon from shrinking */
        align-self: flex-start; /* Align icon to top */
        margin-top: 0.2rem; /* Small adjustment for better alignment */
    }

    .feature-text {
        flex: 1; /* Take remaining space */
    }

    .feature-text h4 {
        margin-bottom: 0.5rem;
        font-size: 1.1rem;
    }

    .feature-text p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

/* For very small screens (480px and below) */
@media (max-width: 480px) {
    .feature-item {
        padding: 1.25rem;
        gap: 0.75rem;
    }

    .feature-icon {
        width: 36px; /* Slightly smaller icon container */
        height: 36px;
        margin-top: 0.1rem;
    }

    .feature-icon svg {
        width: 20px; /* Smaller icon */
        height: 20px;
    }

    .feature-text h4 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .feature-text p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

    .program-cards-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .program-card.popular {
        transform: none;
        border-width: 1px;
    }
    
    .program-header {
        padding: 1.25rem;
    }
    
    .program-content {
        padding: 1.5rem 1.25rem;
    }
    
    .apply-section {
        padding: 2rem 1rem;
        margin: 2rem 0.5rem 0;
    }
    
    .apply-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .apply-buttons button {
        width: 100%;
        max-width: 280px;
    }
    
    .accommodation-info,
    .general-info {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        padding: 1.25rem;
    }

    .footer-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
        gap: 1rem;
    }

    .social-links a {
        width: 32px;
        height: 32px;
    }

    .social-icon {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.5rem 0;
    }

    main {
        padding-top: 70px;
    }

    .hero {
        height: 90vh;
    }

    .container {
        padding: 0.5rem;
    }

    .catalogue-grid,
    .preview-grid {
        gap: 1rem;
    }

    .shoe-card,
    .preview-card {
        margin: 0 0.5rem;
    }

    .apprenticeship-content {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }

    .footer-content {
        padding: 0 1rem;
    }

    .social-links a {
        width: 28px;
        height: 28px;
    }

    .social-icon {
        width: 14px;
        height: 14px;
    }
}

@media (min-width: 1025px) {
    .catalogue-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .apprentice-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* General Info Mobile Fixes */
@media (max-width: 768px) {
    .general-info {
        margin: 2rem 0;
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .general-info li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        text-align: left;
        padding: 1rem;
    }
    
    .general-info li::before {
        display: none; /* Hide bullet point on mobile for cleaner look */
    }
    
    .info-label {
        min-width: auto;
        font-size: 1rem;
        margin-bottom: 0.25rem;
        color: var(--primary-color);
    }
    
    .info-content {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Apply Section Mobile Fixes */
    .apply-section {
        padding: 2rem 1rem !important;
        margin: 2rem 0 !important;
        border-radius: 16px;
    }
    
    .apply-section h4 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .apply-section p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .apply-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        width: 100%;
    }
    
    .apply-buttons button {
        width: 100%;
        max-width: none;
        padding: 14px 20px;
        font-size: 0.95rem;
        min-width: auto;
        border-radius: 25px;
    }
    
    /* Accommodation info mobile fixes */
    .accommodation-info {
        margin: 2rem 0;
        padding: 1.25rem;
        border-radius: 10px;
    }
    
    .accommodation-info h5 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .accommodation-info li {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
        line-height: 1.4;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .apprenticeship-content {
        padding: 1.25rem;
        margin: 0;
        border-radius: 15px;
    }
    
    .general-info {
        margin: 1.5rem 0;
        padding: 1.25rem;
    }
    
    .general-info h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .general-info li {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
        background: #f9f6f0;
        border-radius: 6px;
    }
    
    .info-label {
        font-size: 0.95rem;
        font-weight: 600;
    }
    
    .info-content {
        font-size: 0.85rem;
    }
    
    .apply-section {
        padding: 1.5rem 0.75rem !important;
        margin: 1.5rem 0 !important;
    }
    
    .apply-section h4 {
        font-size: 1.3rem;
    }
    
    .apply-section p {
        font-size: 0.9rem;
    }
    
    .apply-buttons button {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .accommodation-info {
        padding: 1rem;
    }
}

