* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
}

:root {
    --primary-color: #00bcd4; /* Refined turquoise */
    --secondary-color: #80deea; /* Soft cyan */
    --dark-color: #00838f; /* Deep teal */
    --light-color: #e0f7fa; /* Very light cyan */
    --bg-light: #f0fafb; /* Almost white cyan tint */
    --bg-glass: rgba(255, 255, 255, 0.15); /* Glassmorphism base */
    --success-color: #00bcd4;
    --text-color: #00455d; /* Deep dark blue text */
    --text-light: #2c6a7f;
    --white: #ffffff;
    --shadow: 0 8px 24px rgba(0, 188, 212, 0.12);
    --shadow-lg: 0 15px 45px rgba(0, 188, 212, 0.15);
    --glow: 0 0 25px rgba(0, 188, 212, 0.25);
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 50%, #80deea 100%);
    min-height: 100vh;
    backdrop-filter: blur(10px);
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(128, 222, 234, 0.25));
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 188, 212, 0.15);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.5rem 0;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: #00455d;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 1px 3px rgba(0, 188, 212, 0.3);
    height: 0;
    overflow: hidden;
}

.logo i {
    font-size: 2rem;
    display: none;
}

/* Hero Section */
.hero {
    background: transparent;
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 188, 212, 0.15);
}

.hero-icon {
    margin-bottom: 1.5rem;
}

.hero-icon i {
    font-size: clamp(3rem, 8vw, 4.5rem);
    color: #00455d;
    filter: drop-shadow(0 3px 8px rgba(0, 188, 212, 0.3));
    transition: all 0.3s ease;
}

.hero-icon i:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 3px 12px rgba(0, 188, 212, 0.6));
}

.hero-main-title {
    font-size: clamp(1.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    font-weight: 900;
    color: #00455d;
    text-shadow: 0 3px 10px rgba(255, 255, 255, 0.9);
    letter-spacing: 1px;
}

.hero-title {
    font-size: clamp(1.2rem, 4vw, 2.2rem);
    margin-bottom: 1rem;
    font-weight: 700;
    color: #00838f;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.8);
    letter-spacing: 0.5px;
}

.hero-subtitle {
    font-size: clamp(0.9rem, 3vw, 1.4rem);
    opacity: 1;
    color: #00455d;
    text-shadow: 0 1px 4px rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* About Section */
.about {
    padding: 4rem 0;
    background: linear-gradient(180deg, rgba(224, 247, 250, 0.9), rgba(178, 235, 242, 0.7));
}

.manager-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-lg), var(--glow);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.manager-image {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.manager-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.manager-image img.active {
    display: block;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
}

.image-placeholder.hidden {
    display: none;
}

.image-placeholder p {
    font-size: 1rem;
    margin-top: 10px;
}

.manager-info {
    text-align: center;
}

.manager-info h3 {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.manager-info p {
    font-size: clamp(0.95rem, 3vw, 1.1rem);
    color: var(--text-light);
}

/* Book Section */
.book-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, rgba(224, 247, 250, 0.7), rgba(178, 235, 242, 0.9));
}

.section-title {
    font-size: clamp(1.3rem, 4vw, 2rem);
    color: var(--dark-color);
    margin-bottom: 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.book-container {
    display: flex;
    justify-content: center;
}

.book-preview {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: clamp(1.5rem, 4vw, 3rem);
    box-shadow: var(--shadow-lg), var(--glow);
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.book-icon {
    font-size: clamp(3rem, 8vw, 5rem);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.book-preview h3 {
    font-size: clamp(1.2rem, 4vw, 1.9rem);
    color: #00455d;
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5);
}

.book-preview p {
    font-size: clamp(0.9rem, 3vw, 1.15rem);
    color: #00455d;
    margin-bottom: 2rem;
    line-height: 1.8;
    font-weight: 600;
}

.book-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: clamp(0.7rem, 2vw, 1rem) clamp(1.2rem, 4vw, 2rem);
    border: none;
    border-radius: 50px;
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cairo', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.35), rgba(128, 222, 234, 0.25));
    backdrop-filter: blur(12px);
    color: var(--dark-color);
    border: 1px solid rgba(0, 188, 212, 0.4);
    box-shadow: var(--shadow), var(--glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.5), rgba(128, 222, 234, 0.4));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--glow);
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.75), rgba(0, 131, 143, 0.65));
    backdrop-filter: blur(12px);
    color: var(--white);
    border: 1px solid rgba(0, 188, 212, 0.6);
    box-shadow: var(--shadow), var(--glow);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.9), rgba(0, 131, 143, 0.8));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--glow);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    max-width: 1100px;
    height: 95vh;
    background: var(--white);
    border-radius: 10px;
    padding: 5px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.pdf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px 10px 0 0;
    margin: -5px -5px 5px -5px;
}

.close {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    background: rgba(220, 38, 38, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.close:hover {
    background: rgba(239, 68, 68, 1);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6);
    transform: rotate(90deg) scale(1.1);
}

.btn-download {
    background: rgba(255, 255, 255, 0.95);
    color: var(--dark-color);
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-download:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#pdfViewer {
    width: 100%;
    height: calc(100% - 60px);
    flex: 1;
    border-radius: 0 0 5px 5px;
    border: none;
    background: #525659;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, rgba(224, 247, 250, 0.7), rgba(178, 235, 242, 0.9));
    position: relative;
    overflow: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow), var(--glow);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-card h3 {
    font-size: clamp(1.2rem, 3.5vw, 1.5rem);
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.social-links,
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link,
.contact-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: clamp(0.7rem, 2vw, 1rem);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-color);
    border: 1px solid rgba(0, 188, 212, 0.15);
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: clamp(0.85rem, 2.5vw, 1rem);
}

