@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@100;400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap");
/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: rgba(248, 250, 255, 1);
    overflow-x: hidden;
}

/* Header Section */
header {
    background: #fff;
    /* padding: 15px 20px; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 10px 5%; */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
} 

.contact-content h4 {
  font-family: "Open Sans";
  font-weight: 700;
  font-size: 12px;
  color: rgba(0, 24, 55, 1);
  /* line-height: 22px; */
  text-transform: uppercase;
  border: 2px solid #1f3a67;
  padding: 7px 14px;
  display: inline-block; /* Ensures the border wraps around the text only */
  text-align: center;
  width: auto;
  border-radius: 30px;
  vertical-align: middle;
  margin-top: -28px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(248, 250, 255, 0.65);
    padding: 15px 30px;
    position: sticky;
    gap: 20px; /* Adjust spacing between elements */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    top: 0;
    
}

/* Logo Styling */
.logo img {
    height: 80px; /* Adjust the height as needed */
    width: auto;
    display: block;
}

/* Center logo in navigation */
.logo {
    display: flex;
    align-items: center;
    margin-left: -200px; /* Move the logo a bit to the left */
}


.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    position: relative;
    margin: 0 15px;
}

.nav-links a {
    font-family: 'Raleway';
    color: rgba(23, 25, 62, 1);
    font-size: 18px;
    transition: 0.3s;
    text-decoration: none;
    line-height: 19.5px;
    font-weight: 500;
}

.nav-links a:hover {
    color: rgba(55, 114, 255, 1);
    text-decoration: underline;
    text-underline-offset: 10px;
}

.nav-button {
    background: rgba(28, 40, 86, 1);
    color: rgba(255, 255, 255, 1);
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    border-radius: 30px;
    transition: 0.3s;
    height: 60px;
    width: 163px;
    line-height: 34px;
    font-weight: 600;
    font-family: 'Raleway';
}

.nav-button:hover {
    background: rgba(55, 114, 255, 1);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    list-style: none;
    width: 230px;
    padding: 10px 0;
    border-radius: 0px 0px 30px 30px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 1001;
}

.dropdown-menu li {
    padding: 10px;
    text-align: left;
}

.dropdown-menu a {
    color: #1f3a67;
    font-size: 20px;
    text-decoration: none;
    display: block;
    padding: 8px 15px;
}

.dropdown-menu a:hover {
    background: #1f3a67;
    color: #fff;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    font-size: 24px;
    color: #1f3a67;
    cursor: pointer;

}

/* Style for dividers */
.divider {
    border-top: 1px solid #888; /* Line color */
    margin: 2px 0; /* Spacing above and below */
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}


.nav-links a.active {
    font-weight: bold;
    color: rgba(23, 25, 62, 1); /* Same as hover effect */
    text-decoration: underline;
    text-underline-offset: 10px;
}


@media (max-width: 768px) {
    body{
        overflow-x: hidden;
       }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        background: #fff;
        width: 100%;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        background: #fff;
        margin-top: 10px;
    }

    .dropdown-menu a {
        padding: 10px;
    }

    .hamburger {
        display: block;
    }
    .logo img {
        height: 50px; /* Adjust the height as needed */
        width: auto;
        display: block;
        margin-left: 190px;
    }
    .main{
        margin-left: 20px;
        margin-right: 20px;
    }

    .nav-button {
        background: #1f3a67;
        color: white;
        padding: 10px 15px;
        border: none;
        cursor: pointer;
        font-size: 14px;
        border-radius: 30px;
        transition: 0.3s;
        width: 130px;
        margin-left: 30px;
    }
    
    
}

/*---------------------------------------------------------------------------------------*/
.contact-info1 {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    padding: 70px 10px;
    margin-top: 90px;
}

/* Info Box */
.info-box {
    width: 100%;
    max-width: 298px;
    height: 300px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 20px;
    border-radius: 20px;
    position: relative;
    background-size: 100%; 
    background-repeat: no-repeat;
    background-position: center;
}

/* Background images */
.mail-box {
    background-image: url('https://techeon-objects.s3.ap-south-1.amazonaws.com/Easy_admission_webcontactus/container4.png');
}
.location-box {
    background-image: url('https://techeon-objects.s3.ap-south-1.amazonaws.com/Easy_admission_webcontactus/Container1.png');
}
.call-box {
    background-image: url('https://techeon-objects.s3.ap-south-1.amazonaws.com/Easy_admission_webcontactus/Container2.png');
}
.working-box {
    background-image: url('https://techeon-objects.s3.ap-south-1.amazonaws.com/Easy_admission_webcontactus/Container3.png');
}

/* Heading Styling */
.info-box h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: rgba(0, 24, 55, 1);
    margin-bottom: 10px;
    margin-top: 5vh;
}

/* Paragraph Styling */
.info-box p {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: rgba(106, 115, 145, 1);
    line-height: 22px;
}

