body {
    background: linear-gradient(135deg, #c5daf4 0%, #6c9ac5 100%);
    font-family: Arial, sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #261d57;
    color: #fff;
    padding: 0.2%;
    text-align: center;
    z-index: 1000;
}

nav a {
    position: relative;
    text-decoration: none;
    font-size: 1.2rem;
    color: #fff;
    margin: 0 1rem;
}

nav a::after {
    position: absolute;
    content: "";
    width: 100%;
    margin-top: 10px;
    height: 3px;
    top: 100%;
    left: 0;
    background: #fff;
    transition: transform 0.5s;
    transform: scaleX(0);
    transform-origin: center;
}

nav a:hover::after {
    transform: scaleX(1.2);
}

li {
    list-style: none;
}

ul {
    display: flex;
    justify-content: center;
    align-items: center;
}

#as_c_logo {
    height: 30px;
}
/* Footer Styles */
.footer {
  background: #03344d;
  color: #ddd;
  padding: 40px 20px 20px;
  font-size: 14px;
}

.footer a {
  color: #4CAF50;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 20px;
}

.footer-col h3 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-col p, 
.footer-col li {
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid #444;
  text-align: center;
  padding-top: 15px;
  font-size: 13px;
  color: #aaa;
}

#main {
    margin-top: 7%;   
}

.CALL {
    position: fixed;
    background-color: rgb(33, 41, 202);
    bottom: 85px;
    left: 20px;
    padding: 1%;
    border-radius: 30px;
}

.CALL a {  
    color: white;
    text-decoration: none;  
}

.SMS img {
    height: 50px;
    width: 40px;
    position: fixed;
    bottom: 85px;
    right: 25px;
}

.WHATSAPP img {
    height: 50px;
    width: 45px;
    cursor: pointer;
    position: fixed;
    bottom: 145px;
    right: 20px;
}

.SMS img:hover, .WHATSAPP img:hover, .CALL:hover {
    transform: scale(1.1);
}

/* Typing animation container */
.typing-container {
    margin-bottom: 15px;
    text-align: center;
}
.typing-text {
    font-size: 30px;
    font-weight: bold;
    color: #333;
    letter-spacing: 1px;
    animation: typing 2.5s steps(25, end), blink 0.8s step-end infinite;
    border-right: 3px solid #4CAF50;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    z-index: 2;
    background: linear-gradient(to right, #4CAF50 0%, #333 100%);
    -webkit-background-clip: text;
    color: transparent;
}
/* Typing effect */
@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 55%; /* Full width of the text */
    }
}

/* Cursor blinking effect */
@keyframes blink {
    25% {
        border-color: #333; /* Blinking cursor color */
    }
    50% {
        border-color: transparent;
    }
    75% {
        border-color: #333; /* Blinking cursor color */
    }
    100% {
        border-color: transparent;
    }
}

.bordered-container {
    width: 90%;
    max-width: 2000px;
    margin: 40px auto;
    padding: 20px 25px;
    background: #f0f9ff;
    border-radius: 15px;
    box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
}

/* Adding a Gradient Overlay Effect */
.bordered-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(120deg, rgba(76, 175, 80, 0.15), rgba(0, 150, 136, 0.15));
    opacity: 0.8;
    z-index: 0;
    pointer-events: none;
}
.bordered-item {
    flex: 1;
    max-width: 50%;
    border-radius: 8px;  
}

.home-para{
    padding: 2%;
    font-size: large;
}
.home-para p {
    font-size: 18px;
    line-height: 1.75;
    color: #333;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    border-left: 4px solid #4CAF50;
    box-shadow: 3px 5px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.home-para p::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.home-para p:hover::before {
    opacity: 0.4;
}

.home-para p:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.02);
    box-shadow: 3px 7px 25px rgba(0, 0, 0, 0.2);
}

/* Keyframes for Typing Animation */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}
.home-content {
    display: flex;
    align-items: center;
}

#AS-Logo {
    color: #4CAF50;
    font-weight: bold;
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel {
    display: flex;
    width: 100%;
    transition: transform 1s ease;
}

.carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 30px;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.carousel-container:hover .prev,
.carousel-container:hover .next {
    background-color: rgba(0, 0, 0, 0.7);
}

