/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #dc2626;
    --secondary-light: #ef4444;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --error-color: #ef4444;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

/* Top Header Bar */
.top-header {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    position: sticky;
    top: 0;
    z-index: 1100;
}

.top-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.top-header-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-header-item svg {
    flex-shrink: 0;
    opacity: 0.9;
}

.top-header-item span,
.top-header-item a {
    color: white;
    text-decoration: none;
    opacity: 0.95;
}

.top-header-item a:hover {
    opacity: 1;
    text-decoration: underline;
}

.whatsapp-header {
    background: #25D366;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.whatsapp-header:hover {
    background: #128C7E;
    transform: translateY(-1px);
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: var(--shadow-sm);
    z-index: 1099;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

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

.btn-contact {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-contact::after {
    display: none;
}

.btn-contact:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, #dbeafe 0%, #fee2e2 100%);
    position: relative;
    overflow: hidden;
    margin-top: 0;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232563eb' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero .container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    max-width: 1400px;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-deals {
    margin-bottom: 2rem;
}

.deals-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.deal-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.deal-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.deal-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-light));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.deal-icon svg {
    color: white;
}

.deal-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

/* Hero Gallery */
.hero-gallery {
    margin-top: 3rem;
    width: 100%;
}

.gallery-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
}

.gallery-track {
    display: flex;
    transition: transform 0.5s ease;
}

.gallery-slide {
    min-width: 100%;
    display: none;
}

.gallery-slide.active {
    display: block;
}

.gallery-slide img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-btn:hover {
    background: white;
    box-shadow: var(--shadow-lg);
    transform: translateY(-50%) scale(1.1);
}

.gallery-btn svg {
    color: var(--primary-color);
}

.gallery-btn-prev {
    left: 1rem;
}

.gallery-btn-next {
    right: 1rem;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.dot.active {
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

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

.btn {
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

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

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-full {
    width: 100%;
}

/* Hero Image */
.hero-image {
    position: relative;
    height: 400px;
    animation: fadeIn 1s ease;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 3s ease-in-out infinite;
}

.floating-card svg {
    color: var(--primary-color);
}

.floating-card span {
    font-weight: 600;
    color: var(--text-dark);
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

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

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

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--bg-white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-light));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.125rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.875rem;
}

.about-image-placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-light));
    border-radius: 2rem;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
}

.about-image-placeholder svg {
    color: white;
    opacity: 0.5;
}

/* Partners Section */
.partners {
    padding: 6rem 0;
    background: var(--bg-white);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.partner-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.partner-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.partner-logo {
    text-align: center;
    width: 100%;
}

.partner-logo span {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    display: block;
    line-height: 1.4;
}

.partner-logo small {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    font-weight: 400;
}

.partner-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-card:hover .partner-logo img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--bg-white);
}

/* Contact Page Hero */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-light));
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
    margin-top: 0;
}

.contact-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* Contact Cards Section */
.contact-info-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 350px;
}

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

.contact-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-light));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-card-icon svg {
    color: white;
}

.whatsapp-card .contact-card-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.contact-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--primary-dark);
}

.whatsapp-card a {
    color: #25D366;
}

.whatsapp-card a:hover {
    color: #128C7E;
}

.contact-card-button {
    margin-top: auto;
    padding-top: 1.5rem;
}

.contact-card-button .btn {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    color: white !important;
    font-weight: 600;
}

.contact-card-button .btn-primary {
    background: var(--primary-color);
    color: white !important;
}

.contact-card-button .btn-primary:hover {
    background: var(--primary-dark);
    color: white !important;
}

.contact-card-button .btn-whatsapp {
    background: #25D366;
    color: white !important;
}

.contact-card-button .btn-whatsapp:hover {
    background: #128C7E;
    color: white !important;
}

.contact-card-button .btn-secondary {
    background: transparent;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
}

.contact-card-button .btn-secondary:hover {
    background: var(--primary-color);
    color: white !important;
}

/* Map Section */
.map-section {
    padding: 4rem 0;
    background: white;
}

.map-container {
    margin-top: 2rem;
    box-shadow: var(--shadow-lg);
    border-radius: 1rem;
    overflow: hidden;
}

.map-container iframe {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-hero {
        padding: 6rem 0 3rem;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-hero p {
        font-size: 1rem;
    }
    
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container iframe {
        height: 350px;
    }
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
}

.info-card {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-light));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.info-icon svg {
    color: white;
}

