@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700&family=Ubuntu:wght@400;500;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}
html{
    scroll-behavior: smooth;
}
.max-width{
    max-width: 1300px;
    padding: 0 80px;
    margin: auto;
}
/* navbar styling */
.navbar{
    position: sticky;
    width: 100%;
    z-index: 999;
    background: #0066cc;
    padding: 30px 0;
    font-family: 'ubuntu', sans-serif;
    transition: all 0.3s ease;
}
.navbar.sticky{
    padding: 15px 0;
    background: #0066cc;
}
.navbar .max-width{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar .logo a{
    color: #fff;
    font-size: 35px;
    font-weight: 600;
}
.navbar .logo a span{
    color: #0066cc;
    transition: all 0.3s ease;
}
.navbar.sticky .logo a span{
    color: #fff;
}
.navbar .menu li{
    list-style: none;
    display: inline-block;
}
.navbar .menu li a{
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    margin-left: 25px;
    transition: color 0.3s ease;
}
.navbar .menu li a:hover{
    color: #0066cc;
}
.navbar.sticky .menu li a:hover{
    color: #fff;
}
/* Sidebar styling */
#sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    right: 0; /* slides from right */
    background-color: #111;
    overflow-x: hidden;
    transition: 0.4s;
    padding-top: 60px;
    z-index: 10000;
}

#sidebar a {
    padding: 15px 25px;
    text-decoration: none;
    font-size: 1.1em;
    color: #fff;
    display: block;
    transition: 0.3s;
}

#sidebar a:hover {
    background-color: #00aaff;
}

#sidebar .closebtn {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 2em;
}

/* Hamburger menu toggle button */
.navbar .menu-btn i {
    cursor: pointer;
}

/* Hide menu links on small screens (optional) */
@media screen and (max-width: 768px) {
    .navbar .menu {
        display: none;
    }
}

/* menu btn styling */
.menu-btn{
    color: #fff;
    font-size: 23px;
    cursor: pointer;
    display: none;
}
.scroll-up-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  height: 45px;
  width: 42px;
  background: #0066cc;
  color: rgb(255, 255, 255);
  text-align: center;
  line-height: 45px;
  font-size: 30px;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 9999;
}

.scroll-up-btn.show {
  opacity: 1;
  pointer-events: auto;
  bottom: 50px; /* small move up when visible */
}
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 999;
    background: #0066cc;
    padding: 30px 0;
    transition: all 0.3s ease;
}
.navbar.sticky {
    padding: 15px 0;
    background:#0066cc;
}


/* home section styling */
.home{
    display: flex;
    background: url("images/IMG_3345.JPG") no-repeat right;
    height: 100vh;
    color: #fff;
    min-height: 500px;
    font-family: 'ubuntu', sans-serif;
    border-radius: 3px;
    background-color: #E9E0D7;
   
}
.home .max-width{
    margin: auto 0 auto 40px;
}
.home .home-content .h1{
    font-size: 27px;
}
.home .home-content .h2{
    font-size: 75px;
    font-weight: 600;
    margin-left: -3px;
}


.home .home-content .h3{
    color: #0066cc;
    font-weight: 600;
    font-size: 40px;
}
.home .home-content a{
    display: inline-block;
    background: #0066cc;
    color: #fff;
    font-size: 25px;
    padding: 12px 36px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid #0066cc;
    transition: all 0.3s ease;
}
.home .home-content a:hover{
    color: #0066cc;
    background: none;
}
/* all similar content styling code */
section{
    padding: 100px 0;
}
.about, .services, .skills .teams, .contact, footer{
    font-family: 'Poppins', sans-serif;
}
.about .about-content,
.services .serv-content,
.skills .skills-content,
.contact .contact-content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
section .title{
    position: relative;
    text-align: center;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 60px;
    padding-bottom: 20px;
    font-family: 'ubuntu',sans-serif;
}
section .title::before{
    content: "";
    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: #0066cc;
    padding: 5px;
    background: #fff;
    transform: translateX(-50%);
}
/* about section styling */
.about .title::after{
    content: "who i am";
}
.about .about-content .left{
    width: 45%;
}
.about .about-content .left img{
    height: 400px;
    width: 400px;

    object-fit: cover;
    font-weight: 500;

    object-fit: contain;
    border-radius:  7px;

}
.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: #0066cc;
}
.about .about-content .right p{
    text-align: justify;
}
.about .about-content .right a{
    display: inline-block;
    background: #0066cc;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    padding: 10px 30px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid #0066cc;
    transition: all 0.3s ease;
}
.about .about-content .right a:hover{
    color: #0066cc;
    background: none;
}

