/* assets/css/style.css */

/* --- Global Styles & Variables --- */
:root {
    --primary-color: #00bcd4;
    --secondary-color: #6c757d;
    --accent-color: #ff9800;
    --header-bg-dark: #1a2a4b;
    --text-dark: #333;
    --text-light: #ffffff;
    --bg-light: #f0f2f5;
    --bg-white: #ffffff;
    --font-main: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1px;
    top: 0px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #0097a7;
    border-color: #0097a7;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1em;
}

.btn-small {
    padding: 8px 15px;
    font-size: 0.9em;
}

/* --- Header --- */
.main-header {
    background-color: var(--header-bg-dark);
    color: var(--text-light);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-header .header-tools {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Logo Styling */
.logo img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease-in-out;
}

.logo img:hover {
    transform: scale(1.08);
}

/* Main Navigation (Desktop) */
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.main-nav ul li a {
    color: #e0e6ed;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease-in-out;
}

.main-nav ul li a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.main-nav ul li a:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle (hidden by default on desktop) */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

/* Language Switcher (Desktop) */
.language-switcher select {
    padding: 8px 15px;
    border-radius: 5px;
    border: 1px solid var(--primary-color);
    background-color: var(--header-bg-dark);
    color: var(--text-light);
    font-size: 1em;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.language-switcher select:hover {
    background-color: #2b3e66;
    border-color: #00e5ff;
}

/* --- Main Content Area --- */
main {
    padding: 40px 0px;
    margin: 0 auto;
    max-width: 100%px;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    min-height: 500px;
    margin-top: 60px;
}

/* --- Hero Section --- */
.hero-section {
    background: url('/assets/images/hero-bg.webp') no-repeat center center/cover;
    color: var(--text-light);
    text-align: center;
    padding: 0% 0 0%;
    position: relative;
    overflow: hidden;
    margin-top: 0px;
}

canvas {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #155724;
    display:block;
    margin:auto;
    position: absolute;
}

#canv  {
    height: 100%;
    clip-path: polygon(0 0, 100% 0, 100% 40%, 0% 100%);
    /* position: relative; */
    inset: 0;
    z-index: -2;
}



.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
     top: 0px;
     display: flex;
     flex-direction: column;
     justify-content: flex-start;
     align-items: center;
     padding-top: 0px;
     margin-top: 0px;
}

.hero-section h1 {
    font-size: 3.5em;
    margin-bottom: 2px;
    line-height: 1.2;
    animation: fadeInDown 1s ease-out;
    mix-blend-mode: difference;
    color: white;
}

.hero-section p {
    font-size: 1.5em;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out 0.3s forwards;
    opacity: 0;
    mix-blend-mode: difference;
    color: white;
}

.hero-buttons .btn {
    margin: 0 10px;
    animation: zoomIn 1s ease-out 0.6s forwards;
    opacity: 0;
    flex-direction: row;
    gap: 80px;
}
@media (max-width: 480px) {
 
.hero-section .container {
    position: relative;
    z-index: 2;
    flex-direction: column;
    align-items: stretch;
    padding: 0px 0 0px;
    margin-top: 1px;
}

.hero-section h1 {
    font-size: 2em;
    margin-bottom: 10px;
    line-height: 1;
    animation: fadeInDown 1s ease-out;
    mix-blend-mode: difference;
    color: white;
}

.hero-section p {
    font-size: 1em;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.3s forwards;
    opacity: 0;
    mix-blend-mode: difference;
    color: white;
}

.hero-buttons .btn {
    margin: 10 10px;
    animation: zoomIn 1s ease-out 0.6s forwards;
    opacity: 0;
    padding: 6px 0 13px;
    flex-direction: column;
    gap: 15px;
}  
} 

/* --- Services Overview --- */
.services-overview {
    padding: 10px 5%;
    text-align: center;
    background-color: var(--bg-light);
}

.services-overview h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
}

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

.service-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.service-card i {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
}

/* --- Featured Projects --- */
.featured-projects {
    padding: 10px 5%;
    text-align: center;
}

.featured-projects h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
}

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

.project-item {
    background-color: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.1);
}

.project-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.project-item h4 {
    font-size: 1.4em;
    padding: 15px;
    margin: 0;
}

.project-item .btn {
    margin: 0 15px 15px;
}

/* ===== How We Work Section ===== */
.how-we-work {
  background: #f8f9fa;
  padding: 10px 5%;
  text-align: center;
}

