@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:ital,wght@0,400;0,700;1,400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

body {
    margin: 0;
    padding: 1px;
    /* Adjust this value for the space around edges */
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    /* Ensures content width is capped */
    margin: 0 auto;
    /* Centers the content */
    padding: 20px;
    /* Adds space inside the container */
    box-sizing: border-box;
}

.max-width {
    max-width: 1200px;
    padding: 0 80px;
    margin: 0 auto;
}

html {
    scroll-behavior: smooth;
}

/* Logo styling */
.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 45px; /* adjust size as needed */
    width: auto;
    margin-right: 10px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;   /* Align main text to the left */
    line-height: 1.1;
}

.logo-text .main-text {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    font-family: 'Ubuntu', sans-serif;
    text-align: left;
}

.logo-text .sub-text {
    color: #ccc;
    font-size: 14px;
    font-weight: 400;
    margin-top: 3px;
    align-self: center;   /* Keeps "IITJ" centered under main text */
    text-align: center;
}


/* navbar styling */
/* ensure navbar spans the full viewport and is the positioning context */
.navbar {
    position: relative; /* needed so absolute menu is placed relative to navbar */
    width: 100%;
    padding: 18px 0; /* adjust vertical padding if you want */
    background-color: rgb(21, 52, 36); /* keep your color */
    z-index: 999;
}

/* keep your .max-width centered for the logo and other content */
.navbar .max-width {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* content padding */
    display: flex;
    align-items: center;
}

/* logo remains inside the centered container on the left */
.navbar .logo {
    display: flex;
    align-items: center;
    z-index: 2;
}

/* position the menu at the far right edge of the navbar (viewport) */
.navbar .menu {
    position: absolute;
    right: 20px;                 /* distance from the right edge of viewport */
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 28px;                   /* spacing between menu items */
    margin: 0;
    padding: 0;
    list-style: none;
    z-index: 3;
    background: transparent;     /* keep transparent unless you want a background */
}

/* menu item styles (keep your colors/hover behavior) */
.navbar .menu li a {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    padding: 6px 0;
    transition: color 0.2s ease, font-size 0.2s ease;
}

/* small tweak so dropdown still appears correctly */
.navbar .dropdown-menu {
    left: auto;
    right: 20px; /* align dropdown to the menu's right edge */
}

/* RESPONSIVE: on smaller screens restore your mobile behaviour (existing rules) */
@media(max-width:1000px) {
    /* remove absolute behaviour and use your mobile menu styling */
    .navbar .menu {
        position: fixed;
        right: -50%;
        top: 0;
        height: 100vh;
        width: 50%;
        background: black;
        padding-top: 80px;
        flex-direction: column;
        transition: all 0.3s ease;
    }

    .navbar .menu.active {
        right: 0;
        width: 100%;
    }

    .navbar .menu li a {
        font-size: 25px;
        margin: 20px 0;
    }
}

.navbar {
    position: ease;
    width: 100%;
    z-index: 999;
    padding: 30px 0;
    font-family: 'Ubuntu', sans-serif;
    transition: all 0.3s ease;
    background-color: rgb(21, 52, 36);
}

.navbar.sticky {
    padding: 15px 0;
    background-color: #131212bd;
    /*background-color: rgb(106, 163, 134); */
}

.navbar .max-width {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto 0 auto 40px;
}

.navbar .logo a {
    color: #fff;
    font-size: 35px;
    font-weight: 600;
}

.navbar.sticky .logo a span {
    color: #fff;
}

.navbar .logo a span {
    color: rgb(74, 159, 103);
}

.navbar .menu li {
    list-style: none;
    display: inline-block;
}

.navbar .menu li a {
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    font-weight: 500;
    margin-left: 25px;
    transition: color 0.3s ease;
}

.navbar .menu li a:hover {
    color: rgb(6, 78, 30);
    font-weight: bold;
}

.navbar.sticky .menu li a:hover {
    color: #fff;
    font-weight: bold;
}



/* menu button styling */
.menu-btn {
    color: #fff;
    font-size: 23px;
    cursor: pointer;
    display: none;
}