.info-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.info-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.btn-large {
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.whatsapp-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.whatsapp-link:hover {
    color: #25D366;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

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

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

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

/* Responsive Design */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-image {
        height: 300px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .top-header-content {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .top-header-item {
        font-size: 0.75rem;
    }

    .navbar {
        position: sticky;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
        z-index: 1002;
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .deals-grid {
        grid-template-columns: 1fr;
    }

    .deal-item {
        padding: 0.875rem 1rem;
    }

    .deal-icon {
        width: 35px;
        height: 35px;
    }

    .deal-icon svg {
        width: 20px;
        height: 20px;
    }

    .deals-heading {
        font-size: 1.25rem;
    }

    .gallery-slide img {
        max-height: 300px;
    }

    .gallery-btn {
        width: 36px;
        height: 36px;
    }

    .gallery-btn svg {
        width: 18px;
        height: 18px;
    }

    .gallery-btn-prev {
        left: 0.5rem;
    }

    .gallery-btn-next {
        right: 0.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .floating-card {
        padding: 1rem;
        font-size: 0.875rem;
    }

    .floating-card svg {
        width: 32px;
        height: 32px;
    }
}

/* COA Page Styles */
.coa-page {
    padding: 10rem 0 4rem;
    background: var(--bg-light);
    min-height: 100vh;
}

.coa-header {
    text-align: center;
    margin-bottom: 3rem;
}

.coa-header h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.coa-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.coa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.coa-tile {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.coa-tile:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.coa-tile-content {
    padding: 2rem;
}

.coa-logo {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e8edf5 100%);
    border-radius: 0.5rem;
}

.coa-logo-placeholder {
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.25rem;
    padding: 1rem;
}

.coa-logo img {
    max-width: 80%;
    max-height: 80px;
    object-fit: contain;
}

.coa-tile h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.coa-tile p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.coa-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
}

.coa-link svg {
    transition: transform 0.3s ease;
}

.coa-tile:hover .coa-link svg {
    transform: translateX(5px);
}

.coa-info {
    max-width: 900px;
    margin: 4rem auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-box {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 1.5rem;
}

.info-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon svg {
    color: white;
}

.info-box h4 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-box p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive for COA Page */
@media (max-width: 768px) {
    .coa-page {
        padding: 9rem 0 3rem;
    }

    .coa-header h1 {
        font-size: 2rem;
    }

    .coa-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .coa-info {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .info-box {
        flex-direction: column;
        text-align: center;
    }

    .info-icon {
        margin: 0 auto;
    }
}

/* Certificates Page Styles */
.certificates-page {
    padding: 10rem 0 4rem;
    background: var(--bg-light);
    min-height: 100vh;
}

.certificates-header {
    text-align: center;
    margin-bottom: 3rem;
}

.certificates-header h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.certificates-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.certificate-card {
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.certificate-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.certificate-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.certificate-icon svg {
    color: white;
}

.certificate-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.certificate-meta {
    font-size: 0.9rem;
    opacity: 0.95;
    margin: 0;
}

.certificate-preview {
    padding: 2rem;
    background: var(--bg-light);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.certificate-preview:hover {
    background: #e8edf5;
}

.certificate-preview img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
}

.pdf-preview {
    background: linear-gradient(135deg, #f8fafc 0%, #e8edf5 100%);
}

.pdf-icon {
    text-align: center;
    color: var(--primary-color);
}

.pdf-icon svg {
    margin-bottom: 1rem;
}

.pdf-icon p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.certificate-actions {
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    border-top: 1px solid var(--border-color);
}

.certificate-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
}

.certificate-actions .btn svg {
    flex-shrink: 0;
}

/* Modal for Certificate Viewing */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

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

.modal-content {
    position: relative;
    margin: 2% auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    background: white;
    border-radius: 0.5rem;
    animation: slideIn 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
}

.modal-close:hover {
    transform: scale(1.2);
}

#modalBody {
    padding: 2rem;
}

#modalBody img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive for Certificates Page */
@media (max-width: 768px) {
    .certificates-page {
        padding: 9rem 0 3rem;
    }

    .certificates-header h1 {
        font-size: 2rem;
    }

    .certificates-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .certificate-actions .btn {
        width: 100%;
    }

    .certificate-preview {
        min-height: 200px;
        padding: 1rem;
    }

    .modal-content {
        width: 95%;
        margin: 5% auto;
    }

    #modalBody {
        padding: 1rem;
    }

    .modal-close {
        top: -35px;
        font-size: 30px;
    }
}

/* About Page Styles */
.about-page {
    padding: 10rem 0 4rem;
    background: white;
}

.about-page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-page-content h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.about-page-content h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-page-content h2:first-of-type {
    margin-top: 0;
}

.about-page-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

/* About Page Responsive */
@media (max-width: 768px) {
    .about-page {
        padding: 9rem 0 3rem;
    }

    .about-page-content {
        padding: 0 1.5rem;
    }

    .about-page-content h1 {
        font-size: 2rem;
    }

    .about-page-content h2 {
        font-size: 1.25rem;
        margin-top: 2rem;
    }

    .about-page-content p {
        font-size: 1rem;
    }
}

