* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #fff;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
#header {
    position: sticky;
    top: 0px;
    left: 0px;
    z-index: 500;
    width: 100%;
    height: 120px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1614854262318-831574f15f1f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1770&q=80') center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    transition: transform 0.4s ease;
    background-image: url('picture/115cm-tsonga-prints-5_172x.avif');
}

#header.hidden {
    transform: translateY(-100%);
}

#header h1 {
    text-align: center;
    color: white;
    font-size: 2.2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 8px;
}

#header p {
    font-size: 1.1rem;
    max-width: 600px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.menu-btn {
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.4);
    padding: 5px 10px;
    border-radius: 4px;
    transition: background 0.3s;
}

.menu-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}
 
/* =============TOP-TABS============*/
#tabs-tops {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 600;
    width: 100%;
    background-color: #1a1a1a;
    overflow: auto;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#tabs-tops a {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 16px 24px;
    text-decoration: none;
    width: 16%;
    font-weight: 500;
    transition: background-color 0.3s;
}

#tabs-tops a:hover {
    background-color: #3498db;
}

#tabs-tops a.active {
    background-color: #2980b9;
}

#tabs-tops a i {
    margin-right: 8px;
}


/* Side Navigation */
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 700;
    top: 0;
    left: 0;
    background-color: #1a1a1a;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
}

.sidenav a {
    padding: 15px 25px;
    text-decoration: none;
    font-size: 1.1rem;
    color: #f1f1f1;
    display: block;
    transition: 0.3s;
    white-space: nowrap;
}

.sidenav a:hover {
    background-color: #3498db;
    color: white;
}

.sidenav a i {
    margin-right: 10px;
    width: 25px;
    text-align: center;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    padding: 8px 16px;
}
/* =============Moving boxes============*/

.scroller-container {
            width: 100%;
            max-width: 1200px;
            overflow: hidden;
            position: relative;
            margin: 20px 0;
            padding: 10px 0;
        }
        
        /* Wrapper for both original and duplicated boxes */
        .boxes-wrapper {
            display: flex;
            width: max-content;
        }
        
        /* Boxes styling */
        .boxes {
            display: flex;
            gap: clamp(10px, 3vw, 20px);
            padding: 2px;
        }

        /* Each box */
        .box {
            width: clamp(200px, 40vw, 300px);
            height: clamp(180px, 35vw, 250px);
            background-color: black;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            position: relative;
            flex-shrink: 0;
            transition: transform 0.3s ease;
        }
        
        .box:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
        }
        
        .box a {
            display: block;
            width: 100%;
            height: 100%;
            text-decoration: none;
        }
        
        .box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        
        .box p {
            position: absolute;
            bottom: 0;
            width: 100%;
            padding: clamp(8px, 2vw, 12px);
            margin: 0;
            color: white;
            text-align: center;
            font-weight: bold;
            font-size: clamp(0.8rem, 2vw, 1rem);
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
        }
        
        /* Animation for continuous scrolling */
        @keyframes moveLeft {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-50%);
            }
        }
        
        .boxes-wrapper {
            animation: moveLeft 30s linear infinite;
        }
        
        .boxes-wrapper:hover {
            animation-play-state: paused;
        }

/*content section info*/
.content-info {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Content Sections */

.content-section {
    background: white;
    border-radius: 12px;
    padding: 5px;
    margin: 30px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.content-section h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    
}

.content-section p {
    margin-bottom: 15px;
    line-height: 1.8;
}
.content-section img {
  width: 400px ; 
  height: auto;
} 
.list {list-style-type: square;}
/*
.card-container {
    display: flex;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.card {
    flex: 1;
    min-width: 250px;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.card h3 {
    color: #2980b9;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
*/

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #tabs-tops a {
        width: 25%;
        padding: 14px 12px;
        font-size: 14px;
    }
    
    #tabs-tops a i {
        display: block;
        margin: 0 auto 5px;
        font-size: 18px;
    }
    
    #header h1 {
        font-size: 1.8rem;
    }
    
    #header p {
        font-size: 0.9rem;
        padding: 0 15px;
    }
    
    .sidenav {
        padding-top: 50px;
    }
    
    .sidenav a {
        font-size: 1rem;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    #tabs-tops a {
        width: 33.33%;
        padding: 12px 8px;
        font-size: 12px;
    }
    
    .card {
        min-width: 100%;
    }
    
    .menu-btn {
        font-size: 1.2rem;
        padding: 4px 8px;
    }
    
    #header h1 {
        font-size: 1.5rem;
        margin-top: 10px;
    }
}


/*========store.html=======*/
.store-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* aligns cards from left to right */
    gap: 10px;
    padding: 20px;
}
.store-card img{
    width:100%;
    max-width: 300px;
    height: 300px;
    padding:10px;
    

}
.store-card {
    display: flex;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    max-width: 320px;
    margin: 10px;
    text-align: center;
    font-family: arial;
    width: 100%;
}

/*==========QR-COde-videos-on-the-book========*/
#info-box-full{
    background: rgba(255,255,255,.8);
    width: 90%;
    display:block;
    margin:auto;
    margin-top: 12px;
    padding:10px;
}
#info-box-full img{
    width: 100%;

}
#info-box-full h3{
    text-align: center;
}


/*========Lemana College========*/

/* Flipbook container (unique ID) */
#lemana-flipbook-container {
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  margin: 0;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
}

/* Flipbook wrapper (unique class) */
.lemana-flipbook-wrapper {
  max-width: 900px;
  width: 100%;
}

