 :root {
     /* Primary Colors */
     --primary-color: #002B5B;
     --secondary-color: #1C6DD0;

     /* Accent Colors */
     --accent-color: #F0A500;

     /* Background and Text Colors */
     --background-color: #F5F5F5;
     --text-color: #333333;
     --secondary-text-color: #666666;

     /* Button Colors */
     --button-text-color: #FFFFFF;
 }

 body {
     margin: 0;
     font-family: Arial, sans-serif;
     background-color: var(--background-color);
     color: var(--text-color);
     scroll-behavior: smooth;
 }

 /* Hero Section */

 .hero-section {
    width: 100%;
    height: 100vh;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    background-color: #0D0D0D;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    position: relative;
    z-index: 2;
}

.hero-left {
    flex: 1;
}

.hero-left h1 {
    font-size: 4rem;
    font-weight: bold;
    letter-spacing: -1px;
    line-height: 1.2;
    color: white;
}

.hero-left .tagline {
    font-size: 1.5rem;
    margin-top: 15px;
    color: #aaa;
    max-width: 300px;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-image {
    max-width: 500px;
    height: auto;
    z-index: 2;
}

.overlapping-element {
    width: 300px;
    height: 300px;
    background-color: rgba(0, 123, 255, 0.238);
    /* background-color: rgba(255, 166, 0, 0.128); */

    position: absolute;
    top: 20%;
    left: 10%;
    z-index: 1;
    transform: rotate(20deg);
}


/* .overlapping-element_1{
    width: 300px;
    height: 200px;
    background-color: rgba(0, 123, 255, 0.1);
    position: absolute;
    top: 10%;
    right: 10%;
    z-index: 1;
    transform: rotate(20deg);


} */



.floating-3d-object {
    width: 100px;
    height: 100px;
    /* background-color: rgba(0, 123, 255, 0.238); */
    background-color: rgba(255, 166, 0, 0.507);
    position: absolute;
    top: 40%;
    right: 35%;
    z-index: 1;
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}
@keyframes floate {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20); }
    100% { transform: translateY(-60); }
}

.floating-3d-object_1 {
    width: 100px;
    height: 100px;
    /* background-color: rgba(0, 123, 255, 0.238); */
    background-color: rgba(255, 166, 0, 0.465);
    position: absolute;
    top: 30%;
    right: 10%;
    z-index: -3;
    border-radius: 50%;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-60px); }
    100% { transform: translateY(0); }
}

.hero-left h1, .hero-left .tagline {
    animation: fadeIn 1s ease-in-out;
}

.hero-left .tagline {
    font-size: 1.5rem;
    margin-top: 10px;
    transform: rotate(-3deg);
}

.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background-color: #007bff;
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3;
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.4);
}


@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        align-items: center;
    }

    .hero-left {
        text-align: center;
    }

    .hero-left h1 {
        font-size: 3rem;
    }

    .hero-left .tagline {
        max-width: 100%;
    }

    .hero-right {
        margin-top: 20px;
    }
    .hero-right img{
        display: none;
    }


    .overlapping-element {
        width: 200px;
        height: 200px;
        top: 10%;
        left: 5%;
    }

    .floating-3d-object {
        width: 80px;
        height: 80px;
        right: 10%;
    }
}

/* About Me Section */



.about-me {

    /* background-color: #e8eef3; */
     /* Slightly darker than the skills section */

    background-color: #ffffff;
    padding: 60px 0;
    color: #333;
}

.about-me .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-me h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    color: #002B5B;
}

.about-me .bio p {
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 40px;
    text-align: justify;
}


/* Skills Section */
.skills {
    background-color: #f0f4f8;
    padding: 60px 0;
}

.skills .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.skills h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    color: #002B5B;
}
.bold-blue{
    font-weight: bolder;
    color: #002B5B;

}

.skill-category {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.skill-category h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #003B70;
    border-left: 5px solid #003B70;
    padding-left: 15px;
}

.skill-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-category ul li {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
    padding-left: 10px;
    position: relative;
}

.skill-category ul li::before {
    content: "•";
    color: #0073e6;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

@media (min-width: 768px) {
    .skills .container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
    
    .skills h2 {
        grid-column: span 2;
    }
}

/* .skills {
    margin-bottom: 60px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.skill {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.skill h3 {
    margin-bottom: 10px;
}

.skill-bar {
    background-color: #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.skill-level {
    background-color: #002B5B;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    text-align: right;
    transition: width 0.5s;
} */

.certifications{
    background-image: url(images/service-bg.png) no-repeat center center/cover;
}
.certifications ul {
    list-style-type: none;
    padding: 0;
}

.certifications li {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.certifications li:hover {
    transform: translateY(-5px);
}





/* Projects Section */
.projects {
    /* background-image: url(images/contact-bg.png); */
    background-color: #ffffff;
    padding: 60px 0;
    color: #333;
}

.projects .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.projects h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    color: #002B5B;
}

.featured-projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.project {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.project:hover {
    transform: translateY(-5px);
}

.project img {
    width: 100%;
    height: auto;
}

.project-info {
    padding: 20px;
    text-align: center;
}

.project-info h3 {
    margin-bottom: 15px;
    font-size: 1.8rem;
    color: #002B5B;
}

.project-info p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.project-info .btn {
    background-color: #002B5B;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.project-info .btn:hover {
    background-color: #0073e6;
}

.case-studies h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    color: #002B5B;
}

.case-study {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.case-study h4 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: #002B5B;
}

.case-study p {
    font-size: 1rem;
    line-height: 1.6;
}



/* Contact Section */
.contact {
    background-image: url(images/service-bg.png) ;
    background-color: #f0f4f8;
    padding: 10px 0;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #002B5B;
    margin-bottom: 40px;
}

.contact .boxes-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center align items */
    padding: 4rem 0;
    margin-bottom: 3rem;
}