.social-link:hover,
.contact-link:hover {
    transform: translateX(-5px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(0, 188, 212, 0.15));
    box-shadow: var(--shadow), var(--glow);
    border: 1px solid rgba(0, 188, 212, 0.3);
}

.social-link i,
.contact-link i {
    font-size: clamp(1.2rem, 3.5vw, 1.5rem);
    width: 30px;
    text-align: center;
}

.tiktok i {
    color: #000000;
}

.facebook i {
    color: #1877f2;
}

.instagram i {
    color: #e4405f;
}

.youtube i {
    color: #ff0000;
}

.snapchat i {
    color: #fffc00;
}

.email i {
    color: var(--primary-color);
}

.whatsapp i {
    color: #0a9960;
}

.phone i {
    color: var(--dark-color);
}

.social-number {
    margin-right: auto;
    font-weight: 500;
    color: var(--text-light);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(128, 222, 234, 0.08));
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 188, 212, 0.15);
    color: var(--text-color);
    text-align: center;
    padding: 2rem 0;
    font-size: 1.15rem;
}

.footer p {
    margin-bottom: 0.5rem;
}

.footer-credit {
    margin-bottom: 0.5rem;
}

.footer-credit a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 700;
}

.footer-credit a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer p:last-child {
    margin-bottom: 0;
}

.footer-copyright {
    font-size: 1rem;
}

.footer-year {
    font-size: 1rem;
}

.footer-location {
    font-size: 1rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer-email {
    margin-top: 0.5rem;
    font-size: 1.5rem;
}

.footer-email a {
    color: #00455d;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.footer-email a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    html {
        overflow-x: hidden;
    }

    body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    .modal-content {
        width: 95%;
        height: 90vh;
        margin: 0 auto;
    }

    .hero {
        padding: 2.5rem 1rem;
    }

    .about {
        padding: 2rem 1rem;
    }

    .book-section {
        padding: 2rem 1rem;
    }

    .contact-section {
        padding: 2rem 1rem;
    }

    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }

    .book-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .manager-card {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }

    .manager-image {
        width: 150px;
        height: 150px;
    }

    .social-links {
        width: 100%;
    }

    .social-link,
    .contact-link {
        width: 100%;
        justify-content: flex-start;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .book-preview {
        width: 100%;
    }

    .pdf-header {
        flex-wrap: wrap;
        gap: 10px;
    }

    .close {
        order: 2;
    }

    .btn-download {
        order: 1;
        flex: 1;
    }
}

/* Small phones (480px and below) */
@media (max-width: 480px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }

    * {
        max-width: 100%;
    }

    .hero {
        padding: 2rem 0.75rem;
    }

    .container {
        padding: 0 10px;
    }

    .modal-content {
        width: 98%;
        height: 95vh;
    }

    .pdf-header {
        padding: 8px;
        flex-direction: column;
        align-items: stretch;
    }

    .close {
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
        align-self: flex-end;
    }

    .btn-download {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    .book-preview {
        border-radius: 15px;
    }

    .manager-image {
        width: 120px;
        height: 120px;
    }

    .manager-card {
        padding: 1rem;
    }

    .contact-card {
        padding: 1rem;
        border-radius: 15px;
    }

    .social-link,
    .contact-link {
        gap: 10px;
    }

    .book-container {
        padding: 0;
    }
}

/* Tablets (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-main-title {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .modal-content {
        width: 90%;
        max-width: 900px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Large screens (1024px+) */
@media (min-width: 1025px) {
    .hero {
        padding: 5rem 0;
    }

    .about {
        padding: 4rem 0;
    }

    .book-section {
        padding: 4rem 0;
    }

    .contact-section {
        padding: 4rem 0;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .modal-content {
        width: 85%;
        max-width: 1100px;
    }
}

/* Wave Separators */
.hero::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 120px;
    pointer-events: none;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path fill='%2380deea' fill-opacity='1' d='M0,224L40,208C80,192,160,160,240,165.3C320,171,400,213,480,229.3C560,245,640,235,720,213.3C800,192,880,160,960,170.7C1040,181,1120,235,1200,240C1280,245,1360,203,1400,181.3L1440,160L1440,320L0,320Z'></path></svg>") no-repeat center/cover;
}

.contact-section::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 120px;
    pointer-events: none;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path fill='%2380deea' fill-opacity='1' d='M0,224L80,234.7C160,245,320,267,480,240C640,213,800,139,960,128C1120,117,1280,171,1360,197.3L1440,224L1440,320L0,320Z'></path></svg>") no-repeat center/cover;
}

/* Secondary wave layer for contact */
.contact-section::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 60px;
    width: 100%;
    height: 120px;
    opacity: 0.7;
    pointer-events: none;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path fill='%2300bcd4' fill-opacity='1' d='M0,224L120,234.7C240,245,480,267,720,245.3C960,224,1200,160,1320,133.3L1440,107L1440,0L0,0Z'></path></svg>") no-repeat center/cover;
}