/* services section styling */

 .services .teams{
   color: #fff;
   background: #111;
}
.services .title::before,
.teams .title::before{
  background: #fff;
}
.services, .teams{
    color: #fff;
    background: #111;
}
.services .title::before,
.teams .title::before{
    background: #fff;
}
.services .title::after,
.teams .title::after{

    background: #111;
    content: "what i provide";
}
.services .serv-content .card{
    width: calc(33% - 20px);
    background: #222;
    text-align: center;
    border-radius: 6px;
    padding: 20px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.services .serv-content .card:hover{
    background:#0066cc;
}
.services .serv-content .card .box{
    transition: all 0.3s ease;
}
.services .serv-content .card:hover .box{
    transform: scale(1.05);
}
.services .serv-content .card i{
    font-size: 50px;
    color: #0066cc;
    transition: color 0.3s ease;
}
.services .serv-content .card:hover i{
    color: #fff;
}
.services .serv-content .card .text{
    font-size: 25px;
    font-weight: 500;
    margin: 10px 0 7px 0;
}

/* skills section styling */

.skills .title::after{
    content: "what i know";
}
.skills .skills-content .column{
    width: calc(50% - 30px);
}
.skills .skills-content .left .text{
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}
.skills .skills-content .left p{
    text-align: justify;
}
.skills .skills-content .left a{
    display: inline-block;
    background: #0066cc;
    color:#fff;
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 500;
    padding: 8px 16px;
    margin-top: 20px;
    border-radius:6px;
    border: 2px solid #0066cc;
    transition: all 0.3s ease;
}
.skills .skills-content .left a:hover{
    color: #0066cc;
    background: none;
}
.skills .skills-content .right .bars{
    margin-bottom: 15px;
}
.skills .skills-content .right .info{
    display: flex;
    margin-bottom: 5px;
    align-items: center;
    justify-content: space-between;
}
.skills .skills-content .right span{
    font-weight: 500;
    font-size: 18px;
}
.skills .skills-content .right .line{
    height: 5px;
    width: 100%;
    background: lightgrey;
    position: relative;
}
.skills .skills-content .right .line::before{
    content: "";
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    background: #0066cc;
}
.skills .skills-content .right .html::before{
    width: 90%;
}
.skills .skills-content .right .css::before{
    width: 60%;
}
.skills .skills-content .right .js::before{
    width: 80%;
}
.skills .skills-content .right .php::before{
    width: 50%;
}
.skills .skills-content .right .mysql::before{
    width: 70%;
}

/*teams section styling*/
.teams .title::after{
    content: "who with me";
}
.teams .carousel .card{
    background: #222;
    border-radius: 6px;
    padding: 25px 35px;
    text-align: center;
    overflow: hidden;
    transition: all 0.3s ease;
}
.teams .carousel .card:hover{
    background: #0066cc;
}
/* Teams Section: flex layout for card content */
.teams .card .box {
    display: flex;           /* align image and text side by side */
    align-items: center;
    gap: 20px;               /* space between image and description */
    padding: 20px;
    flex-direction: row;     /* ensures horizontal layout */
}

/* Keep the team member name (.text) styling */
.teams .card .text {
    font-size: 26px;
    font-weight: 600;
    color: #0099ff;
    margin-bottom: 10px;
}

/* Description paragraph styling */
.teams .card .box p {
    font-size: 16px;
    color: #fff;           /* white for contrast on dark background */
    line-height: 1.6;
    margin: 0;
}

/* Make the image fixed size for uniformity */
.teams .card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0099ff; /* blue border for accent */
}

.teams .card:hover img{
    border-color: #fff;


}
/* --- Corrected Owl Carousel Dot Styling --- */

/* This styles the container for the dots */
.owl-dots {
    text-align: center;
    margin-top: 20px;
}

/* This styles EACH individual dot */
.owl-carousel .owl-dot {
    height: 13px;
    width: 13px;
    margin: 0 5px;
    outline: none;
    border-radius: 50%;
    border: 2px solid #0066cc;
    transition: all 0.3s ease;
}

/* This styles the ACTIVE dot and the dot on HOVER */
.owl-carousel .owl-dot.active,
.owl-carousel .owl-dot:hover {
    background: #0066cc;
}

