* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.5;
    background-color: #f9fafb;
    color: #222;
}

p {
    line-height: 28px;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-3 {
    margin-bottom: 24px !important;
}

/*HEADER RULES*/
.site-header {
    background-color: #000;
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 80px;
}

.container {
    display: grid;
    padding: 0 30px;
    max-width: 100%;
    margin: 0 auto;
    grid-template-columns: 420px auto;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    position: relative;
    padding-left: 110px;
    line-height: 80px;
}

.logo img {
    width: 100px;
    position: absolute;
    left: 0;
    top: 13px;
}

#primary-navigation {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: space-between;
}

.nav ul {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
    list-style: none;
}

.nav a {
    text-decoration: none;
    color: #fff;
    font-weight: 400;
    transition: color 0.2s ease;
    padding: 0px 25px;
    line-height: 36px;
    display: block;
}

.nav a:hover,
.nav a:focus,
.nav a.active {
    color: #000000;
    outline: none;
    background-color: #FFF;
    border-radius: 6px;
}

.enquiry {
    background: #FF0000 !important;
    color: #FFF !important;
    text-decoration: none !important;
    padding: 0 25px !important;
    line-height: 44px;
    display: inline-block !important;
    border-radius: 6px;
    font-size: 14px;
    margin-right: 30px;
}

.contact {
    text-align: right;
}

.contact a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
}

.contact img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);
    margin-bottom: -4px;
    margin-right: 10px;
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 1.8rem;
    display: none;
    cursor: pointer;
    color: #fff;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 1200px) {
    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 22px;
    }

    .container {
        grid-template-columns: 1fr;
    }

    #primary-navigation {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #FFF;
        transform: translateY(-200%);
        opacity: 0;
        transition: all 0.3s ease;
        display: block;
    }

    #primary-navigation.open {
        transform: translateY(0);
        opacity: 1;
        box-shadow: rgba(0, 0, 0, 0.20) 0px 0px 20px 0px;
    }

    .nav ul {
        display: block;
        padding: 20px;
    }

    .nav a {
        display: block;
        width: 100%;
        padding: 6px 20px;
        text-align: left;
        color: #000000;
    }

    .nav a:hover,
    .nav a:focus,
    .nav a.active {
        text-align: left;
        padding: 6px 20px;
        color: #FFFFFF;
        background: #000000;
    }

    .contact {
        display: block;
        text-align: center;
        margin-top: 0;
        padding: 0px 20px 15px 20px;
    }

    .contact a {
        font-weight: 600;
        text-decoration: none;
        padding: 0.75rem 0;
        display: block;
        background: #DDD;
        color: #000;
        border-radius: 6px;
    }

    .contact img {
        filter: brightness(0) saturate(100%) invert(0%) sepia(1%) saturate(6%) hue-rotate(58deg) brightness(98%) contrast(100%);
    }

    .contact{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}
}

@media (max-width: 500px) {
    .logo span {
        display: none;
    }
    .contact{
    display: grid;
    grid-template-columns: 100%;
    gap: 20px;
}

.enquiry{margin: 0px;}
}



/* Hero Section */

.hero-section {
    height: calc(100vh - 80px);
    display: flex;
    align-items: stretch;
    background-color: #f9fafb;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    height: 100%;
}

.hero-image {
    background: url(../images/home-banner.jpg);
    background-size: cover;
    background-position: -60px;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}

.hero-content {
    background-color: #fff;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 300;
    color: #000;
    margin-bottom: 0.5rem;
}

.hero-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 1rem;
}

.hero-content p {
    color: #333;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 90%;
}

.cta-btn {
    background-color: #000000;
    color: #fff;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    width: fit-content;
    border: #000000 1px solid;
    transition: background-color 0.3s ease;
}

.cta-btn:hover,
.cta-btn:focus {
    background-color: #FFFFFF;
    border: #000000 1px solid;
    outline: none;
    color: #000000;
}

