:root {
    --dark-navy: #0a192f;
    --white: #fff;
    --red: #cc3201;
    --text-light: #fff;
}

/** {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}*/

/*body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--white);
    color: var(--dark-navy);
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}*/

/* Header */
/*#header {
    background-color: var(--white); 
    height: 100vh;
    color: var(--dark-navy); 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}*/

/*nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 7.5%;
    z-index: 1000;
    transition: top 0.3s;
    border-bottom: 1px solid #eee; 
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-navy); 
    width:5%;
}*/



/*.logo span {
    color: var(--red);
}*/

/*nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--dark-navy); 
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--red);
}*/

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--dark-navy); 
    opacity: 0.8; /* Added for softer text */
}

.cta-button {
    background-color: var(--red);
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s;
    cursor:pointer;
}

/*.cta-button:hover {
    background-color: #fff;
    color: #cc3201;
    border:1px solid #cc3201;
}*/

.client_login{
    background-color: var(--red);
    color: #fff;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    border:1px solid #cc3201;
}

.client_login:hover{
    color:#cc3201;
    background-color:#fff;
    border:1px solid #cc3201;
}

/* Sections */
/*section {
    padding: 6rem 0;
}*/

h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--red);
    margin: 10px auto 0;
}

/* About Section */
#about {
    background-color: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

/* Skills Section */
#solutions {
    background-color: #000;
    color: var(--white);
}

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


/*??*/
/*.skill-card {
    background-color: #fff;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    border-bottom: 3px solid var(--red);
}

.skill-card h3 {
    font-size: 1.5rem;
    color: #000;
}
*/
/* Work Section */
#work {
    background-color: #f9f9f9;
}

.work-item {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
}

.work-item.reverse {
    flex-direction: row-reverse;
}

.work-image {
    flex: 1.5;
}

.work-image img {
    width: 100%;
    /*border-radius: 10px; */
    /*box-shadow: 0 10px 30px -15px rgba(0,0,0,0.2);*/
}

.work-description {
    flex: 1;
}

.work-description h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--red);
}

.learn-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--dark-navy);
    font-weight: 700;
    text-decoration: none;
    position: relative;
}

/*.learn-more::after {
    content: '→';
    position: absolute;
    left: 105%;
    transition: left 0.3s;
}*/

.learn-more:hover::after {
    left: 115%;
}

/* Clients Section */
.clients-grid {
    overflow: hidden !important;
    position: relative;
    width: 100%;
    min-height: 120px;
    padding: 1.5rem 0;
}
.clients-scroll-track {
    display: flex;
    gap: 1rem;
    align-items: center;
    width: max-content;
    will-change: transform;
}
.clients-grid img {
    max-height: 200px;
    min-width: 200px;
    object-fit: contain;
    vertical-align: middle;
    user-drag: none;
    user-select: none;
    pointer-events: none;
}
@media (max-width: 600px) {
    .clients-grid img {
        max-height: 120px;
        min-width: 160px;
    }
    .clients-grid {
        min-height: 70px;
    }

}

/* Add these styles to your existing CSS file */

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer {
    background-color: #000;
    color: var(--text-light);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-about h3 {
    font-size: 1.8rem;
    font-weight: 700;
}

.footer-about h3 span {
    color: var(--red);
}

.footer-social a {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-left: 1.5rem;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--red);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #112240;
    padding-top: 2rem;
    font-size: 0.9rem;
}