.how-we-work .section-title {
  font-size: 2.2rem;
  color: var(--text-dark, #222);
  margin-bottom: 10px;
  font-weight: 700;
}

.how-we-work .section-intro {
  font-size: 1.05rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto 50px auto;
}

.work-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
}

.work-step {
  background: #fff;
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.work-step .icon {
  font-size: 2.2rem;
  color: var(--primary-color, #1a73e8);
  margin-bottom: 15px;
}

.work-step h3 {
  font-size: 1.25rem;
  color: #222;
  margin-bottom: 10px;
}

.work-step p {
  font-size: 0.98rem;
  color: #666;
  line-height: 1.6;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .how-we-work {
    padding: 60px 5%;
  }
  .how-we-work .section-title {
    font-size: 1.8rem;
  }
  .work-step {
    padding: 25px 15px;
  }
}




/* --- Why CCHOOSE Us --- */
.why-choose-us {
    background-color: var(--bg-light);
    padding: 10px 5%;
    text-align: center;
}

.why-choose-us h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
}

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

.usp-item {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: left;
}

.usp-item h3 {
    color: var(--primary-color);
    font-size: 1.6em;
    margin-bottom: 15px;
}

.testimonials-section {
  text-align: center;
  padding: 80px 20px;
  background: #f8fafc;
  position: relative;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #222;
}

.testimonial-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.testimonial-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 30px;
  padding: 20px;
}

.testimonial-container::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 300px;
  background: #fff;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

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

.avatar-border {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 15px;
  position: relative;
  background: conic-gradient(#007BFF, #00C6FF, #007BFF);
  animation: spinBorder 4s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-border img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid #fff;
}

@keyframes spinBorder {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.testimonial-text {
  font-size: 1rem;
  color: #555;
  margin-bottom: 10px;
  font-style: italic;
}

.scroll-btn {
  background: #007BFF;
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s ease;
  position: absolute;
  z-index: 10;
}

.scroll-btn:hover {
  background: #005fcc;
}

.scroll-btn.left {
  left: 10px;
}

.scroll-btn.right {
  right: 10px;
}

@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 260px;
  }
}




/* --- Call to Action --- */
.cta-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    padding: 10px 5%;
}

.cta-section h2 {
    font-size: 2.8em;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.3em;
    margin-bottom: 40px;
}

/* FAQ Section */
.faq-section {
  padding: 80px 20px;
  background: #f9f9f9;
}

.faq-section .section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.faq-section .section-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 40px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 15px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  color: #007bff;
}

.faq-answer {
  display: none;
  padding: 0 15px 15px 15px;
  color: #444;
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-toggle {
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}




/* --- Footer --- */
.main-footer {
    background-color: var(--header-bg-dark);
    color: var(--text-light);
    padding: 10px 0 5px;
    font-size: 0.9em;
}

.main-footer .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3em;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

/* --- Animations --- */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

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

.floating-element {
    animation: float 3s ease-in-out infinite;
}

/* --- Notification / Alert Styles --- */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert.warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.notification-box {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.notification-box.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.notification-box .notification-message {
    margin: 0;
    margin-right: 20px;
}

.notification-box .close-notification {
    cursor: pointer;
    font-size: 1.5em;
    line-height: 1;
    color: white;
    transition: color 0.3s ease;
}

.notification-box .close-notification:hover {
    color: #ccc;
}

/* Notification types */
.notification-box.success {
    background-color: #28a745;
}
.notification-box.error {
    background-color: #dc3545;
}
.notification-box.info {
    background-color: #007bff;
}

/* --- Contact Form Styling --- */
.contact-form-section {
    padding: 10px 5%;
    background-color: var(--bg-light);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-dark);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 189, 212, 0.25);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button[type="submit"] {
    width: auto;
    padding: 15px 40px;
    font-size: 1.1em;
    cursor: pointer;
}

@media (max-width: 768px) {
    /* Main header container */
    .main-header .container {
        padding: 0 15px;
    }
    
    /* Set the parent container of the menu to relative position */
    .main-header .header-tools {
        order: 3;
        position: relative;
    }

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

    .main-nav {
        display: none;
        
        /* This creates the compact menu panel next to the button */
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        width: 250px;
        
        background-color: var(--bg-light);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        z-index: 999;
        border-radius: 8px;
        
        /* Scrolling properties for long lists */
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .main-nav.active {
        display: block;
    }

    /* Style for the list inside the menu */
    .main-nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
        overflow-y: auto;
    }

    .main-nav ul li {
        border-bottom: 1px solid #e0e0e0;
    }

    .main-nav ul li:last-child {
        border-bottom: none;
    }

    /* Styles for the links inside the menu */
    .main-nav ul li a {
        color: var(--text-dark);
        padding: 12px 20px;
        font-size: 1.1em;
        font-weight: 500;
        
        /* This will fix the alignment */
        text-align: right;
        display: block;
        
        transition: background-color 0.2s ease, padding-left 0.2s ease;
    }

    .main-nav ul li a:hover {
        background-color: #e9ecef;
    }

    /* Toggle animation for the icon */
    .mobile-menu-toggle.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--primary-color);
    }

    .mobile-menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--primary-color);
    }
}
@media (max-width: 768px) {
    .main-header .container {
        padding: 0 15px;
    }

    .main-header .header-tools {
        order: 3;
        position: relative;
    }

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

    .main-nav {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        width: 100%;
        max-width: 123px;

        background-color: var(--bg-light);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        z-index: 999;
        border-radius: 8px;

        max-height: calc(100vh - 100px); /* Scroll space */
        overflow-y: auto;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        list-style: none;
        margin: 0;
        padding: 0;

        /* Ensure vertical stacking */
        display: flex;
        flex-direction: column;
    }

    .main-nav ul li {
        display: block;
        width: 100%;
        border-bottom: 1px solid #e0e0e0;
    }

    .main-nav ul li:last-child {
        border-bottom: none;
    }

    .main-nav ul li a {
        display: block;
        width: 100%;
        padding: 14px 20px;
        font-size: 1em;
        font-weight: 500;
        color: var(--text-dark);
        text-align: left;
        transition: background-color 0.2s ease;
    }

    .main-nav ul li a:hover {
        background-color: #e9ecef;
    }

    .mobile-menu-toggle.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--primary-color);
    }

    .mobile-menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--primary-color);
    }
}
/* --- Image Slider --- */
.logo-slider {
  overflow: hidden;
  width: 100%;
  background: #fff;
  position: relative;
  

  
}