/* Flipbook element (unique ID) */
#lemana-flipbook {
  width: 800px;
  height: 600px;
  margin: 20px auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Pages (scoped class) */
.lemana-page {
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.lemana-page img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Controls (scoped class) */
.lemana-controls {
  margin: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

/* Buttons (scoped IDs) */
.flipbody {
    display: grid;
    place-content: center;
    height: 100vh;
    width: 100vw;
	overflow: hidden;
	background: #f1c40f;
}

.flipbook {
    width: 1000px;
    height: 600px;
}

.flipbook .hard {
    background: #c0392b !important;
    color: #fff;
    font-weight: bold;
    border: none; 
}

.flipbook .hard small{
	font-style: italic;
	font-weight: lighter;
	opacity: 0.7;
	font-size: 14px;
}

.flipbook .page {
    background: white;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
    gap: 10px;
    border: 1px solid rgba(0, 0, 0, 0.11);
}

.page img{
	width: 70%;
	object-fit: cover;
	margin: auto;
}

.flipbook .page small{
	font-size: 14px;
    margin-bottom: 10px;
}

/*===========Belwo============*/
footer {
            background: #1a2a6c;
            color: white;
            text-align: center;
            padding: 30px;
            margin-top: 40px;
        }
        
        .contact-info {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 30px;
            margin-top: 20px;
        }

/*================Lemana image scroll========*/

.scroll-container {
    background-color: #fff;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px;
    display: flex;
    gap: 20px;
    height: 85vh; 
    align-items: center; 
}


.page {
    
    flex: 0 0 auto;
    height: 75vh;           /* full screen height */
    aspect-ratio: 210 / 275; /* A4 ratio */
    background: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    border: 1px solid #ccc;
    position: relative;
    overflow: hidden;
}

/* Image fills the page area */
.page img {
    width: 100%;
    height: 100%;
    object-fit: contain;  /* whole image fits, no cropping */
}


/*===========Shrinking==========*/
@media (max-width: 1024px) {
    /* Keep original height */
    #header {
        height: 120px;
    }

    #header h1 {
        font-size: 1.8rem;
    }

    #header p {
        font-size: 0.95rem;
    }

    #tabs-tops a {
        font-size: 0.9rem;
        padding: 14px 16px;
        width: auto;
    }

    .sidenav a {
        font-size: 1rem;
    }

    .box {
        width: 280px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    #header {
        height: 120px; /* unchanged */
    }

    #header h1 {
        font-size: 1.4rem;
    }

    #header p {
        font-size: 0.85rem;
    }

    .menu-btn {
        font-size: 1.2rem;
        top: 10px;
        left: 15px;
        padding: 3px 8px;
    }

    #tabs-tops a {
        padding: 12px 10px;
        font-size: 0.8rem;
    }

    .sidenav a {
        font-size: 0.9rem;
        padding: 10px 18px;
    }

    .box {
        width: 240px;
        height: 180px;
    }

    .content-section img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    #header {
        height: 120px; /* unchanged */
    }

    #header h1 {
        font-size: 1.2rem;
        margin-top: 10px;
    }

    #header p {
        font-size: 0.75rem;
        padding: 0 10px;
    }

    #tabs-tops a {
        font-size: 0.7rem;
        padding: 10px 6px;
    }

    .sidenav a {
        font-size: 0.8rem;
        padding: 8px 16px;
    }

    .box {
        width: 180px;
        height: 140px;
    }

    .content-section {
        padding: 20px;
        margin: 20px 0;
    }

    .store-card img {
        max-width: 100%;
        height: auto;
    }

    .flipbook, #lemana-flipbook {
        width: 100%;
        height: auto;
    }
}


/*======video shrinking=======*/

iframe, video {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin: 20px 0;
}


@supports not (aspect-ratio: 16 / 9) {
    iframe, video {
        position: relative;
        height: 0;
        padding-bottom: 56.25%;
    }

    iframe, video {
        position: absolute;
        top: 0;
        left: 0;
    }
}

/*=========Fill information======*/

    .contact-form-container {
        max-width: 800px;
        margin: 0 auto;
    }
    
    .form-row {
        display: flex;
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .form-row .form-group {
        flex: 1;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: #2c3e50;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 12px 15px;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        font-size: 1rem;
        transition: all 0.3s ease;
        background: #f8f9fa;
    }
    
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        border-color: #2980b9;
        background: white;
        outline: none;
        box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.1);
    }
    
    .submit-btn {
        background: #2c5530;
        color: white;
        border: none;
        padding: 15px 30px;
        font-size: 1.1rem;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        display: block;
        width: 100%;
        font-weight: 600;
    }
    
    .submit-btn:hover {
        background: #1e3a23;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
    
    .success-message {
        background: #d4edda;
        color: #155724;
        padding: 20px;
        border-radius: 8px;
        margin-top: 20px;
        text-align: center;
        border: 1px solid #c3e6cb;
    }
    
    .success-message i {
        font-size: 2rem;
        margin-bottom: 10px;
        display: block;
    }
    
    /* WhatsApp Floating Button */
    .whatsapp-float {
        position: fixed;
        bottom: 25px;
        right: 25px;
        background: #25D366;
        color: white;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 30px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        z-index: 1000;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        animation: pulse 2s infinite;
    }
    
    .whatsapp-float:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    }
    
    @keyframes pulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.05); }
        100% { transform: scale(1); }
    }
    
    /* Responsive Design */
    @media (max-width: 768px) {
        .form-row {
            flex-direction: column;
            gap: 0;
        }
        
        .whatsapp-float {
            bottom: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            font-size: 24px;
        }
    }