/*--------------------------------------------------------------
# Mobile Navigation
--------------------------------------------------------------*/
.mobile-nav-toggle {
    display: none;
    position: relative;
    z-index: 9999;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.mobile-nav-toggle::before,
.mobile-nav-toggle::after {
    content: '';
    position: absolute;
    left: 5px;
    width: 30px;
    height: 3px;
    background: var(--dark-navy); 
    transition: transform 0.3s, top 0.3s;
}

.mobile-nav-toggle::before {
    top: 10px;
}

.mobile-nav-toggle::after {
    top: 26px;
}

.mobile-nav-toggle[aria-expanded="true"]::before {
    top: 18px;
    transform: rotate(45deg);
}

.mobile-nav-toggle[aria-expanded="true"]::after {
    top: 18px;
    transform: rotate(-45deg);
}


@media (max-width: 768px) {
    /*.logo {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--dark-navy); 
        width:20%;
    }*/


    nav ul.primary-navigation {
        position: fixed;
        inset: 0 0 0 30%;
        flex-direction: column;
        padding: min(20vh, 10rem) 2rem;
        gap: 2rem;
        background: var(--white); 
        transform: translateX(100%);
        transition: transform 350ms ease-out;
        box-shadow: -10px 0 30px -15px rgba(0,0,0,0.1); /* Added subtle shadow */
        height: 100vh;
    }

    nav ul.primary-navigation[data-visible="true"] {
        transform: translateX(0%);
    }

    nav ul li {
        margin-left: 0;
    }
    
    nav ul li a {
        font-size: 1.2rem;
    }

    .mobile-nav-toggle {
        display: block;
    }

    /* Adjust main content for mobile */
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-content, .work-item, .work-item.reverse {
        flex-direction: column;
    }
}






/* Add these styles to your existing CSS file */

/* Style for the new intro paragraph in sections */
.section-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Updated Skill Card styles */
/*.skill-card {

    background-color: #1e1e1e;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    text-align: center;
    border-bottom: 3px solid transparent; 
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.skill-card:hover {
    transform: translateY(-10px);

     box-shadow: 0 8px 15px rgba(213, 67, 26, 0.4);
    border-bottom-color: var(--red);
}

.skill-icon {
    font-size: 3rem;

    color: #fff;
    margin-bottom: 1.5rem;
}


.skill-card:hover .skill-icon{
    color: #ff5e2c;
}

.skill-card h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.skill-card p {
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.5;
}

=========*/

.skill-card {
    background-color: #1e1e1e;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    text-align: center;
    border-bottom: 3px solid transparent;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(213, 67, 26, 0.4);
    border-bottom-color: var(--red);
}

.skill-icon {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease; /* Make sure this is here */
}

.skill-card:hover .skill-icon {
    color: #ff5e2c;
}

.skill-card h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.skill-card p {
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Adjust intro text color for light backgrounds if needed */
#about .section-intro, #work .section-intro, #clients .section-intro {
    color: #fff;
}







/*--------------------------------------------------------------
# Updated About Section Styles (Two-Column)
--------------------------------------------------------------*/
#about {
    background-color: #f9f9f9;
}

#about h2 {
    color: var(--dark-navy);
}

#about .section-intro {
    color: #6c757d;
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 4rem; /* Add space before the grid */
}

/* The new two-column grid container */
.about-grid-container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

/* Column 1: The features list */
.about-features-column {
    flex: 1.2; /* Give slightly more space to the text */
    display: flex;
    flex-direction: column;
    gap: 2rem; /* Space between feature items */
}

/* Column 2: The image */
.about-image-column {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-column img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px -15px rgba(0,0,0,0.3);
    padding: 20px;
    border: 1px solid rgba(255, 0, 0, 0.17);
}

/* Styling for each feature item within the column */
.feature-item {
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 1.5rem;
}

.feature-icon {
    font-size: 2rem; /* Slightly smaller icon to fit the layout better */
    color: var(--red);
    margin-top: 5px;
}

.feature-text h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--dark-navy);
}

.feature-text p {
    line-height: 1.6;
    color: #333;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .about-grid-container {
        flex-direction: column; /* Stack columns on medium screens */
        gap: 4rem;
    }
}





/* Add these styles to your existing style.css file */

/* New section styling using existing theme */
#tech-skills {
    background-color: #000;
    color: var(--white);
}

/* Re-use h2 styling from other sections */
#tech-skills h2 {
    color: var(--white);
}

/* Style for the sub-headers like "Development", "Design" */
.skills-category-header {
    font-size: 1.8rem;
    color: #fff;
    margin-top: 4rem;
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 2px solid var(--red);
    padding-bottom: 1rem;
}

/* First header shouldn't have a large top margin */
#tech-skills .skills-category-header:first-of-type {
    margin-top: 0;
}

/* Use h4 for the card titles in this section to differentiate */
.skill-card h4 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.75rem;
}

/* Ensure Font Awesome brand icons are displayed correctly */
.fab {
  font-family: 'Font Awesome 6 Brands';
}


/*--------------------------------------------------------------
# Elegant Reveal-on-Scroll Animations
--------------------------------------------------------------*/

/* Initial state for all elements that will be animated.
  They are slightly moved down and are invisible.
*/
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.6s ease-out;
}

/* The state for the elements once they become active/visible.
  They fade in and move up to their original position.
*/
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Contact Us Section */
#contact {
    color: var(--white);
    padding: 6rem 0 5rem 0;
}

.contact-container {
    max-width: 80%;
    margin: 0 auto;
    background: #000;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 3rem 2.5rem 2.5rem 2.5rem;
    position: relative;
}

#contact h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

#contact .section-intro {
    color: #fff;
    margin-bottom: 2.5rem;
    font-size: 1.15rem;
}

