/*certificate certificate certitficate certitficate certitficate certitficate certitficate certitficate cc*/
.rtificate-section {
    text-align: center;
    padding: 20px;
}

.rtificate-section h2 {
    color: #333;
    font-size: 30px;
    margin-bottom: 20px;
}

.rtificates {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.rtificates img {
    width: 250px;
    height: auto;
    
    border-radius: 3px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.rtificates img:hover {
    transform: scale(1.05);
}


/* for eyes eyes eyes eyes eyes eyss eys eys eys eys eys eys eyes eyes eyes eyes eyes eyes eyes */
/* Eye Checkup Camp Section */
.eye-checkup {
    padding: 40px 40px 5px 40px;
    text-align: center;
    background-color: #f7f7f7;
    margin-top: 30px;;
    /* margin-bottom: 30px; */
}

.eye-checkup h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px;
}

.eye-checkup-details {
    text-align: left;
    margin: 0 auto;
    max-width: 1200px;
}

.eye-checkup-details h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.eye-checkup-details p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
}

.eye-checkup-details i {
    margin-right: 10px;
    color: #FF6600; /* Color for Font Awesome icons */
}

/* Responsive Styling */
@media (max-width: 768px) {
    .eye-checkup-details {
        padding: 0 20px;
    }
    .eye-checkup {
        padding: 0px;
       
    }
}


/*btn btn btn btn btn btn btn btn btn*/
.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;  /* Optional: adjust space from the top */
}

.more-info-btn {
    padding: 12px 20px;
    background-color: #FF6600;
    color: white;
    font-size: 16px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.more-info-btn:hover {
    background-color: #e65c00;
}


/* Image Gallery Section */
.imge-gallery {
    padding: 40px;
    text-align: center;
    background-color: #f7f7f7;
    /* margin-bottom: 30px; */
}



.imges {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.imge-item {
    width: 300px;
    height: 300px;
    object-fit: cover; /* Ensures the image covers the area without distortion */
    margin: 10px;
    border-radius: 5px;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .imges {
        flex-direction: column;
        align-items: center;
    }
    .imge-gallery {
        padding: 0px;
        
    }
    
    .imge-item {
        width: 90%; /* Makes images responsive */
    }
}




/* News Section Styling */
.news-section {
    padding: 40px;
    background-color: #f9f9f9;
    text-align: center;
}

.news-section h2 {
    font-size: 2.5rem;
    color:#FF6600;
    margin-bottom: 40px;
}

/* News Images Container */
.news-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

/* News Item Styling */
.news-item {
    flex: 1 1 calc(20% - 20px);
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Image Styling */
.news-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: opacity 0.3s ease;
}

/* News Details (Hidden by Default) */
.news-details {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background:#FF6600;
     /* rgba(0, 0, 0, 0.6); */
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    opacity: 0;
}

/* Show details on hover */
.news-item:hover .news-details {
    transform: translateY(0);
    opacity: 1;
}

/* News Details Paragraph */
.news-details p {
    font-size: 1rem;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-item {
        flex: 1 1 calc(50% - 20px);
        
    }
}

@media (max-width: 480px) {
    .news-item {
        flex: 1 1 100%;
    }
    .news-section {
      padding:5px;
      margin:10px;
    }
}


/* Container for tables */
.table-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

/* Box style for each table */
.table-box {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Heading style */
h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #FF6600;
}

/* Table styles */
.tableh {
    text-align: center;
    background-color: #FF6600;
    color: white;
    padding: 20px 0;
}

 .tableh h1 {
    font-size: 2.5em;
}


table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

th, td {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
}

th {
    background-color: #FF6600;
    color: white;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #ffebd3;
}

/* Media Query for smaller screens */
@media (max-width: 768px) {
    .table-container {
        flex-direction: column;
        align-items: center;
    }

    .table-box {
        width: 100%;
        margin-bottom: 20px;
    }
}