.logo-track {
  display: flex;
  width: max-content;
  animation: scroll 20s linear infinite;
  background: #0056b3;
  overflow: visible;
}

.logo-track img {
  width: 80px;
  height: auto;
  margin-right: 20px;
  border-radius: 6px;
}

/* Animate using transform */
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

    
/* Founder & Team Profile Photos */
.founder-photo {
    width: 150px;      
    height: 150px;      
    object-fit: cover;  
     border-radius: 50%; 
    display: block;
    margin: 0 auto;     
    border: 3px solid var(--primary-color);
}
/* --- Portfolio Gallery Styles --- */
.portfolio-gallery {
    padding: 60px 0;
    background-color: var(--bg-light);
}

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

.portfolio-item {
    background-color: var(--bg-white);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.portfolio-item img {
    width: 100%;
    height: 200px; /* You can adjust this height */
    object-fit: cover;
    display: block;
}

.portfolio-item .item-info {
    padding: 25px;
}

.portfolio-item .item-info h3 {
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.portfolio-item .item-info .category {
    font-size: 0.9em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.portfolio-item .item-info p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--text-medium);
}

.portfolio-item .item-info h4 {
    font-size: 1.1em;
    margin: 20px 0 10px;
    color: var(--text-dark);
}

.portfolio-item .item-info ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.portfolio-item .item-info ul li {
    font-size: 0.9em;
    color: var(--text-medium);
    margin-bottom: 5px;
    position: relative;
    padding-left: 20px;
}

.portfolio-item .item-info ul li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.portfolio-item .item-info .btn-small {
    margin-top: 20px;
}

/* --- Search Bar Styles (New Layout) --- */
.portfolio-search-bar {
    margin-bottom: 30px;
}

.portfolio-search-bar form {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap to a new line */
    gap: 10px; /* Space between items */
}

.portfolio-search-bar input[type="text"] {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    /* On small screens, the input will take up the full width */
    width: 200px; 
}

.portfolio-search-bar .btn {
    /* These styles will make the buttons take up the full width on a new line */
    flex-grow: 1;
    text-align: center;
    width: 50px;
}

/* This media query ensures the buttons stay on their own row on small screens */
@media (min-width: 500px) {
    .portfolio-search-bar .btn {
        width: auto;
    }
}
/* --- Responsive adjustments --- */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}
/* Thank You Page Styles */
.thank-you-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    text-align: center;
    padding: 20px;
}

.thank-you-content {
    max-width: 600px;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.thank-you-content h1 {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 10px;
}

.thank-you-content p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}