.content-box {
    background-color: #f8f9fa;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 8px;
    max-width: 1200px;
    margin: 20px auto;
}

.content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.content-col h3 {
    margin-bottom: 10px;
    color: #333;
}

.content-col p {
    color: #555;
    line-height: 1.6;
}

.content-col {
    flex: 1 1 calc(33.333% - 20px);
    background-color: #fff;
    border: 1px solid #3249f6;
    border-radius: 5px;
    padding: 15px;
    text-align: left;
    box-shadow: 5px 5px rgba(27, 157, 250, 0.779);
}



/* Background animation with gradient layers */
  #about {
    background: linear-gradient(135deg, #4a90e2, #ff6f61, #50b3a2, #ffae42);
    background-size: 600% 600%;
    animation: backgroundGradient 20s infinite alternate;
    padding: 80px 20px;
    font-family: Arial, sans-serif;
    color: #333;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes backgroundGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* Main container styling with shadow and depth */
.about-container {
    max-width: 900px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 60px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* 3D Tilt Effect */
.about-container:hover {
    transform: perspective(1000px) rotateX(3deg) rotateY(3deg);
}

/* Animated header with underline */
.about-header h1 {
    font-size: 3.4rem;
    font-weight: bold;
    margin: 0;
    color: #ff6f61;
    position: relative;
    display: inline-block;
    animation: fadeSlide 1s ease forwards;
}

/* Underline with animation */
.about-header h1::after {
    content: '';
    width: 100%;
    height: 4px;
    background-color: #4a90e2;
    position: absolute;
    left: 0;
    bottom: -8px;
    animation: underlineSlide 1s 0.5s ease forwards;
}

@keyframes underlineSlide {
    from { width: 0; }
    to { width: 100%; }
}

/* Fade and slide-in animation for paragraphs */
.about-content p {
    font-size: 1.2rem;
    margin: 20px 0;
    color: #555;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.about-content p:nth-child(2) { animation-delay: 0.2s; }
.about-content p:nth-child(3) { animation-delay: 0.4s; }
.about-content p:nth-child(4) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Button with pulsating hover effect */
.about-button {
    display: inline-block;
    margin-top: 40px;
    padding: 16px 32px;
    color: #fff;
    background: linear-gradient(90deg, #ff6f61, #4a90e2);
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.about-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

/* Vibrant gradient text effect */
.highlight {
    background: linear-gradient(90deg, #4a90e2, #ff6f61);
    -webkit-background-clip: text;
    color: transparent;
    font-weight: bold;
}

/* Fade-in and floating quote effect */
.about-quote {
    font-style: italic;
    color: #777;
    margin-top: 40px;
    font-size: 1.3rem;
    opacity: 0;
    animation: fadeInFloat 1.2s ease 0.8s forwards;
}

@keyframes fadeInFloat {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* General Page Styling */
#services {
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    padding: 80px 20px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    text-align: center;
    width: 100vw;
}

/* Header Styling */
#services h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #2a7fbb;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15);
}

/* Introduction Text */
.intro-text {
    font-size: 1.2rem;
    color: #555;
    margin-top: 20px;
    max-width: 800px;
    margin: 20px auto;
    font-weight: 300;
    line-height: 1.6;
    background: rgba(255, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Service List Container */
.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Individual Service Item */
.service-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    color: #333;
    font-size: 1.1rem;
    text-align: left;
}

/* Service Title Styling */
.service-title {
    font-size: 1.6rem;
    font-weight: bold;
    color: #2a7fbb;
    margin-bottom: 12px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
}

/* Hover Effect for Service Items */
.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: #f0f9ff;
}

/* Decorative Line Below Title */
.service-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: rgb(8, 252, 73); /* Initial color */
    margin-top: 8px;
    transition: background 0.3s, width 0.3s; /* Smooth color and width transition */
}

/* Hover Effect: Change Line Color to Green and Expand Width */
.service-item:hover .service-title::after {
    width: 100%;
    background: #2a7fbb; /* Color on hover */
}

/* Floating Animation for Services */
.service-item {
    animation: floatEffect 1.2s ease-in-out infinite;
}
@keyframes floatEffect {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Media Query for Responsiveness */
@media (max-width: 768px) {
    #services h1 {
        font-size: 2.2rem;
    }
    .service-title {
        font-size: 1.4rem;
    }
    
}

/* General Page Styling */
#products {
    background: linear-gradient(135deg, #f7f9fc, #e2e8f0);
    padding: 80px 20px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    text-align: center;
    
}

/* Header Styling */
#products h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #3e7c96;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

/* Introduction Text */
.intro-text {
    font-size: 1.2rem;
    color: #555;
    margin-top: 20px;
    max-width: 800px;
    margin: 20px auto;
    font-weight: 300;
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Product List Container */
.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Individual Product Item */
.product-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    color: #333;
    font-size: 1.1rem;
    text-align: left;
}

/* Product Title Styling */
.product-title {
    font-size: 1.6rem;
    font-weight: bold;
    color: #3e7c96;
    margin-bottom: 12px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
}

/* Hover Effect for Product Items */
.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: #e8f3f9;
}

/* Decorative Line Below Title */
.product-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: rgb(8, 252, 73); /* Initial color */
    margin-top: 8px;
    transition: background 0.3s, width 0.3s; /* Smooth color and width transition */
}

/* Subtle Hover Animation */
.product-item:hover .product-title::after {
    width: 100%;
    background: #2a7fbb; /* Color on hover */
}

/* Floating Animation for Products */
.product-item {
    animation: floatEffect 1.2s ease-in-out infinite;
}

@keyframes floatEffect {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Media Query for Responsiveness */
@media (max-width: 768px) {
    #products h1 {
        font-size: 2.2rem;
    }
    .product-title {
        font-size: 1.4rem;
    }
}

/* Contact Section Styles */




/* Contact Form Title */

/* Form Inputs Styling */


.education-container {
    width: 85%;
    margin: 40px auto;
    padding: 30px;
    background: linear-gradient(to right, #e1f7d5, #ffffff);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
}

/* Hover effect for container */
.education-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Title Styling */
.education-title {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: fadeInUp 1.5s ease-out;
}

/* Fade-in effect for the title */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(50px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Description Styling */
.education-description {
    font-size: 18px;
    color: #555;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.8;
    font-family: 'Arial', sans-serif;
    transition: color 0.3s ease;
    padding: 0 20px;
}

.education-description:hover {
    color: #4CAF50;
}

/* Subtitle for Courses Section */
.education-subtitle {
    font-size: 30px;
    font-weight: 600;
    color: #4CAF50;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 0.3s ease-in-out;
    position: relative;
    padding-bottom: 5px;
}

/* Adding bottom border animation */
.education-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #4CAF50;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.4s ease-in-out;
}

.education-subtitle:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.education-subtitle:hover {
    transform: scale(1.05);
}

/* List of Courses Styling */
.education-items {
    list-style-type: none;
    padding-left: 0;
    margin: 30px auto;
    max-width: 700px;
    animation: fadeInUp 2s ease-out;
}

/* Animation for list items */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.course-item {
    font-size: 20px;
    color: #333;
    margin: 15px 0;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
    transition: color 0.3s ease, padding-left 0.3s ease, transform 0.3s ease;
}

/* Hover effect for course list items */
.course-item:hover {
    color: #4CAF50;
    padding-left: 25px;
    transform: translateX(5px);
}

/* Adding custom bullet points for each list item */
.course-item::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-size: 24px;
    transition: transform 0.3s ease;
}

/* Hover effect for course bullet points */
.course-item:hover::before {
    transform: scale(1.5);
}

/* Styling for the certificate information */
.education-certificates {
    font-size: 18px;
    color: #333;
    text-align: center;
    margin-top: 40px;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: linear-gradient(to right, #e1f7d5, #ffffff);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Internship Section Styling */
.internship-info {
    background-color: #e8f5e9;
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease-in-out;
}

.internship-info:hover {
    background-color: #dcedc8;
    transform: translateY(-5px);
}

.internship-info p {
    font-size: 18px;
    color: #333;
    line-height: 1.8;
    text-align: center;
}

/* Join Us Call-to-Action */
.education-contact {
    font-size: 20px;
    color: #333;
    text-align: center;
    margin-top: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    padding: 10px;
    border: 2px solid #4CAF50;
    border-radius: 5px;
    width: fit-content;
    margin: 50px auto;
}

/* Hover effect for the call to action text */
.education-contact:hover {
    color: #fff;
    background-color: #4CAF50;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .education-container {
        width: 90%;
        padding: 25px;
    }

    .education-title {
        font-size: 36px;
    }

    .education-subtitle {
        font-size: 26px;
    }

    .course-item {
        font-size: 18px;
    }

    .education-contact {
        font-size: 18px;
        padding: 10px 15px;
    }
}

@media (max-width: 992px) {
    .education-container {
        width: 95%;
        padding: 20px;
    }

    .education-title {
        font-size: 32px;
    }

    .education-subtitle {
        font-size: 24px;
    }

    .course-item {
        font-size: 16px;
    }

    .education-contact {
        font-size: 16px;
        padding: 10px 15px;
    }
}

@media (max-width: 768px) {
    .education-container {
        width: 95%;
        padding: 20px;
    }

    .education-title {
        font-size: 28px;
    }

    .education-description {
        font-size: 16px;
    }

    .education-subtitle {
        font-size: 22px;
    }

    .course-item {
        font-size: 15px;
    }

    .education-contact {
        font-size: 14px;
        padding: 12px 20px;
    }

    .internship-info {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .education-container {
        width: 100%;
        padding: 15px;
    }

    .education-title {
        font-size: 24px;
    }

    .education-description {
        font-size: 14px;
    }

    .education-subtitle {
        font-size: 20px;
    }

    .course-item {
        font-size: 14px;
    }

    .education-contact {
        font-size: 14px;
        padding: 10px 15px;
    }

    .internship-info {
        padding: 15px;
    }
}


/* CSS for floating-icons to ensure they are in front */
.floating-icons {
    position: fixed; /* This ensures the icons stay in the same place as you scroll */
    bottom: 20px; /* Adjust as needed for desired positioning */
    right: 20px; /* Adjust as needed for desired positioning */
    z-index: 1000; /* Higher z-index to bring in front of other content */
}



.side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100%;
    background: #261d57;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    transition: all 0.3s ease-in-out;
    z-index: 1001;
    box-shadow: 2px 0px 10px rgba(0, 0, 0, 0.3);
}

.side-menu.open {
    right: 0;
}

.side-menu ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.side-menu li {
    margin: 1.5rem 0;
}

.side-menu a {
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.side-menu a:hover {
    color: #f1c40f;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    z-index: 1002;
}

.close-btn {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .hamburger {
        display: block;
    }

#as_c_logo {
    height: 60px;
}
footer{
    width: 100vw;
    margin-left: 10px;
}
}




/* Add responsive grid layout for mobile view */
@media (max-width: 768px) {
    .home-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px; /* Adds space between elements */
    }
    .bordered-item {
        max-width: 100%; /* Ensures items use full width on smaller screens */
    }
}


/* CSS for mobile view */
@media (max-width: 768px) {
    .typing-text {
        font-size: 1.2rem; /* Adjust the size as needed */
    }
}



/*contact*/

.container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    height: 59vh;
    margin: 0 auto;
    margin-top: 100px;
    margin-bottom: 100px;
}
/* Section Styling with Tilt Effect */
.left-section {
  flex: 1;
  padding: 30px;
  background: linear-gradient(135deg, #eef2f3, #f9f9f9);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
  transform-style: preserve-3d;
  position: relative;
}

.left-section:hover {
  transform: translateY(-5px) rotateX(5deg) rotateY(-5deg);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  filter: brightness(1.05);
}

/* Neon Glow Effect for Headings */
.left-section h1 {
  font-size: 2em;
  line-height: 1.4;
  color: #002244;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  text-shadow: 0 0 5px rgba(255, 127, 80, 0.8), 0 0 10px rgba(255, 127, 80, 0.6), 0 0 15px rgba(255, 127, 80, 0.4); /* Neon Glow */
}

.left-section h1 span {
  color: #ff7f50;
  font-weight: bold;
  position: relative;
}

/* Hover Animation with Gradient Border */
.left-section h1 span:hover {
  text-shadow: 0 0 10px rgba(255, 127, 80, 0.9), 0 0 20px rgba(255, 127, 80, 0.6);
  color: #ff4500;
  border-bottom: 2px solid #ff4500;
  padding-bottom: 5px;
}

/* Paragraphs with Hover Animation */
.left-section p {
  font-size: 1.2em;
  color: #333;
  line-height: 1.8;
  margin-bottom: 25px;
  transform: perspective(300px) rotateX(0deg);
  transition: transform 0.3s ease-in-out;
}

.left-section p:hover {
  color: #ff4500;
  transform: translateX(5px); /* Slightly shifts text on hover */
}

/* Contact Info Styling */
.left-section .contact-info {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
}

.left-section .contact-info div {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 1.2em;
  background: rgba(255, 255, 255, 0.7); /* Transparent white */
  border-radius: 10px;
  padding: 10px 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px); /* Glassmorphism effect */
  /* Remove hover effects */
  transform: none;
  box-shadow: none;
  filter: none;
  background-image: none;
  border: none;
  transition: none; /* Disable transition */
}

.left-section .contact-info div:hover {
  transform: scale(1.05) rotateY(5deg) rotateX(5deg);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  filter: brightness(1.1);
}

/* 3D Icon Hover Effect */
.left-section .contact-info i {
  color: #1e10e9;
  font-size: 1.5em;
  transition: none; /* Disable transition for icon color and transform */
}

.left-section .contact-info div:hover i {
  color: #3636d3;
  transform: scale(1.2) rotate(360deg); /* Icon rotates on hover */
}

/* Gradient Border Animation on Hover */
.left-section .contact-info div:hover {
  border: 2px solid transparent;
  
  background-clip: padding-box;
  transition: background 0.5s ease-in-out, border-color 0.5s ease;
}

/* Hover Reveal Animation */
.left-section .contact-info a {
  text-decoration: none;
  color: inherit;
  font-weight: bold;
  position: relative;
  overflow: hidden;
  transition: none; /* Remove transition */
}

.left-section .contact-info a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: none; /* Disable animation for underline */
}