/* Add arrow icon inside the bottom-right cutout */
.info-box i {
    position: absolute;
    bottom: 5px;
    right: 5px;
    font-size: 24px;
    color: rgba(55, 114, 255, 1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-info1 {
        flex-direction: column;
        align-items: center;
        padding: 40px;
    }

    .info-box {
        width: 90%;
        max-width: 400px;
        min-height: 320px;
    }

    body{
        overflow-x: hidden;
       }
}

@media (max-width: 768px) {
    .info-box {
        width: 95%;
        max-width: 380px;
        min-height: 300px;
        padding: 30px;
        background-size: contain; /* Adjust background image */
        background-repeat: no-repeat;
        padding-left: 60px;
    }

    .info-box h3 {
        font-size: 20px;
    }

    .info-box p {
        font-size: 14px;
        line-height: 20px;
    }
}

@media (max-width: 480px) {
    .info-box {
        width: 100%;
        max-width: 360px;
        min-height: 280px;
        padding: 20px;
        background-size: contain; /* Ensures the image fits the box */
        background-position: top;
    }

    .info-box h3 {
        font-size: 120%;
        margin-left: 15%;
    }

    .info-box p {
        font-size: 80%;
        line-height: 140%;
        margin-left: 15%;
    }

    body{
        overflow-x: hidden;
       }
}



.contact-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 40px 5%;
    background: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    max-width: 800px;
    margin: auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form button {
    width: 100%;
    padding: 10px;
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

/* HERO SECTION */
.hero {
    background: url('https://techeon-objects.s3.ap-south-1.amazonaws.com/Easy_admission_webcontactus/contact.png') no-repeat center center;
    background-size: cover;
    height: 530px;
    max-width: 95%;
    min-height: 374px;
    padding: 0 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    position: relative;
    top: 50px;
    border-radius: 23px;
    margin: 0 auto;
    text-align: center;
}

/* OVERLAY CONTENT */
.overlay {
    width: 100%;
    padding-left: 8%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* HEADING */
.overlay h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 1);
    font-family: 'Raleway', sans-serif;
    text-align: left;
    margin-bottom: 10px;
}

/* SUBTEXT */
.overlay p {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 1);
    font-family: 'Open Sans', sans-serif;
    text-align: left;
    margin-top: 10px;
    letter-spacing: 0.75px;
    padding-left: 3px; /* Moves text slightly to the right */
}

/* RESPONSIVE STYLING */
@media (max-width: 1024px) {
    .hero {
        height: 400px;
        max-width: 90%;
        padding-left: 8px;
        padding-right: 8px;
    }

    .overlay h1 {
        font-size: 40px;
        line-height: 50px;
    }

    .overlay p {
        font-size: 15px;
        padding-left: 10px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 300px;
        max-width: 92%;
        padding: 10px;
        border-radius: 15px;
    }

    .overlay {
        align-items: center;
        text-align: center;
        padding-left: 0;
    }

    .overlay h1 {
        font-size: 35px;
        line-height: 45px;
        text-align: center;
    }

    .overlay p {
        font-size: 14px;
        padding-left: 0;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 220px;
        max-width: 95%;
        padding: 5px;
        border-radius: 10px;
    }

    .overlay h1 {
        font-size: 28px;
        line-height: 40px;
        text-align: center;
    }

    .overlay p {
        font-size: 12px;
        text-align: center;
        padding-left: 0;
    }
}



.contact-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 90px;
    background: #f8faff;
    flex-wrap: wrap;
    /* margin-top: -0px; */
}

.contact-content {
    width: 40%;
    text-align: left;
   margin-top: -350px;
}

.contact-content h2 {
    font-family: Raleway;
    font-size: 48.86px;
    font-weight: 600;
    color: rgba(0, 24, 55, 1);
    margin-bottom: 15px;
    line-height: 58.63px;
    vertical-align: middle;
    margin-top: -px;
}

.contact-content p {
    font-family: 'Open Sans';
    font-size: 18px;
    color: rgba(106, 115, 145, 1);
    line-height: 23.45px;
    margin-bottom: 20px;
    vertical-align: middle;
    font-weight: 400;
}

.contact-content ul {
    list-style: none;
    padding: 0;
}

.contact-content ul li {
    font-size: 16px;
    color: #2E384D;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-content ul li i {
    font-size: 20px;
    margin-right: 10px;
    color: rgba(55, 114, 255, 1);
}


.contact-image {
    width: 100%;
    max-width: 140px;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-top: -280px;
}