/* .scroll-up-btn stlying */
.scroll-up-btn {
    position: fixed;
    right: 30px;
    height: 45px;
    width: 42px;
    background: crimson;
    text-align: center;
    line-height: 45px;
    color: #fff;
    opacity: 0;
    z-index: 99999;
    font-size: 30px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-up-btn.show {
    bottom: 30px;
    opacity: 1;
    pointer-events: auto;
}

/* Dropdown styling */
.navbar .dropdown {
    position: relative;
}

.navbar .dropdown-menu {
    display: none;
    /* Initially hidden */
    position: absolute;
    background-color: rgba(59, 60, 59, 0.279);
    /* Background color of the dropdown */
    top: 100%;
    /* Show the dropdown just below the parent */
    left: 0;
    width: 200px;
    /* Adjust the width if needed */
    border-radius: 6px;
    z-index: 1;
}

.navbar .dropdown-menu li {
    list-style: none;
}

.navbar .dropdown-menu li a {
    display: block;
    padding: 10px;
    color: #fff;
    /* Text color */
    text-align: left;
    font-size: 16px;
    font-weight: 500;
}

.navbar .dropdown-menu li a:hover {
    background-color: rgb(106, 163, 134);
    /* Background when hovering over items */
    color: #fff;
}

.navbar .dropdown:hover .dropdown-menu {
    display: block;
    /* Show the dropdown on hover */
}


/* home-section styling */

.home {
    height: 100vh;
    width: 100%;
    position: relative;
    background-size: cover;
    color: #fff;
    min-height: 500px;
    font-family: "Ubunto", sans-serif;
    background-position: center;
    animation: slideBackground 30s infinite;
    /* 4 images, 3 seconds each */
}

/* Background images sliding animation */
@keyframes slideBackground {
    0% {
        background-image: url('Pic1.jpg');
    }

    25% {
        background-image: url('Pic2.jpg');
    }

    50% {
        background-image: url('Pic3.jpg');
    }

    75% {
        background-image: url('13.jpg');
    }

    100% {
        background-image: url('15.jpg');
    }
}

.home .max-width {
    margin: auto 0 auto 40px;
}

.home .home-content .text-1 {
    font-size: 27px;
}

.home .home-content .text-2 {
    font-size: 75px;
    font-weight: 600;
    margin-left: -3px;
}

.home .home-content .text-3 {
    font-size: 40px;
    margin: 5px 0;
}

.home .home-content .text-3 span {
    color: crimson;
    font-weight: 500;
}

.home .home-content a {
    display: inline-block;
    background: crimson;
    color: #fff;
    font-size: 25px;
    padding: 12px 36px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid crimson;
}

.home .home-content a:hover {
    color: crimson;
    background: none;
}

/* News Section Styling */
.news {
    padding: 50px 0;
    background-color: #f4f4f4;
}

.news .title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 30px;
    color: #333;
}