.left-section .contact-info a:hover {
  color: #1c22df;
}

.left-section .contact-info a:hover::before {
  transform: scaleX(1);
  transform-origin: bottom left;
}






/* General Mobile Adjustments */
@media (max-width: 768px) {
    body {
        padding: 10px;
        font-size: 14px;
    }

    .container {
        flex-direction: column;
        padding: 10px;
    }

    /* Left Section Adjustments */
    .left-section {
        flex: 1;
        padding: 10px;
    }

    .left-section h1 {
        font-size: 1.8em;
    }

    .left-section .contact-info p {
        font-size: 14px;
    }

    .left-section .join-team img {
        width: 100%; /* Make the image responsive */
        height: auto;
    }
}

/* Very Small Screens (e.g., max-width: 480px) */
@media (max-width: 480px) {
    .left-section h1 {
        font-size: 1.5em;
    }
}


/* ================== General Styles ================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    background: linear-gradient(135deg, #c5daf4 0%, #6c9ac5 100%);
    line-height: 1.6;
}

/* ================== Header ================== */
header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #261d57;
    color: #fff;
    padding: 0.5rem 0;
    z-index: 1000;
}

header nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    margin: 0 1rem;
    position: relative;
}

header nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 3px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s;
}

header nav a:hover::after {
    transform: scaleX(1);
}