/* === Responsive Styles for Smaller Screens === */
@media (max-width: 1024px) {
    .contact-section {
        padding: 50px; /* Reduce padding */
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .contact-content,
    .form-container {
        width: 100%; /* Make both sections full width */
        text-align: center;
    }

    .contact-content h2 {
        font-size: 40px; /* Reduce heading size */
    }

    .contact-content p {
        font-size: 14px;
    }

    .contact-content ul li {
        font-size: 14px;
        justify-content: center; /* Center the icons and text */
    }

    .form-container {
        padding: 20px;
        min-height: auto; /* Allow it to adjust dynamically */
    }

    .contact-image {
        max-width: 100px; /* Make image smaller */
        margin: 0 auto 20px;
    }
}

/* Further Adjustments for Mobile Screens */
@media (max-width: 600px) {
    .contact-section {
        padding: 30px;
    }

      .contact-content h2 {
        font-size: 25px;
        margin-top: 1rem;
        line-height: 2rem;
    }

    .contact-content h4 {
  font-family: "Open Sans";
  font-weight: 700;
  font-size: 12px;
  color: rgba(0, 24, 55, 1);
  /* line-height: 22px; */
  text-transform: uppercase;
  border: 2px solid #1f3a67;
  padding: 7px 14px;
  display: inline-block; /* Ensures the border wraps around the text only */
  text-align: center;
  width: auto;
  border-radius: 30px;
  vertical-align: middle;
  margin-top: 20rem;
}


    .contact-content p {
        font-size: 14px;
    }

    .contact-content ul li {
        font-size: 13px;
    }

    .contact-content ul li i {
        font-size: 18px;
    }

    .form-container {
        padding: 15px;
    }

    .contact-image {
        max-width: 80px;
    }
}


.form-container {
    width: 50%;
    background: rgba(255, 255, 255, 1);
    padding: 40px;
    border-radius: 15px;
    min-height: auto;
    text-align: left;
}

.form-container h2 {
    font-family: 'Raleway';
    font-size: 40px;
    color: rgba(0, 24, 55, 1);
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: 20px;
    line-height: 48.86px;
    vertical-align: middle;
}

.form-container p {
    font-family: 'Open Sans';
    font-size: 16px;
    color: rgba(106, 115, 145, 1);
    margin-bottom: 60px;
    font-weight: 400;
    line-height: 23.45px;
    vertical-align: middle;
}

.form-container form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.form-container input,
.form-container textarea {
    width: 48%;
    padding: 20px;
    font-size: 15px;
    border-radius: 30px;
    border: 1px solid rgba(1, 25, 56, 0.2);
    /* background: transparent; */
    outline: none;
    transition: border 0.3s;
    font-family: 'Open Sans';
    font-weight: 400;
    line-height: 100%;
    vertical-align: middle;
}

.form-container input:focus,
.form-container textarea:focus {
    border-color: #3772FF;
}

.form-container textarea {
    width: 98%;
    height: 150px;
    border-radius: 20px;
   
}

.form-container label {
    font-family: 'Open Sans';
    font-size: 16px;
    color: rgba(106, 115, 145, 1);
    display: flex;
    align-items: center;
    gap: 10px; /* Reduces gap between checkbox and text */
    width: 100%;
    justify-content: flex-start; /* Aligns content to the left */
    margin-top: 30px;
    font-weight: 400;
    line-height: 21.89px;
    vertical-align: middle;
}

.form-container label input[type="checkbox"] {
    margin: 5px; /* Removes extra margins */
    width: 16px; /* Adjusts checkbox size if needed */
    height: 16px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .form-container label {
        font-size: 13px;
        gap: 2px; /* Keep gap minimal */
    }
}

@media (max-width: 480px) {
    .form-container label {
        font-size: 12px;
        gap: 1px; /* Further reduce gap on small screens */
    }
}


.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Adjust space between text and icon */
    padding: 15px;
    /* border-radius: 30px; */
    font-weight: bold;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    background: none;
    margin-top: 1rem;
   
}

.btn-icon {
    width: 250px; /* Adjust size as needed */
    height: 90px;
}



@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.btn:active {
    animation: blink 0.3s ease-in-out;
}



/* Responsive Styles */
@media (max-width: 1024px) {
    .form-container {
        width: 100%;
        padding: 30px;
    }

    .form-container input {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .form-container {
        padding: 20px;
    }

    .form-container input,
    .form-container textarea {
        font-size: 13px;
        padding: 12px;
    }

    .btn {
        padding: 12px;
        font-size: 14px;
    }
}



@media (max-width: 480px) {
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Adjust space between text and icon */
    padding: 15px;
    /* border-radius: 30px; */
    font-weight: bold;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    background: none;
   
}

.btn-icon {
    width: 250px; /* Adjust size as needed */
    height: 100px;
}
}



@media (max-width: 768px) {
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Adjust space between text and icon */
    padding: 15px;
    /* border-radius: 30px; */
    font-weight: bold;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    background: none;
  
   
}

.btn-icon {
    width: 250px; /* Adjust size as needed */
    height: 100px;
}
}


.send-btn {
  background-color: #3772ff; /* Techeon blue */
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.send-btn:hover {
  background-color: #265bcc;
  transform: scale(1.05);
}

.send-btn:active {
  transform: scale(0.97);
}




/* Add background images to each card */