/* Individual box styles */
.box {
    /* width: 100%; */
    flex: 1 1 100%; /* Grow and shrink with a minimum width of 300px */
    max-width: 250px; /* Ensure boxes don't exceed 300px */
    margin: 10px; /* Space between boxes */
    background-color: #f0f0f0;
    padding: 10px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* For desktop (4 in a row) */
@media (min-width: 1200px) {
    .box {
        flex: 1 1 calc(25% - 20px); /* 25% width minus margin */
    }
}

/* For tablet (2 in a row) */
@media (min-width: 768px) and (max-width: 1199px){
    .box {
        flex: 1 1 calc(50% - 20px); /* 50% width minus margin */
    }
}

/* For mobile (1 in a row) */
@media (max-width: 767px) {
    .box {
        max-width: 100%;
        flex: 1 1 100%; /* Full width */
    }
}
.contact-info {
    /* margin: 2rem 1em; */
    /* background: whitesmoke; */
    /* padding: 2rem; */
    border-radius: 5px;
    text-align: center;
    /* max-width: 300px; */
    height: 200px;
}

.contact-info i {
    color: #fff;
    background: var(--primary-color);
    width: 70px;
    height: 70px;
    display: inline-block;
    line-height: 70px;
    margin-bottom: 0rem;
    font-size: 25px;
    border-radius: 50px;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    z-index: 1;
}
.contact-info p {
    font-size: 15px;
}

.contact-info h5 span {
    font-weight: 700;
    font-size: 16px;
}














.contact-form {
    max-width: 600px;
    margin: 0 auto 40px auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    font-size: 1rem;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.contact-form input, 
.contact-form textarea {
    width: 90%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form textarea {
    resize: none;
}

.contact-form .btn-submit {
    background-color: #0073e6;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.contact-form .btn-submit:hover {
    background-color: #005bb5;
}

/* Social Media Links */
.social-media {
    text-align: center;
    margin-bottom: 40px;
}

.social-media a {
    margin: 0 10px;
    font-size: 2rem;
    color: #0073e6;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: #005bb5;
}
.social-media i {
    color: var(--primary-color);
    background: var(--background-color);
    width: 40px;
    height: 40px;
    display: inline-block;
    line-height: 40px;
    margin-bottom: 0rem;
    font-size: 25px;
    border-radius: 50px;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    z-index: 1;
    transition: ease-in .3s;
}
.social-media i:hover {
    background: var(--primary-color);
    color: var(--background-color);

}




/* Optional Location Map */
.location-map iframe {
    border-radius: 10px;
    border: none;
}


.mobile-nav {
    display: none;
}

@media (max-width: 768px) {
    .contact {
        padding: 40px 15px;
    }

    .contact-form {
        padding: 20px;
    }
}

@media (max-width: 768px) {

nav {
    display: none; /* Hide main nav on mobile */
}

.mobile-nav {
    display: flex;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #002B5B;
    padding: 10px 0;
    z-index: 999;
}

.mobile-nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.2rem;
    padding: .3em 1em;
    background: var(--background-color);
    border-radius: 4px;
}
}

.footer {
    background-color: #002B5B;
    padding: 20px;
    text-align: center;
    position: relative;
}
.footer a {
    margin: 0 10px;
    color: #f0f4f8;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}
.footer p {
    color: var(--button-text-color);
}

.back-to-top {
    position: fixed;
    bottom: 50px;
    right: 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1100;
}
.back-to-top:hover {
    background-color: #0056b3;
}








/* Adjust Padding for Mobile */
@media (max-width: 768px) {
    .section {
        padding: 40px 15px; /* Less padding on mobile */
        margin-bottom: 30px; /* More spacing between sections */
    }
}











/* Divider Style */
/* .divider {
    border-top: 2px solid #ddd;
    margin: 30px 0;
} */

/* Pattern Divider */
/* .divider-pattern {
    background-image: url('pattern.png');
    height: 10px;
    margin: 30px 0;
} */

/* Horizontal Scroll for Projects */
.projects .project-list {
    display: flex;
    overflow-x: scroll;
    gap: 15px;
}

.project-item {
    min-width: 250px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

/* Adjust Layout for Skills on Mobile */
@media (max-width: 768px) {
    .skills .container {
        display: block;
        padding: 0 10px;
    }
    
    .skill-category {
        margin-bottom: 20px;
    }
}


/* Icons for Skills */
.skill-category h3::before {
    content: url('icon.png');
    margin-right: 10px;
    vertical-align: middle;
}

/* Icons for Projects */
.project-item h4::before {
    content: url('project-icon.png');
    margin-right: 5px;
}


/* Typography Adjustments */
h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #002B5B;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #003B70;
}

p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

.section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}





