body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
}

body,
ul,
li,
button {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Container for Content */

.container-gate {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #f8f9fa;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: box-shadow 0.3s ease-in-out;
}

.container-gate:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


/* Media Query for Small Screens */

@media (max-width: 768px) {
    .menu-toggle {
        margin-top: 10px;
    }
    .site-name {
        font-size: 1em;
    }
}


/* from here the intro parts start
  s
  t
  a
  rt
  */

.header-gate {
    color: #005bb5;
    text-align: center;
    padding: 10px 05px;
    border-radius: 8px;
    margin-top: 2rem;
}

.header-gate h1 {
    font-size: 3rem;
    margin: 0;
}

.section1 {
    background-color: #ffffff;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.7);
    border-radius: 12px;
    transition: transform 0.3s;
}

.section1:hover {
    transform: translateY(-5px);
}

.section1 h2 {
    color: #0073e6;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.section1 p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 20px;
}


/* Scrollable benefits container */

.benefits-container {
    overflow-x: auto;
    padding-bottom: 15px;
}

.benefits {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
}

.benefit-card {
    background: #e6f2ff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    min-width: 280px;
    max-width: 320px;
    box-sizing: border-box;
    overflow: hidden;
    transition: box-shadow 0.3s ease-in-out;
    opacity: 0;
    transform: translateX(100%);
    animation: slideIn 0.5s ease forwards;
}


/* Adding delays to each card */

.benefit-card:nth-child(1) {
    animation-delay: 0.2s;
}

.benefit-card:nth-child(2) {
    animation-delay: 0.4s;
}

.benefit-card:nth-child(3) {
    animation-delay: 0.6s;
}

.benefit-card:nth-child(4) {
    animation-delay: 0.8s;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.benefit-card img {
    width: 50px;
    height: 50px;
    margin-right: 20px;
    flex-shrink: 0;
}

.benefit-card h3 {
    font-size: 1.2rem;
    color: #0056b3;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-align: center;
    text-shadow: 2px 2px 2px wheat;
    text-overflow: ellipsis;
}

.benefit-card p {
    padding: 1.2rem;
    font-size: 0.9rem;
    color: #444;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* Media Queries for Responsive Design */

@media (max-width: 768px) {
    .benefit-card {
        min-width: 250px;
    }
}

@media (max-width: 480px) {
    .header-gate h1 {
        font-size: 2rem;
    }
    .section1 h2 {
        font-size: 1.8rem;
    }
}


/* General styles for headings */

.heading-sub {
    font-size: 24px;
    /* Font size for section headings */
    margin: 20px 0;
    /* Margin around headings */
    text-align: center;
    /* Center-align headings */
    font-weight: bold;
    /* Bold font for emphasis */
}


/* Card container for sub-sections */

.card-container-sub {
    display: flex;
    /* Use flexbox for layout */
    flex-wrap: wrap;
    /* Allow wrapping for responsiveness */
    justify-content: center;
    /* Center the cards horizontally */
    margin: 0 auto;
    /* Center the container */
    max-width: 1200px;
    /* Maximum width for the container */
}


/* Individual card styles */

.card-sub {
    background-color: #f9f9f9;
    /* Light background color for cards */
    border: 1px solid #ddd;
    /* Light border for cards */
    border-radius: 8px;
    /* Rounded corners */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    /* Soft shadow for depth */
    margin: 15px;
    /* Margin around each card */
    padding: 20px;
    /* Padding inside the card */
    flex: 1 1 calc(30% - 30px);
    /* Responsive width: three cards in a row */
    transition: transform 0.3s;
    /* Smooth transform on hover */
}


/* Card hover effect */

.card-sub:hover {
    transform: translateY(-5px);
    /* Lift effect on hover */
}


/* Highlighted text styles */

.highlight-sub {
    font-weight: bold;
    /* Bold text for emphasis */
    color: #007bff;
    /* Primary color for highlights */
}


/* Container Styles */

.pattern-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


/* Title Styles */

.pattern-title {
    text-align: center;
    color: #007BFF;
    margin-bottom: 30px;
    font-size: 2em;
}


/* Section Styles */

.pattern-section {
    margin-bottom: 25px;
}

.section-heading {
    color: #0056b3;
    font-size: 1.5em;
    border-bottom: 2px solid #007BFF;
    padding-bottom: 5px;
}

.details-list {
    margin-left: 20px;
}

.detail-item {
    margin-bottom: 10px;
}


/* Question Type Styles */

.question-type {
    margin-left: 20px;
}

.type-heading {
    color: #007BFF;
    font-size: 1.2em;
}

.question-details {
    margin-left: 20px;
}

.marking-scheme {
    margin-left: 20px;
    background-color: #e9f7fd;
    padding: 10px;
    border-left: 4px solid #007BFF;
    border-radius: 4px;
}


/* Distribution Styles */

.distribution-item {
    margin-left: 20px;
    padding: 10px;
    background-color: #f8f9fa;
    border-left: 4px solid #007BFF;
    border-radius: 4px;
}

.distribution-title {
    color: #333;
    font-size: 1.3em;
}


/* Marking Scheme Styles start
  s
  t
  a
  r
  t */

.marking-scheme-item {
    margin-left: 20px;
}

@media (max-width: 600px) {
    .pattern-container {
        padding: 15px;
    }
    .pattern-title {
        font-size: 1.5em;
    }
    .section-heading {
        font-size: 1.3em;
    }
    .type-heading,
    .distribution-title {
        font-size: 1.1em;
    }
}

.cta-container {
    background: #ffffff;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.cta-text {
    font-size: 1.2em;
    color: #333333;
}

.cta-link {
    display: inline-block;
    background: #3498db;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s, transform 0.3s;
}

.cta-link:hover {
    background: #2980b9;
    transform: translateY(-3px);
}


/* syllabus 
  t
  a
  r
  t*/

.syllstart {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.container-syll {
    max-width: 800px;
    width: 100%;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.section-syll {
    margin-bottom: 40px;
}

.heading-syll {
    font-size: 2em;
    margin-bottom: 15px;
    color: #34495e;
}

.sub-heading-syll {
    font-size: 1.4em;
    margin-top: 25px;
    color: #2980b9;
}

.text-syll {
    font-size: 1em;
    color: #666666;
    line-height: 1.6;
    margin: 10px 0;
}

.content-box-syll {
    background: #f7f9fb;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

.highlight-syll {
    font-weight: bold;
    color: #2c3e50;
}

.cta-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #3498db;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: background 0.3s, transform 0.3s;
}

.cta-link:hover {
    background: #2980b9;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .container-syll {
        padding: 20px;
        width: 95%;
    }
    .heading-syll {
        font-size: 1.8em;
    }
    .sub-heading-syll {
        font-size: 1.2em;
    }
    .text-syll {
        font-size: 0.95em;
    }
}


/* makrs weightage start s
   t
   a
   r
   t*/

.weightage-container {
    font-family: 'Arial', sans-serif;
    padding: 20px;
    max-width: 1000px;
    margin: 3rem auto;
    background: linear-gradient(135deg, #e0eafc, #cfdef3);
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
    /* Allow horizontal scrolling for tables */
}

.weightage-heading {
    font-size: 2em;
    color: #34495e;
    text-align: center;
    margin-bottom: 20px;
}

.sub-heading {
    font-size: 1.5em;
    color: #2980b9;
    margin-top: 25px;
}

.weightage-text {
    font-size: 1em;
    color: #666666;
    line-height: 1.6;
    margin: 10px 0;
}

.table-wrapper {
    overflow-x: auto;
    /* Enable horizontal scrolling if the table is too wide */
}

.weightage-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.weightage-table th,
.weightage-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    word-wrap: break-word;
    /* Prevent overflow of text in cells */
}

.weightage-table th {
    background-color: #2980b9;
    color: white;
}

.weightage-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.weightage-table tr:hover {
    background-color: #ddd;
}

@media (max-width: 768px) {
    .weightage-heading {
        font-size: 1.8em;
    }
    .sub-heading {
        font-size: 1.2em;
    }
    .weightage-text {
        font-size: 0.95em;
    }
}

.gate-info-container-link {
    font-family: 'Arial', sans-serif;
    padding: 20px;
    max-width: 600px;
    margin: 50px auto;
    background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.gate-heading-link {
    font-size: 2em;
    color: #00796b;
    text-align: center;
    margin-bottom: 20px;
}

.link-container {
    margin: 15px 0;
    text-align: center;
}

.gate-link {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1em;
    font-weight: bold;
    color: white;
    background-color: #00796b;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.gate-link:hover {
    background-color: #004d40;
}

@media (max-width: 600px) {
    .gate-heading-link {
        font-size: 1.8em;
    }
    .gate-link {
        padding: 8px 15px;
        font-size: 0.9em;
    }
}


/* alumni s
  t
  a
  r
  t
  */

.alumni-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.slider-wrapper {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease-in-out;
    will-change: transform;
}

.alumni-card {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #ffffff, #e0f7fa);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.alumni-card:hover {
    transform: translateY(-10px);
}

.alumni-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.alumni-title {
    font-size: 1.5em;
    color: #00796b;
    margin-bottom: 10px;
}

.alumni-subtitle {
    font-weight: bold;
    margin-bottom: 10px;
    color: #004d40;
}

.alumni-description {
    font-size: 1em;
    line-height: 1.5;
    color: #333;
    text-align: center;
}

.slider-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.slider-button {
    background-color: #00796b;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background-color 0.3s;
}

.slider-button:hover {
    background-color: #004d40;
}

@media (max-width: 768px) {
    .alumni-container {
        max-width: 95%;
        overflow: hidden;
    }
    .alumni-card {
        flex: 0 0 80%;
    }
    .slider-button {
        padding: 8px;
    }
}

.alumni-h {
    display: flex;
    justify-content: center;
    font-size: 2rem;
}