/* This creates the "pill" shape for the ACTIVE dot specifically */
.owl-carousel .owl-dot.active {
    width: 35px;
    border-radius: 14px;
}

/* contact section styling */

.contact .title::after{
    content: "get in touch";
}
.contact .contact-content .column{
    width:calc(50% - 30px);
}
.contact .contact-content .text{
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}
.contact .contact-content .left p{
    text-align: justify;
}
.contact .contact-content .left .icons{
    margin:10px 0;
}
.contact .contact-content .row{
    display: flex;
    height: 65px;
    align-items: center;
}
.contact .contact-content .row .info{
    margin-left: 30px;
}
.contact .contact-content .row i{
    font-size: 25px;
    color: #0066cc;
}
.contact .contact-content .info .head{
    font-weight: 500;
}
.contact .contact-content .info .sub-title{
    color: #333;
}
.contact .right form .fields{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.contact .right form .field{
    height: 45px;
    width: calc(50% - 10px);
    margin-bottom: 15px;
}
.contact .right form .field.full{
    width: 100%;
}
.contact .right form .textarea{
    height: 80px;
    width: 100%;
    margin-bottom: 15px;
}
.contact .right form .field input,
.contact .right form .textarea textarea{
    height: 100%;
    width: 100%;
    border: 1px solid lightgrey;
    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;
}
.contact .right form .button{
    height: 47px;
    width: 170px;
    
}
.contact .right form .button button{
    width: 100% ;
    height: 100%;
    border: 2px solid #0066cc ;
    color: #0066cc;
    font-size: 20px;
    font-weight: 500;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.3s ease;

}
.contact .right form .button button:hover{
    color: #fff;
    background: #0066cc;
}
footer {
    background-color: #111;
    color: #fff;
    font-family: Arial, sans-serif;
    padding: 50px 20px 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    justify-content: space-between;
}

.footer-section h3 {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: #00aaff;
}

.footer-section p, 
.footer-section li, 
.footer-section a {
    font-size: 0.95em;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li a:hover {
    color: #00aaff;
}

.social-icons a {
    font-size: 1.4em;
    color: #ccc;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: #00aaff;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #333;
    padding-top: 15px;
    color: #aaa;
    font-size: 0.9em;
}

/* Responsive */
@media screen and (max-width: 900px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        text-align: center;
    }

    .social-icons a {
        margin-right: 10px;
    }
}


/* responsive media query star */
@media (max-width: 1300px ){
    .home .max-width{
    margin-left: 0px;
   }
}
@media (max-width: 1104px ){
    .about .about-content .left img{
        height: 350px;
        width: 350px;
   }
}
@media (max-width: 991px ){
    .max-width{
        padding: 0 50px;
   }
}

@media (max-width: 947px ){
    .menu-btn{
        display: block;
        z-index: 999;
    }
    .menu-btn i.active:before{
        content: "\f00d";
    }
    .navbar .menu{
        position: fixed;
        height: 100vh;
        width: 100%;
        left: -100%;
        top: 0;
        background: #111;
        text-align: center;
        padding-top: 80px;
        transition: all 0.3s ease;
    }
    .navbar .menu.active{
        left: 0;
    }
    .navbar .menu li{
        display: block;
    }
    .navbar .menu li a{
        display: inline-block;
        margin: 20px 0;
        font-size: 25px;
    }
    .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;
    }
    .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%;
    }
    .services .serv-content .card{
        width: calc(50% - 10px);
        margin-bottom: 20px;
    }
    .skills .skills-content .column,
    .contact .contact-content .column{
        width: 100%;
        margin-bottom: 35px;
    }
}

@media (max-width:690px){
    .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;

    }
    .services .serv-content .card,
    .skills .skills-content .column{
        width: 100%;

    }
}


@media (max-width:500px) {
    .home .home-content .text-2{
        font-size: 50px;
    }
    .home .home-content .text-3{
        font-size: 27px;
    }
    .contact .right form .fields{
        flex-direction: column;
    }
    .contact .right form .field.name,
    .contact .right form .field.email{
        width: 100%;
        margin-left: 0;
    }
}
/* Add this to your style.css for accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.home .home-content .h3 .typing {
    color: #0066cc;
    font-weight: 500;
}

.about .about-content .right .text .typing-2 {
    color: #0066cc;
    font-weight: 600;
}
