:root {
    --primary: #2d3a8c;
    --secondary: #e53e3e;
    --light: #f7fafc;
    --dark: #1a202c;
    --accent: #4fd1c5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Navigation */
header {
    /* background-color: whitesmoke;  */
    background-color: transparent; 
    position: absolute; /* Position it on top of the hero */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem;
    box-shadow: none; /* Remove the shadow */
}


nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.logo img {
    width: 150px; /* Adjust the width as needed */
    height: auto; /* Maintain aspect ratio */
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: black; /* Change the text color */
    font-size: 1.2rem; /* Increase the font size */
    padding: 0.5rem 1.5rem; /* Add padding for better spacing */
    text-decoration: none; /* Remove underline */
    border: 2px solid transparent; /* Add border for hover effect */
    transition: all 0.3s ease; /* Smooth transition for hover effect */
    border-radius: 5px; /* Add border radius for rounded corners */
    font-weight: 600;
}

.nav-links a:hover {
    background-color: var(--primary); /* Change background color on hover */
    color: white; /* Change text color on hover */
    border: 2px solid var(--primary); /* Add border on hover */
    text-decoration: none; /* Ensure no underline on hover */
}

/* Mobile Navigation */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: white;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: url('3d-geometric-abstract-background.jpg') no-repeat center center/cover; */
    /* background:linear-gradient(135deg, #1B2735, #415A77); */
    color: #fff;
    padding: 8rem 2rem 2rem; /* Increased padding to account for navbar */
}


.hero-content {
    max-width: 60%;
    padding-right: 2rem;
}

.hero-img {
    max-width: 40%;
}

.hero-img img {
    height: auto;
    width: 100%;
    object-fit: cover;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: start;
    padding-left: 2rem;
    color:black
}

.hero p {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 3rem;
    text-align: start;
    padding-left: 2rem;
    color:black

}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 235px;
    background-color: #0C2D48;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    margin-left: 80px;
    transition: all 0.3s ease;
}

.btn:hover {
    border: 2px solid white;
}

/* Section Styling */
section {
    padding: 5rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-block;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 50%;
    height: 4px;
    background-color: var(--secondary);
}

/* Tablet Styles */
@media screen and (max-width: 1024px) {
    .hero {
        flex-direction: column;
        height: auto;
        padding-top: 5rem;
    }
    
    .hero-content, .hero-img {
        max-width: 100%;
        padding: 1rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
        padding-left: 0;
    }
    
    .hero p {
        font-size: 1.1rem;
        padding-left: 0;
    }
    
    .btn {
        margin-left: 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 60px;
        left: -100%;
        flex-direction: column;
        background: #3674B5;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 1rem 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .btn {
        width: 100%;
        max-width: 235px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 3rem 1rem;
    }
}

/* Small Mobile Devices */
@media screen and (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
}