/* News Ticker Styling */
.news-ticker {
    overflow: hidden;
    position: relative;
    width: 100%;
    background-color: rgb(21, 52, 36);
    padding: 10px 0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.news-wrap {
    display: flex;
    width: max-content;
    animation: scroll 20s linear infinite;
}

.news-item {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    padding: 0 50px;
    white-space: nowrap;
}

/* Animation for continuous scrolling */
@keyframes scroll {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}


/* about section styling */
.about .title::after {
    content: "Project ";
}

.about .about-content .left {
    width: 45%;
}

.about .about-content .left img {
    height: 350px;
    width: 350px;
    object-fit: cover;
    border-radius: 6px;
}

.about .about-content .right {
    width: 55%;
}

.about .about-content .right .text {
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 10px;
}

.about .about-content .right .text span {
    color: crimson;
}

.about .about-content .right p {
    text-align: justify;
}

.about .about-content .right a {
    display: inline-block;
    background: crimson;
    color: #fff;
    font-weight: 500;
    font-size: 20px;
    padding: 10px 30px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid crimson;
}

.about .about-content .right a:hover {
    color: crimson;
    background: none;

}



/* services section stylying */
/* Services boxes same color and text */
.services .services-content .card {
    background-color: rgb(106, 163, 134); /* uniform background color */
    width: 300px;
    height: 250px;
    text-align: center;
    border-radius: 6px;
    padding: 20px 25px;
    cursor: pointer;
    transition: transform 0.3s ease; /* for slight scaling on hover */
}

.services .services-content .card:hover {
    background-color: rgb(106, 163, 134); /* same as normal background */
}

.services .services-content .card .box {
    transition: all 0.3s ease;
}

.services .services-content .card i {
    color: #fff; /* uniform icon color */
    font-size: 50px;
}

.services .services-content .card .text {
    font-size: 25px;
    font-weight: 500;
    color: #fff; /* uniform text color */
    margin: 10px 0 7px;
}

.services .services-content .card p {
    color: #fff; /* paragraph text inside card */
}

.services,
.teams {
    color: #fff;
    background-color: rgb(21, 52, 36);
}

s .services .alink {
    color: white;
}

.services .title:before,
.teams .title:before {
    background: #fff;
}

.services .title:after {
    background-color: rgb(106, 163, 134);

}

.services .services-content .card {
    background-color: rgb(106, 163, 134);
    width: 300px;
    /* Set a fixed width */
    height: 250px;
    text-align: center;
    border-radius: 6px;
    padding: 20px 25px;
    cursor: pointer;
}

.services .services-content .card:hover {
    background-color: #13121216;
}

.services .services-content .card .box {
    transition: all 0.3s ease;
}

.services .services-content .card i {
    color: rgb(252, 250, 250);
    font-size: 50px;
    transition: color 0.3s ease;
}

.services .services-content .card:hover i {
    color: #fff;
}

.services .services-content .card:hover .box {
    transform: scale(1.05);
    margin: 10px auto;
}

.services .services-content .card .text {
    font-size: 25px;
    font-weight: 50;
    margin: 10px 0 7px;
}

.services .services-content .alink {
    color: white;
}



.services .services-content .gallery-btn {
    margin-top: 5px;
    font-size: 5px;
    color: #fff;
    background: crimson;
    padding: 10px;
    border-radius: 50%;
    border: 2px solid crimson;
}

.news .news-btn {
    color: crimson;
    font-weight: bold;
}


/* contact section styling */
section.contact {
    margin-bottom: 0;
    padding-bottom: 20px;
}

.contact .title::after {
    content: "get in touch with us";
}

.contact .contact-content {
    display: flex;
    justify-content: center;
    /* Horizontally center */
    align-items: center;
    /* Vertically center if needed */
    flex-direction: column;
    /* Ensure that the content stacks properly */
    min-height: auto;
    padding-bottom: 40px;
}

/* Box around contact info */
.contact .contact-content .column {
    width: 100%;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(19, 125, 67, 0.1);
    text-align: center;
    margin: 20px 0;
    position: relative;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Text color */
    /* Centering the contents */
}

.contact .contact-content .column::before {
    content: "";
    background-image: url('back123.jpg');
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.5;
    /* Adjust the opacity */
    z-index: -1;
}

/* Styling for the "Address" and other titles */
.contact .contact-content .text {
    font-size: 22px;
    font-weight: 700;
    /* Bold font for titles */
    margin-bottom: 10px;
}

/* Styling for the content under each title */
.contact .contact-content .info .sub-title {
    color: #555;
    font-size: 16px;
    font-weight: 400;
}

/* Icons with text */
.contact .contact-content .icons {
    margin: 10px 0;
    text-align: left;
}

.contact .contact-content .row {
    display: flex;
    align-items: center;
    margin: 15px 0;
}

.contact .contact-content .row .info {
    margin-left: 30px;
}

.contact .contact-content .row i {
    font-size: 25px;
    color: crimson;
}

/* Individual field styling */
.contact .contact-content .info .head {
    font-weight: bold;
    font-size: 20px;
    /* Larger font for titles */
}

.contact .contact-content .info .sub-title {
    font-size: 14px;
    /* Smaller font for details */
    color: #111;
}

/* Social media icons */
.contact .contact-content .row-icons a i {
    margin-top: 5px;
    font-size: 25px;
    color: #fff;
    background: crimson;
    padding: 10px;
    border-radius: 50%;
    border: 2px solid crimson;
}

.contact .contact-content .row-icons a:hover i {
    cursor: pointer;
    background: none;
    color: crimson;
}

/* Form styling */
.contact .right form .fields {
    display: flex;
}

.contact .right form .field,
.contact .right form .fields .field {
    height: 45px;
    width: 100%;
    margin-bottom: 15px;
}

.contact .right form .textarea {
    height: 80px;
    width: 100%;
}

.contact .right form .field input,
.contact .right form .textarea textarea {
    height: 100%;
    width: 100%;
    border: 1px solid rgb(35, 111, 30);
    border-radius: 6px;
    outline: none;
    padding: 0 15px;
    font-size: 17px;
    font-family: 'Poppins', sans-serif;
}

.contact .right form .textarea textarea {
    padding-top: 10px;
    resize: none;
}

/* Submit button styling */
.contact .right form .button {
    height: 47px;
    width: 170px;
}

.contact .right form .button button {
    width: 100%;
    height: 100%;
    border: 2px solid crimson;
    background: crimson;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact .right form .button button:hover {
    color: crimson;
    background: none;
}
/* Footer copyright link */
footer .copyright-link {
    color: #fff; /* default color */
    text-decoration: none;
    margin: 0 4px; /* small spacing */
}

footer .copyright-link:hover {
    color: crimson; /* change color on hover */
    text-decoration: underline;
}




/* footer section styling start */
footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgb(106, 163, 134);
    margin-top: 0;
    padding: 15px;
    color: #fff;
}

.socialIcons {
    display: flex;
    justify-content: space-evenly;
    align-items: center;

}

.socialIcons a {
    width: 35px;
    margin: 0 5px;
    color: crimson
}


footer span a {
    color: crimson;
    text-decoration: none;
}

footer span a:hover {
    text-decoration: underline;
}








/* all similar styling */
section {
    padding: 100px 0;
}

section .title {
    position: relative;
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 60px;
    padding: 20px;
    font-family: 'Ubunto', sans-serif;
}

section .title::before {
    content: "";
    font-weight: bolder;
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 180px;
    height: 3px;
    background: #111;
    transform: translateX(-50%);
}

section .title::after {
    position: absolute;
    bottom: -12px;
    left: 50%;
    font-size: 20px;
    color: crimson;
    padding: 5px;
    background: #fff;
    transform: translateX(-50%);
}

.about,
.services,
.skills,
.teams,
.contact,
footer {
    font-family: 'Poppins', sans-serif;
    padding-top: 10px;
}

.about .about-content,
.services .services-content,
.skills .skills-content,
.contact .contact-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}