@media (max-width: 768px) {
    .hero-section {
        height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-image {
        height: 40vh;
        background-position: left;
    }

    .hero-content {
        height: auto;
        padding: 2rem 1.5rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 1.25rem;
    }

    .hero-content p {
        max-width: 100%;
    }

    .cta-btn {
        margin: 0 auto;
    }
}



/* Study Abroad Section */
.study-abroad-section {
    padding: 60px 30px;
    background-color: #f9fafb;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    font-weight: 500;
    color: #000;
    margin-bottom: 15px;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-items: center;
    padding-top: 40px;
}

.country-card {
    background: #fff;
    border: 1px dashed #DDD;
    border-radius: 8px;
    overflow: hidden;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.country-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.image-wrapper img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.image-wrapper::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.0) 100%);
}

.country-name {
    position: absolute;
    bottom: 10px;
    left: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    z-index: 2;
}

.country-desc {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: left;
    line-height: 1.5;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.universities {
    font-weight: 600;
    color: #000;
    text-align: left;
}

.universities span {
    color: #545454;
    text-transform: uppercase;
    display: block;
    font-size: 12px;
}

.learn-more {
    background-color: #000;
    border: #000000 1px solid;
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 400;
    transition: background-color 0.3s ease;
    font-size: 13px;
}

.learn-more:hover,
.learn-more:focus {
    background-color: #FFFFFF;
    border: #000000 1px solid;
    color: #000000;
    outline: none;
}

@media (max-width: 768px) {
    .country-card {
        max-width: 100%;
    }

    .country-desc {
        text-align: center;
    }

    .card-footer {
        flex-direction: column;
        gap: 0.5rem;
    }

    .universities {
        text-align: center;
    }
}



/* Footer Styles */

.site-footer {
    background-color: #000;
    color: #ccc;
    padding: 60px 30px 20px;
    font-family: system-ui, sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: 50% 25% 25%;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-about {
    display: grid;
    grid-template-columns: 80px auto;
    gap: 20px;
    padding-right: 50px;
}

.footer-about p {
    line-height: 1.6;
    color: #ccc;
    margin-top: 0;
}

.footer-logo img {
    width: 80px;
    height: auto;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-links a:focus {
    color: #fff;
    outline: none;
}

.footer-contact a {
    color: #ccc;
    text-decoration: none;
}

.footer-contact a:hover,
.footer-contact a:focus {
    color: #fff;
    outline: none;
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    color: #888888;
    margin-right: 12px;
    font-size: 1.1rem;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover,
.social-links a:focus {
    color: #fff;
    transform: scale(1.1);
    outline: none;
}

.footer-bottom {
    border-top: 1px solid #333;
    text-align: center;
    margin-top: 40px;
    padding-top: 15px;
    color: #888;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

.whitesvg {
    filter: brightness(0) invert(1);
    width: 30px;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links a {
        margin-right: 8px;
    }
}


/* Services */
.page-title-section {
    background-color: #f2f2f2;
    text-align: center;
    padding: 80px 20px 60px;
    border-bottom: #CCC 1px dashed;
}

.page-title-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
}

.page-title-section p {
    max-width: 700px;
    margin: 0 auto;
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

.services-timeline {
    position: relative;
    background: #fff;
    padding: 80px 20px;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: #FFF;
    z-index: 1;
    border-right: #949494 1px dashed;
}

.timeline-item {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin: 50px 0;
}

.timeline-item .circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 15px;
    background-color: #949494;
    border-radius: 50%;
    z-index: 3;
}

.timeline-item .content {
    padding: 10px;
    width: 46%;
    border-radius: 8px;
    position: relative;
    z-index: 2;
}

.timeline-item .content h3 {
    margin-bottom: 10px;
    color: #000;
    font-size: 1.3rem;
}

.timeline-item .content p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

.timeline-item.left {
    justify-content: flex-start;
}

.timeline-item.left .content {
    margin-right: auto;
    text-align: right;
}

.timeline-item.right {
    justify-content: flex-end;
}

.timeline-item.right .content {
    margin-left: auto;
    text-align: left;
}

@media (max-width: 768px) {
    .timeline-container {
        padding-left: 50px;
    }

    .timeline-container::before {
        left: 15px;
    }

    .timeline-item {
        flex-direction: column;
        margin: 0px 0 50px 0;
        position: relative;
    }

    .timeline-item .circle {
        left: -42px;
        top: 26px;
        transform: translateY(-50%);
    }

    .timeline-item .content {
        width: 100%;
        margin: 0;
        text-align: left !important;
    }
}


/* About Us */
.about-us {
    padding: 100px 0;
    width: 100%;
    max-width: 1000px;
    margin: 0px auto;
}

.about-us h2 {
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 12px;
}

.about-us p {
    font-size: 16px;
    padding-bottom: 30px;
}

.about-us p strong {
    font-weight: 600;
}

.about-us h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
    margin-top: 20px;
}

.about-us ul {
    margin: 0;
    padding: 0 0 30px 40px;
}

.about-us ul.trust-list {
    padding: 0 0 30px 20px;
}

.about-us ul.trust-list li {
    list-style: none;
}

.check-green {
    filter: brightness(0) saturate(100%) invert(53%) sepia(44%) saturate(503%) hue-rotate(104deg) brightness(96%) contrast(88%);
}

/*Contact Us*/
.contact-section {
    background-color: #f9fafb;
    padding: 80px 20px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Contact Info */
.contact-info h2 {
    font-size: 2rem;
    color: #000;
    margin-bottom: 10px;
}

.contact-info p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-details {
    list-style: none;
    margin-bottom: 20px;
}

.contact-details li {
    margin-bottom: 10px;
    color: #333;
    font-size: 0.95rem;
}

.contact-details a {
    color: #0078d7;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.map-container iframe {
    width: 100%;
    height: 250px;
    border-radius: 8px;
}

/* Enquiry Form */
.contact-form {
    background: #fff;
    border: 1px dashed #000;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-form h2 {
    color: #000;
    margin-bottom: 0;
}

.contact-form p {
    color: #666;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #222;
}

.form-group input,
.form-group textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0078d7;
    outline: none;
}

.btn-submit {
    display: block;
    background-color: #000000;
    color: #fff;
    font-weight: 400;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 100%;
}

.btn-submit:hover {
    background-color: #FFFFFF;
    color: #000000;
    border: #000000 1px solid;
}

.mandatory {
    color: #DB0000;
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .map-container iframe {
        height: 200px;
    }
}

/* Universities Card */
.universities-section {
    padding: 60px 30px;
    background: #f9fafb;
    color: #222;
    text-align: center;
}

.universities-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #000;
}

.university-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.university-card {
    background: #fff;
    border-radius: 12px;
    border: 1px dashed #DDD;
    padding: 20px;
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.university-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.univ-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.univ-content {
    padding: 0;
}

.univ-content .country {
    color: #555;
    margin-bottom: 0.5rem;
}

.univ-content .rank {
    color: #0078d7;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

@media (max-width: 1000px){
.university-grid, .card-container {
    grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 600px){
.university-grid, .card-container {
    grid-template-columns: 100%;
}
}

/* Responsive */
@media (max-width: 768px) {
    .universities-section {
        padding: 40px 15px;
    }

    .univ-content h3 {
        font-size: 1.1rem;
    }
}



/* Popup Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: opacity 0.3s ease;
}

.modal[hidden] {
  opacity: 0;
  pointer-events: none;
}

.modal-content {
  background: #fff;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  padding: 25px 30px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  position: relative;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-content h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: #0078d7;
}

.modal-content p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #555;
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
  color: #0078d7;
}

/* Responsive */
@media (max-width: 600px) {
  .modal-content {
    padding: 20px;
  }
}