/* Services Section */
.services-categories {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-btn {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.category-btn:hover, .category-btn.active {
    background-color: var(--primary);
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    cursor: pointer;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}
.service-card h3 {
    font-weight: 600;
}
.service-card p {
    font-weight: 400;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-image {
    height: 200px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
}

.service-details {
    padding: 1.5rem;
}

.service-details h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 250px;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(45, 58, 140, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    opacity: 1;
    transition: opacity 0.3s;
    padding: 1rem;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-overlay h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--primary);
    color: white;
}

.testimonials .section-title h2 {
    color: white;
}

.testimonials .section-title h2::after {
    background-color: var(--accent);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
}

.testimonial-item {
    text-align: center;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.client-details {
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    background-color: #ddd;
    background-size: cover;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-item {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
}

.info-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    color: white;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 3rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-links {
    margin-left: 3rem;
}
.footer-links h3 {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 30px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 35px;
    height: 35px;
    background-color: #000;
    text-decoration: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.social-icon i {
    font-size: 25px;
    color: #fff;
}
.social-icon i:hover {
    color: #000;
}

.social-icon:hover {
    background-color: #fff;
    color: #000;
}


.copyright {
    text-align: center;
    margin-top: 3rem;
    color: #cbd5e0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
    }
}

 

.branding-module {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    max-width: 1000px;
    /* margin: 20px auto; */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    background-color: #ffffff;
    border: 1px solid #eaeaea;
}

.branding-header {
    background: linear-gradient(135deg, #2d46b9 0%, #536dfe 100%);
    padding: 10px 10px;
    color: white;
    position: relative;
}

.service-tag {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
}

.main-header {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    /* margin: 0; */
}

.branding-content {
    padding: 25px;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.service-item {
    background-color: #0E86D4;
    border-radius: 8px;
    font-weight: 600;
    color: #fff;
    padding: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.service-item:hover {
    /* background-color: #eef1ff; */
    transform: translateY(-2px);
}

.service-item::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ff6b6b;
    margin-right: 12px;
}

.description {
    font-size: 16px;
    color:#211522;
    margin-bottom: 25px;
    line-height: 1.6;
    font-weight: 500;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 10px;
}

.gallery-image-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    height: 180px;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    cursor: pointer;
}

.gallery-image:hover {
    transform: scale(1.05);
}

/* New styles for the floating popup */
.service-preview {
    cursor: pointer;
    padding: 15px;
    border-radius: 8px;
    background-color: #f8f9fa;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
    width: 250px;
    margin: 20px;
}

.service-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.service-preview img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 15px;
}

.service-preview h3 {
    color: #2d46b9;
    margin: 0;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(5px);
}

.popup-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.7);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    padding: 30px;
}

/* Custom scrollbar styling that hides the actual scrollbar */
.popup-content-inner {
    height: 100%;
    max-height: calc(90vh - 60px);
    overflow-y: auto;
    padding-right: 20px; /* Add padding to prevent content from touching the right edge */
    margin-right: -20px; /* Offset the padding to hide scrollbar */
    scrollbar-width: none; /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.popup-content-inner::-webkit-scrollbar {
    display: none;
}

.popup-overlay.active {
    display: flex;
    opacity: 1;
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

.close-popup {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: transparent;
    color: #333;
    border: 2px solid #333;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    z-index: 1010;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-popup:hover {
    background-color: #333;
    color: white;
    transform: rotate(90deg);
}

.close-popup::before {
    content: "×";
    font-weight: bold;
    line-height: 1;
}

@media screen and (max-width: 768px) {
    .branding-module {
        margin: 15px;
        border-radius: 8px;
    }
    
    .service-list {
        grid-template-columns: 1fr;
    }
    
    .image-gallery {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .gallery-image-container {
        height: 200px;
    }
    
    .popup-content {
        width: 95%;
        padding: 20px;
    }
    
    .close-popup {
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}

/* From Uiverse.io by vikramsinghnegi */ 
button.youtube-button {
    font-family: inherit;
    font-size: 18px;
    background: linear-gradient(to bottom, #ff0000 0%, #ff5050 100%);
    color: white;
    padding: 0.8em 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 25px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
  }
  
  button.youtube-button:hover {
    transform: translateY(-3px);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
  }
  
  button.youtube-button:active {
    transform: scale(0.95);
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
  }
  
  button.youtube-button span {
    display: block;
    margin-left: 0.4em;
    transition: all 0.3s;
  }
  
  button.youtube-button svg {
    width: 18px;
    height: 18px;
    fill: white;
    transition: all 0.3s;
  }
  
  button.youtube-button .svg-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    margin-right: 0.5em;
    transition: all 0.3s;
  }
  
  button.youtube-button:hover .svg-wrapper {
    background-color: rgba(255, 255, 255, 0.5);
  }
  
  button.youtube-button:hover svg {
    transform: rotate(45deg);
  }

.button-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.button-container .btn,
.button-container .youtube-button {
    flex: 1;
    margin: 0 10px;
    text-align: center;
}