/* carsouel animation stylying start here */
.owl-dots {
    text-align: center;
    margin-top: 20px;
}

.owl-dot {
    height: 13px;
    width: 13px;
    margin: 0 5px;
    outline: none !important;
    border-radius: 50%;
    border: 2px solid crimson !important;
    transition: all 0.3s ease;
}

.owl-dot.active {
    width: 35px;
    border-radius: 14px;
}

.owl-dot.active,
.owl-dot:hover {
    background: rgba(234, 231, 232, 0.427) !important;
}



/* responsive media quries starts */
@media(max-width:1300px) {
    .about .about-content .column {
        width: 50%;
    }
}

@media(max-width:1150px) {
    .home .max-width {
        margin-left: 0px;
    }

    .about .about-content .left img {
        height: 350px;
        width: 350px;
    }

    .socialIcons {
        margin-right: 70px;
    }

}

@media(max-width:1000px) {
    .max-width {
        padding: 0 50px;
    }

    body {
        padding: 0;
    }

    .menu-btn {
        display: block;
        z-index: 999;
    }

    .navbar .menu {
        position: fixed;
        height: 100vh;
        width: 50%;
        right: -50%;
        top: 0;
        text-align: center;
        background: black;
        padding-top: 80px;
        transition: all 0.3s ease;
    }

    .navbar .menu.active {
        right: 0;
        z-index: 2;
        width: 100%
    }

    .navbar .menu li {
        display: block;
    }

    .navbar .dropdown-menu {
        position: unset;
        margin: auto;
    }


    .navbar .menu li a {
        margin: 20px 0;
        font-size: 25px;
    }

    .navbar .menu li a:hover {
        font-size: 33px;
        font-weight: bold;
    }

    .navbar.sticky .menu li a:hover {
        color: black;
        font-size: 33px;
        font-weight: bold;
    }

    .home {
        height: 0;
    }

    .home .home-content .text-2 {
        font-size: 70px;
    }

    .home .home-content .text-3 {
        font-size: 35px;
    }

    .home .home-content a {
        font-size: 23px;
        padding: 10px 30px;
    }

    .max-width {
        max-width: 800px;
    }

    .services .services-content .card {
        width: 100%;
    }

    section .title {
        padding: 60px;
    }

    .contact .title::after {
        font-size: 75%;
        width: 100%;
    }

    .about .about-content .column {
        width: 100%;
    }

    .about .about-content .left {
        display: flex;
        justify-content: center;
        margin: 0 auto 60px;
    }

    .about .about-content .right {
        flex: 100%;
    }

    .contact .contact-content {
        min-height: 0;
    }

    .contact .contact-content .column {
        width: 100%;
        margin-bottom: 35px;
        padding-left: 69px;
    }

    .socialIcons {
        margin-top: 0;
        margin-right: 150px;
    }
}



@media(max-width:700px) {
    .max-width {
        padding: 0 23px;
    }

    .home .home-content .text-2 {
        font-size: 60px;
    }

    .home .home-content .text-3 {
        font-size: 32px;
    }

    .home .home-content a {
        font-size: 20px;
    }
}

@media(max-width:500px) {
    .home .home-content .text-2 {
        font-size: 50px;
    }

    .home .home-content .text-3 {
        font-size: 27px;
    }

    .socialIcons {
        margin-top: 0;
        margin-right: 10px;
    }
}

@media(max-width:350px) {

    .about .title::after,
    .services .title::after,
    .contact .title::after {
        font-size: 15px;
    }
}