@import url('./default.css');

/* ============================================================================
   HIDE UNWANTED ELEMENTS
   ============================================================================ */

/* Hide certificate verification popup and all unwanted elements */
#certificate-modal,
.cert-modal,
.certificate-verification,
.verify-certificate,
[class*="verify"],
[class*="certificate-verify"],
.hot-days-ahead,
.scroll-top,
.scroll-top.active,
button.scroll-top,
.fa-arrow-up,
.fas.fa-arrow-up {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Hide any scroll to top buttons */
*[class*="scroll-top"],
*[class*="scroll-to-top"],
.back-to-top {
    display: none !important;
}

/* Hide Font Awesome arrow up icons */
.fa-arrow-up:before,
.fas.fa-arrow-up:before {
    display: none !important;
}

/* If it's an iframe or embedded widget */
iframe[src*="verify"],
iframe[src*="certificate"] {
    display: none !important;
}

/* Hide grammarly integration */
grammarly-desktop-integration,
[data-grammarly-shadow-root] {
    display: none !important;
}

/* ============================================================================
   ABOUT PAGE SPECIFIC STYLES
   ============================================================================ */

/* About Content and Image Layout */
.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.rounded-img {
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.rounded-img:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.about-content h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: block;
    text-align: left;
}

.about-content h2:after {
    left: 0;
    transform: none;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--secondary-dark);
    margin-bottom: 1.5rem;
}

.tagline {
    font-weight: 700;
    color: var(--primary) !important;
    font-size: 1.3rem !important;
    text-align: center;
    padding: 1.5rem;
    background: rgba(109, 0, 26, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--primary);
    margin-top: 2rem;
    font-style: italic;
}

/* ============================================================================
   CERTIFICATION SHOWCASE COMPONENTS
   ============================================================================ */

.certification-showcase {
    max-width: 1000px;
    margin: 0 auto 4rem;
}

.main-certificate {
    background: white;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(109, 0, 26, 0.1);
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: center;
}

.certificate-content {
    text-align: left;
}

.certificate-badge {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.google-logo {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4285f4, #34a853, #fbbc05, #ea4335);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.certificate-info h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.certificate-info p {
    color: var(--secondary-dark);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.completion-date {
    background: var(--primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.certificate-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--secondary-dark);
    margin: 0;
}

.certificate-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.cert-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.certificate-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(109, 0, 26, 0.9);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 1.1rem;
    font-weight: 600;
}

.certificate-overlay i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.certificate-image:hover .certificate-overlay {
    opacity: 1;
}

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

/* Individual Certificates Gallery */
.individual-certificates {
    margin: 4rem 0;
    padding: 3rem 2rem;
    background: rgba(109, 0, 26, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(109, 0, 26, 0.08);
}

.individual-certificates h3 {
    color: var(--primary);
    font-size: 1.6rem;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
}

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

.cert-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border-color: rgba(109, 0, 26, 0.2);
}

.cert-image-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
    cursor: pointer;
}

.cert-thumbnail {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cert-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(109, 0, 26, 0.85);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 1.5rem;
}

.cert-image-container:hover .cert-overlay {
    opacity: 1;
}

.cert-image-container:hover .cert-thumbnail {
    transform: scale(1.1);
}

.cert-item h4 {
    color: var(--dark);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.cert-item p {
    color: var(--secondary);
    font-size: 0.85rem;
    margin: 0;
    font-weight: 500;
}

/* UX Value Section */
.ux-value-section {
    background: rgba(109, 0, 26, 0.03);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    margin-top: 4rem;
    border: 2px solid rgba(109, 0, 26, 0.08);
}

.value-content h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
}

.value-points {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.value-point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.value-point i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.value-point strong {
    color: var(--dark);
}

/* ============================================================================
   MOBILE RESPONSIVE DESIGN
   ============================================================================ */

@media (max-width: 768px) {
    .main-certificate {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        text-align: center;
    }

    .certificate-content {
        text-align: center;
    }

    .certificate-badge {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .certificate-image {
        order: -1;
        max-width: 300px;
        margin: 0 auto 2rem;
    }

    .certificates-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }

    .cert-thumbnail {
        height: 100px;
    }

    .individual-certificates {
        padding: 2rem 1rem;
    }

    .ux-value-section {
        padding: 2rem 1.5rem;
    }

    .value-point {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .certificate-info {
        text-align: center;
    }

    .about-content {
        padding: 1.5rem 0;
        text-align: center;
    }

    .about-content h2 {
        text-align: center;
        font-size: 2rem;
    }

    .about-content h2:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .tagline {
        font-size: 1.1rem !important;
        padding: 1.2rem;
    }
}

@media (max-width: 576px) {
    .google-logo {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .certificate-info h3 {
        font-size: 1.4rem;
    }

    .value-content h3 {
        font-size: 1.5rem;
    }

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

    .cert-item {
        padding: 1rem;
    }

    .cert-item h4 {
        font-size: 0.9rem;
    }

    .cert-thumbnail {
        height: 80px;
    }

    .individual-certificates h3 {
        font-size: 1.3rem;
    }

    .about-content {
        padding: 1rem 0;
    }

    .about-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .about-content p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .tagline {
        font-size: 1rem !important;
        padding: 1rem;
    }
}