.thank-you-btn {
    font-size: 1.1rem;
    padding: 15px 30px;
}
/* Make required field asterisks red */
.required {
    content: " *";
    color: red;
    font-weight: bold;
}

.career-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.career-container h1 {
    text-align: center;
    margin-bottom: 10px;
    color: #333;
}

.career-container p {
    text-align: center;
    margin-bottom: 25px;
    color: #666;
}

#careerForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#careerForm label {
    font-weight: 600;
    color: #333;
}

#careerForm input,
#careerForm select,
#careerForm textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 100%;
    font-size: 15px;
    transition: border 0.2s;
}

#careerForm input:focus,
#careerForm select:focus,
#careerForm textarea:focus {
    border-color: #007bff;
    outline: none;
}

#careerForm button {
    background: #007bff;
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s;
}

#careerForm button:hover {
    background: #0056b3;
}
/* Style for the new Social Links section */
/* Update the existing CSS for the social icons */
.footer-section.social-links {
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.social-icon {
    font-size: 24px;
    color: #fff;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    transform: scale(1.1);
}

/* Ensure Font Awesome brand font is used */
.social-icon i.fab {
    font-family: "Font Awesome 6 Brands";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}
/* Social Media Icon Colors */
.social-icon .fa-x-twitter {
    color: #000; /* X.com is black */
}

.social-icon .fa-facebook-f {
    color: #1877f2; /* Facebook is blue */
}

.social-icon .fa-tiktok {
    color: #000; /* TikTok's brand color is black */
}


.devhub-section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 20px;
  background: radial-gradient(circle at top left, #0d1117, #161b22 70%);
  color: #fff;
  overflow: hidden;
}

/* --- Floating code particles --- */
.floating-code {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.floating-code span {
  position: absolute;
  font-size: 2rem;
  font-weight: 700;
  color: rgba(0, 255, 255, 0.2);
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.6);
  animation: float 10s linear infinite;
  user-select: none;
}

.floating-code span:nth-child(1) { top: 10%; left: 15%; animation-delay: 0s; color: #00f7ff; }
.floating-code span:nth-child(2) { top: 30%; left: 70%; animation-delay: 2s; color: #00ff80; }
.floating-code span:nth-child(3) { top: 60%; left: 25%; animation-delay: 4s; color: #ff007a; }
.floating-code span:nth-child(4) { top: 80%; left: 50%; animation-delay: 6s; color: #ffdd00; }
.floating-code span:nth-child(5) { top: 40%; left: 85%; animation-delay: 8s; color: #00ffff; }

@keyframes float {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.4; }
  50% { transform: translateY(-20px) rotate(10deg); opacity: 0.8; }
  100% { transform: translateY(0) rotate(0deg); opacity: 0.4; }
}

/* --- Core Card --- */
.devhub-card {
  max-width: 700px;
  padding: 60px 40px;
  border-radius: 20px;
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid transparent;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
  transition: transform 1s ease, box-shadow 0.5s ease;
  backdrop-filter: blur(8px);
  z-index: 1;
}

/* --- Glowing Border Animation --- */
.fancy-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 3px;
  border-radius: 20px;
  background: linear-gradient(90deg, #ff007a, #00f7ff, #00ff80, #ffdd00, #ff007a);
  background-size: 400% 400%;
  animation: rainbow 6s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

@keyframes rainbow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

--- Hover Effects ---
.devhub-card:hover {
  transform: rotateY(6deg) rotateX(3deg) scale(1.02);
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.3);
}

/* --- Typography --- */
.devhub-card h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #00e0ff, #00ffcc);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.devhub-card h2 span {
  color: #00ffcc;
}

.devhub-card p {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 35px;
  line-height: 1.6;
}

/* --- Buttons --- */
.devhub-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.devhub-actions .btn-primary,
.devhub-actions .btn-secondary {
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.4s ease;
  text-decoration: none;
  z-index: 10;
}

.btn-primary {
  background: linear-gradient(90deg, #00c6ff, #00ffcc);
  color: #000;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(90deg, #00ffcc, #00c6ff);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.6);
}

.btn-secondary {
  border: 2px solid #00c6ff;
  color: #00c6ff;
}

.btn-secondary:hover {
  background: #00c6ff;
  color: #000;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .devhub-card {
    padding: 40px 25px;
  }
  .devhub-card h2 {
    font-size: 1.6rem;
  }
  .devhub-card p {
    font-size: 1rem;
  }
  .floating-code span {
    font-size: 1.4rem;
  }
}

.devhub-card {
  transition: transform 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