#as_c_logo {
    height: 40px;
}

/* ================== Footer ================== */
.footer {
    background: #03344d;
    color: #ddd;
    padding: 40px 20px 20px;
    font-size: 14px;
}

.footer a {
    color: #4CAF50;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-col p, .footer-col li {
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid #444;
    text-align: center;
    padding-top: 15px;
    font-size: 13px;
    color: #aaa;
}

/* ================== Floating Icons ================== */
.CALL, .SMS img, .WHATSAPP img {
    position: fixed;
    cursor: pointer;
    transition: transform 0.2s ease;
    z-index: 1000;
}

.CALL {
    background-color: rgb(33, 41, 202);
    bottom: 85px;
    left: 20px;
    padding: 1%;
    border-radius: 30px;
}

.CALL a {  
    color: white;
    text-decoration: none;  
}

.SMS img {
    height: 50px;
    width: 40px;
    bottom: 85px;
    right: 25px;
}

.WHATSAPP img {
    height: 50px;
    width: 45px;
    bottom: 145px;
    right: 20px;
}

.CALL:hover, .SMS img:hover, .WHATSAPP img:hover {
    transform: scale(1.1);
}

/* ================== Typing Animation ================== */
.typing-text {
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 1px;
    animation: typing 2.5s steps(25,end), blink 0.8s step-end infinite;
    border-right: 3px solid #4CAF50;
    white-space: nowrap;
    overflow: hidden;
    background: linear-gradient(to right, #4CAF50 0%, #333 100%);
    -webkit-background-clip: text;
    color: transparent;
}

@keyframes typing { from { width: 0; } to { width: 100%; } }
@keyframes blink { 50% { border-color: transparent; } }

/* ================== Containers ================== */
.bordered-container {
    width: 90%;
    max-width: 2000px;
    margin: 40px auto;
    padding: 20px 25px;
    background: #f0f9ff;
    border-radius: 15px;
    box-shadow: 0px 12px 24px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.bordered-container::before {
    content: '';
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background: linear-gradient(120deg, rgba(76,175,80,0.15), rgba(0,150,136,0.15));
    opacity: 0.8;
    z-index:0;
    pointer-events:none;
}

.bordered-item { flex: 1; max-width: 50%; border-radius: 8px; }

/* ================== Home Paragraph ================== */
.home-para p {
    font-size: 18px;
    line-height: 1.75;
    color: #333;
    padding: 20px;
    background: rgba(255,255,255,0.9);
    border-radius: 10px;
    border-left: 4px solid #4CAF50;
    box-shadow: 3px 5px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease-in-out;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.home-para p:hover {
    background: rgba(255,255,255,0.95);
    transform: scale(1.02);
    box-shadow: 3px 7px 25px rgba(0,0,0,0.2);
}

/* ================== Carousel ================== */
.carousel-container { width: 100%; overflow: hidden; position: relative; }
.carousel { display: flex; width: 100%; transition: transform 1s ease; }
.carousel img { width: 100%; height: 100%; object-fit: cover; }
.arrow { position: absolute; top: 50%; transform: translateY(-50%); background-color: rgba(0,0,0,0.5); color: white; font-size: 30px; padding: 10px; cursor: pointer; z-index: 10; }
.prev { left: 10px; } .next { right: 10px; }
.carousel-container:hover .prev, .carousel-container:hover .next { background-color: rgba(0,0,0,0.7); }

/* ================== Products & Services ================== */
.product-list, .service-list { display: grid; gap: 30px; margin: 40px auto; max-width: 1000px; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); }
.product-item, .service-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}
.product-title, .service-title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 12px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.1);
}
.product-title::after, .service-title::after {
    content: ""; display: block; width: 40px; height: 3px; background: rgb(8,252,73); margin-top: 8px; transition: background 0.3s,width 0.3s;
}
.product-item:hover, .service-item:hover { transform: translateY(-10px); box-shadow:0 10px 20px rgba(0,0,0,0.2); background: #e8f3f9; }
.product-item:hover .product-title::after, .service-item:hover .service-title::after { width: 100%; background: #2a7fbb; }

/* ================== Education Section ================== */
.education-container {
    width: 85%; margin: 40px auto; padding: 30px; background: linear-gradient(to right,#e1f7d5,#fff);
    border-radius: 15px; box-shadow:0 8px 20px rgba(0,0,0,0.1);
}
.education-title { font-size: 42px; text-align:center; margin-bottom:30px; color:#333; font-weight:700; }
.education-subtitle { font-size:30px; font-weight:600; color:#4CAF50; margin-bottom:20px; text-align:center; }
.course-item { font-size:20px; color:#333; margin:15px 0; padding-left:20px; position:relative; }
.course-item::before { content:"✔"; position:absolute; left:0; color:#4CAF50; font-size:24px; }
.education-contact { font-size:20px; text-align:center; font-weight:600; padding:10px; border:2px solid #4CAF50; border-radius:5px; width:fit-content; margin:50px auto; }

/* ================== Contact Section ================== */
.container { display:flex; flex-wrap:wrap; max-width:1200px; margin:100px auto; height:59vh; }
.left-section { flex:1; padding:30px; background:linear-gradient(135deg,#eef2f3,#f9f9f9); border-radius:15px; box-shadow:0 10px 30px rgba(0,0,0,0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.left-section h1 { font-size:2em; color:#002244; margin-bottom:20px; text-shadow:0 0 5px rgba(255,127,80,0.8); }
.left-section p { font-size:1.2em; line-height:1.8; margin-bottom:25px; }

/* ================== Side Menu ================== */
.side-menu { position:fixed; top:0; right:-100%; width:75%; height:100%; background:#261d57; color:white; display:flex; flex-direction:column; align-items:center; padding:2rem 1rem; transition: all 0.3s ease-in-out; z-index:1001; }
.side-menu.open { right:0; }
.side-menu ul { flex-direction:column; display:flex; width:100%; }
.side-menu li { margin:1.5rem 0; }
.side-menu a { color:#fff; font-size:1.5rem; text-decoration:none; }
.side-menu a:hover { color:#f1c40f; }
.hamburger { display:none; background:none; border:none; font-size:2rem; color:#fff; cursor:pointer; z-index:1002; }
.close-btn { align-self:flex-end; background:none; border:none; font-size:3rem; color:white; cursor:pointer; margin-bottom:2rem; }

/* ================== Media Queries ================== */
@media (max-width: 992px) {
    .education-container, .bordered-container, .content-box, .left-section { width:90%; padding:20px; }
    .education-title { font-size:32px; }
    .education-subtitle { font-size:24px; }
    .course-item { font-size:16px; }
    .education-contact { font-size:16px; padding:10px 15px; }
    .home-content { display:grid; grid-template-columns:1fr; gap:20px; }
    .bordered-item { max-width:100%; }
}

@media (max-width: 768px) {
    nav ul { display:none; }
    .hamburger { display:block; }
    #as_c_logo { height:50px; }
    .typing-text { font-size:1.2rem; }
    .home-para p { font-size:16px; padding:15px; }
    .service-title, .product-title { font-size:1.4rem; }
    .service-item, .product-item { padding:20px; }
    .intro-text { font-size:1rem; padding:15px; }
    .education-description { font-size:16px; }
    .left-section { padding:15px; }
    .left-section h1 { font-size:1.5em; }
    .left-section .contact-info div { font-size:14px; padding:8px 10px; }
}

@media (max-width: 480px) {
    .education-title { font-size:24px; }
    .education-subtitle { font-size:20px; }
    .course-item { font-size:14px; }
    .education-contact { font-size:14px; padding:10px; }
    .left-section h1 { font-size:1.3em; }
    .left-section p { font-size:14px; }
    .service-item, .product-item { padding:15px; }
    .intro-text { font-size:0.95rem; padding:10px; }
    footer { margin-left:0; padding:15px; font-size:12px; }
}





/* Alternative style for Core Values / Vision / Mission */
.content-box.alt-style {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.content-box.alt-style .content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* Card styles with different gradients */
.content-box.alt-style .content-col:nth-child(1) {
  background: linear-gradient(145deg, #eae4e4, #f3d5cd);
}

.content-box.alt-style .content-col:nth-child(2) {
  background: linear-gradient(145deg, #eef1f5, #dbe9ef);
}

.content-box.alt-style .content-col:nth-child(3) {
  background: linear-gradient(145deg, #f1f0f1, #a6c1ee);
}

.content-box.alt-style .content-col {
  border-radius: 15px;
  padding: 25px 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
  color: #fff;
  text-align: left;
}

.content-box.alt-style .content-col:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  filter: brightness(1.05);
}

.content-box.alt-style .content-col h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.content-box.alt-style .content-col p {
  font-size: 1rem;
  line-height: 1.7;
}

/* Responsive layout */
@media (max-width: 992px) {
  .content-box.alt-style .content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .content-box.alt-style .content {
    grid-template-columns: 1fr;
  }
}




.pricing-banner {
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    color: #fff;
    text-align: center;
    padding: 12px 20px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    margin: 20px auto;
    width: fit-content;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