#contactForm .formGroup {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

#contactForm label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--white);
}

#contactForm .inputPF {
    padding: 0.9rem 1.2rem;
    border-radius: 6px;
    border: 1px solid #949494;
    background: rgba(255,255,255,0.08);
    color: var(--white);
    font-size: 1rem;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
    margin-bottom: 0.2rem;
}

#contactForm .inputPF:focus {
    border: 1.5px solid var(--red);
    box-shadow: 0 0 0 2px rgba(204,50,1,0.15);
}

#contactForm textarea.inputPF {
    resize: vertical;
    min-height: 120px;
    max-height: 300px;
}

#contactForm .cta-button {
    width: 100%;
    padding: 1rem 0;
    font-size: 1.1rem;
    border-radius: 6px;
    margin-top: 0.5rem;
    border: 1px solid #fff;
}

#contactStatus {
    min-height: 24px;
    font-size: 1rem;
    text-align: center;
}

@media (max-width: 768px) {
    .contact-container {
        padding: 2rem 1rem 1.5rem 1rem;
    }
    #contact {
        padding: 4rem 0 3rem 0;
    }

    .contact-container {
        max-width: 95% !important;
    }

    /*.container {
        width: 90% !important;
        max-width: 1200px;
        margin: 0 auto;
    }*/
}

/* Client Login Page Styles */
.client-login-container {
    max-width: 400px;
    margin: 5vh auto 0 auto;
    background: #000;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 2.5rem 2rem 2rem 2rem;
    color: var(--white);
}
#clientLoginSection h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
    text-align: center;
}
#clientLoginForm .formGroup {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}
#clientLoginForm label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--white);
}
#clientLoginForm .inputPF {
    padding: 0.9rem 1.2rem;
    border-radius: 6px;
    border: 1px solid #949494;
    background: rgba(255,255,255,0.08);
    color: var(--white);
    font-size: 1rem;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
    margin-bottom: 0.2rem;
}
#clientLoginForm .inputPF:focus {
    border: 1.5px solid var(--red);
    box-shadow: 0 0 0 2px rgba(204,50,1,0.15);
}
#clientLoginForm .cta-button {
    width: 100%;
    padding: 1rem 0;
    font-size: 1.1rem;
    border-radius: 6px;
    margin-top: 0.5rem;
    border: 1px solid #fff;
    background: var(--red);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}
#clientLoginForm .cta-button:hover {
    background: #fff;
    color: var(--red);
    border: 1px solid var(--red);
}
#clientLoginStatus {
    min-height: 24px;
    font-size: 1rem;
    text-align: center;
}
@media (max-width: 600px) {
    .client-login-container {
        max-width: 98vw;
        padding: 1.5rem 0.5rem 1.5rem 0.5rem;
    }
}



/* Dropdown menu styles - true transparent gap with pseudo-element */
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background-color: #fff;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    z-index: 2000;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 0;
    pointer-events: auto;
    transition: opacity 0.15s;
    opacity: 0;
    visibility: hidden;
    /* Remove border-top */
}
.dropdown-content::before {
    content: '';
    display: block;
    height: 22px;
    background: transparent;
    position: absolute;
    left: 0;
    top: -22px;
    width: 100%;
    z-index: -1;
}

@media (min-width: 769px) {
    .dropdown:hover .dropdown-content,
    .dropdown:focus-within .dropdown-content {
        display: block;
        opacity: 1;
        visibility: visible;
    }
}

.dropdown-content a {
    color: var(--dark-navy);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 1rem;
    background: #fff;
    transition: background 0.2s;
}
.dropdown-content a:hover {
    background: #f9f9f9;
    color: var(--red);
}
.dropdown > a:after {
    content: ' ▼';
    font-size: 0.7em;
    color: var(--red);
}

/* Mobile Dropdown Logic */
@media (max-width: 768px) {
  .dropdown-content {
    display: none !important;
    position: static;
    box-shadow: none;
    border-radius: 0;
    background-color: rgba(0,0,0,0.05);
    min-width: 100%;
    margin-top: 0.5rem;
    padding: 0;
    opacity: 1;
    visibility: visible;
  }
  .dropdown.open .dropdown-content {
    display: block !important;
  }
  .dropdown-content::before {
    display: none;
  }
  .dropdown-content a {
    padding-left: 3rem;
  }
  .dropdown > a:after {
    float: right;
    margin-right: 1rem;
    transition: transform 0.3s;
  }
  .dropdown.active-dropdown > a:after,
  .dropdown.open > a:after {
    transform: rotate(180deg);
  }
}