/* Base Styles */
:root {
    --primary-color: #000000;
    --secondary-color: #333333;
    --accent-color: #555555;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #888888;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    background-color: var(--white);
    line-height: 1.6;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

/* Base Styles (continued) */
.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-header.left-aligned {
    text-align: left;
}

.section-header.left-aligned h2::after {
    left: 0;
    transform: none;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--secondary-color);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-nav, .btn-text {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 500;
    border-radius: 0;
    transition: var(--transition);
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-nav {
    background-color: var(--light-gray);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 0;
}

.btn-text {
    padding: 0;
    color: var(--primary-color);
    position: relative;
    font-weight: 500;
}

.btn-text i {
    margin-left: 8px;
    transition: var(--transition);
}

.btn-text:hover i {
    transform: translateX(5px);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 500;
    position: relative;
}

.nav-links a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:not(.btn-nav):hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 4px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-text .highlight {
    position: relative;
    z-index: 1;
}

.hero-text .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--medium-gray);
    z-index: -1;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    align-items: center;
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 450px;
}

.visual-element {
    position: absolute;
}

.visual-element.square {
    width: 300px;
    height: 300px;
    border: 15px solid var(--light-gray);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.visual-element.circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: var(--medium-gray);
    top: 20%;
    right: 20%;
}

.visual-element.code-block {
    background-color: var(--light-gray);
    padding: 20px;
    bottom: 20%;
    left: 20%;
    font-family: monospace;
    display: flex;
    flex-direction: column;
    min-width: 280px;
}

.code-line {
    margin: 5px 0;
    color: var(--primary-color);
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--white);
}

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

.service-card {
    padding: 40px 30px;
    background-color: var(--white);
    border: 1px solid var(--medium-gray);
    transition: var(--transition);
    text-align: center;
}

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

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--secondary-color);
}

/* Work Section */
.work {
    padding: 100px 0;
    background-color: var(--light-gray);
}

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

.work-item {
    background-color: var(--white);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.work-image {
    height: 250px;
    background-color: var(--medium-gray);
    background-size: cover;
    background-position: center;
}

.work-item:nth-child(1) .work-image {
    background-color: #e8f4f8;
}

.work-item:nth-child(2) .work-image {
    background-color: #f8f4e8;
}

.work-item:nth-child(3) .work-image {
    background-color: #f4e8f8;
}

.work-details {
    padding: 25px;
}

.work-details h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.work-details p {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* Process Section */
.process {
    padding: 100px 0;
    background-color: var(--white);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--medium-gray);
    z-index: 0;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: 600;
}

.process-step h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.process-step p {
    color: var(--secondary-color);
    font-size: 0.95rem;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.about-image {
    flex: 1;
}

.image-container {
    position: relative;
    height: 400px;
    background-color: var(--medium-gray);
    overflow: hidden;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--white);
}

.contact-content {
    display: flex;
    gap: 60px;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 1.2rem;
    margin-right: 15px;
    color: var(--primary-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-logo h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.footer-logo p {
    color: var(--medium-gray);
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--white);
}

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

.footer-column ul li a {
    color: var(--medium-gray);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

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

.footer-bottom p {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
        margin-bottom: 60px;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .process-step {
        margin-bottom: 40px;
    }
    
    .about-content, .contact-content {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        transform: rotate(-45deg);
    }
    
    .hero-text h1 {
        font-size: 2.3rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .services-grid, .work-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        gap: 30px;
    }
    
    .about-content, .contact-content {
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 130px 0 70px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .services, .work, .process, .about, .contact {
        padding: 70px 0;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

/* Replace the existing services section CSS with this */
.services {
    padding: 100px 0;
    background-color: var(--white);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 25px;
}

.service-box {
    position: relative;
    background-color: var(--white);
    border: 1px solid var(--medium-gray);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background-color: var(--primary-color);
    transition: height 0.4s ease;
}

.service-box:hover::before {
    height: 100%;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-box.large {
    grid-column: span 2;
    grid-row: span 1;
    height: 280px;
}

.service-box.medium {
    grid-column: span 1;
    grid-row: span 1;
    height: 280px;
}

.service-box.small {
    grid-column: span 1;
    grid-row: span 1;
    height: 280px;
}

.service-content {
    padding: 40px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-box:hover .service-icon {
    transform: translateY(-5px);
}

.service-box h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    transition: var(--transition);
}

.service-box p {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    margin-top: auto;
}

.service-link i {
    margin-left: 8px;
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Add responsive styles for the services section */
@media (max-width: 992px) {
    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-box.large {
        grid-column: span 2;
    }
    
    .service-box.medium, 
    .service-box.small {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .services-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-box.large,
    .service-box.medium,
    .service-box.small {
        grid-column: span 1;
        height: auto;
        min-height: 220px;
    }
}

/* Replace the service icon styles with this */
.service-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
    transition: var(--transition);
    opacity: 0.8;
    font-family: 'Poppins', sans-serif;
}

.service-box:hover .service-number {
    transform: translateY(-5px);
    opacity: 1;
}

/* Keep all other service box styles the same */
/* Update the hero section responsive styles to fix the button overlap issue */

/* Existing hero styles remain the same */

/* Revised responsive styles for the hero section */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
        margin-bottom: 60px;
        max-width: 100%;
        order: 1; /* Ensure text comes first */
    }
    
    .hero-text p {
        margin: 0 auto 40px;
    }
    
    .hero-buttons {
        justify-content: center;
        margin-bottom: 40px; /* Add space between buttons and visual */
    }
    
    .hero-visual {
        max-width: 450px;
        margin: 0 auto;
        height: 350px;
        order: 2; /* Visual comes after text and buttons */
        position: relative;
    }
    
    .visual-element.square {
        width: 250px;
        height: 250px;
    }
    
    .visual-element.circle {
        width: 120px;
        height: 120px;
    }
    
    .visual-element.code-block {
        min-width: 220px;
        padding: 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 130px 0 70px;
    }
    
    .hero-text h1 {
        font-size: 2.3rem;
    }
    
    .hero-visual {
        height: 300px;
        margin-top: 30px; /* Add more space after buttons */
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    
    .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
    }
    
    /* Hide the visual elements on very small screens to prevent any overlap */
    .hero-visual {
        display: none;
    }
}
/* Complete revision of hero section styles for better responsiveness */

/* Base hero styles */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-text .highlight {
    position: relative;
    z-index: 1;
}

.hero-text .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--medium-gray);
    z-index: -1;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    align-items: center;
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 450px;
}

.visual-element {
    position: absolute;
}

.visual-element.square {
    width: 300px;
    height: 300px;
    border: 15px solid var(--light-gray);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.visual-element.circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: var(--medium-gray);
    top: 20%;
    right: 20%;
}

.visual-element.code-block {
    background-color: var(--light-gray);
    padding: 20px;
    bottom: 20%;
    left: 20%;
    font-family: monospace;
    display: flex;
    flex-direction: column;
    min-width: 280px;
}

.code-line {
    margin: 5px 0;
    color: var(--primary-color);
}

/* Large screens (desktops) */
@media (min-width: 1200px) {
    .hero-content {
        gap: 60px;
    }
}

/* Medium screens (laptops and small desktops) */
@media (max-width: 1199px) and (min-width: 992px) {
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .visual-element.square {
        width: 260px;
        height: 260px;
    }
    
    .visual-element.circle {
        width: 130px;
        height: 130px;
    }
    
    .visual-element.code-block {
        min-width: 240px;
    }
}

/* Tablets and small laptops */
@media (max-width: 991px) and (min-width: 768px) {
    .hero {
        padding: 140px 0 80px;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
        max-width: 100%;
        margin-bottom: 0; /* Remove bottom margin */
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .hero-text p {
        margin: 0 auto 40px;
    }
    
    .hero-buttons {
        justify-content: center;
        margin-bottom: 60px; /* Add space between buttons and visual */
    }
    
    .hero-visual {
        width: 100%;
        max-width: 500px;
        height: 300px; /* Reduced height */
        margin: 0 auto;
    }
    
    .visual-element.square {
        width: 220px;
        height: 220px;
    }
    
    .visual-element.circle {
        width: 100px;
        height: 100px;
        top: 15%;
        right: 15%;
    }
    
    .visual-element.code-block {
        min-width: 200px;
        padding: 15px;
        font-size: 0.85rem;
        bottom: 15%;
        left: 15%;
    }
}

/* Large mobile devices */
@media (max-width: 767px) and (min-width: 576px) {
    .hero {
        padding: 120px 0 70px;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-text h1 {
        font-size: 2.3rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
        margin: 0 auto 30px;
    }
    
    .hero-buttons {
        justify-content: center;
        margin-bottom: 50px;
    }
    
    .hero-visual {
        height: 250px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .visual-element.square {
        width: 180px;
        height: 180px;
        border-width: 10px;
    }
    
    .visual-element.circle {
        width: 80px;
        height: 80px;
    }
    
    .visual-element.code-block {
        min-width: 180px;
        padding: 12px;
        font-size: 0.8rem;
    }
}

/* Small mobile devices */
@media (max-width: 575px) {
    .hero {
        padding: 110px 0 60px;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
        margin: 0 auto 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        justify-content: center;
    }
    
    .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
    }
    
    /* Hide the visual elements on very small screens */
    .hero-visual {
        display: none;
    }
}

/* Updated styles for the swirly background with increased visibility */
.bg-swirls {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none; /* This ensures clicks pass through */
}


.swirl-path {
    stroke-dasharray: 1500;
    stroke-dashoffset: 1500;
    animation: drawSwirl 3s forwards ease-out, floatSwirl 15s infinite alternate ease-in-out;
    opacity: 0.9; /* Increased opacity */
}

.swirl-path:nth-child(2) {
    animation-delay: 0.5s, 0s;
    animation-duration: 2.5s, 18s;
}

.swirl-path:nth-child(3) {
    animation-delay: 1s, 0s;
    animation-duration: 2s, 12s;
}

.swirl-path:nth-child(4) {
    animation-delay: 1.5s, 0s;
    animation-duration: 3s, 20s;
}

.swirl-path:nth-child(5) {
    animation-delay: 2s, 0s;
    animation-duration: 2.8s, 17s;
}

.swirl-path:nth-child(6) {
    animation-delay: 2.5s, 0s;
    animation-duration: 1.8s, 14s;
}

.swirl-path:nth-child(7) {
    animation-delay: 3s, 0s;
    animation-duration: 2.2s, 16s;
}

@keyframes drawSwirl {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes floatSwirl {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(5px, 5px);
    }
    100% {
        transform: translate(-5px, -5px);
    }
}

/* Preloader styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader {
    position: relative;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-track {
    opacity: 0.3;
}

.loader-fill {
    transform-origin: center;
    transform: rotate(-90deg);
    animation: fillLoader 2s ease forwards;
}

.loader-center {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #000;
    border-radius: 50%;
}

@keyframes fillLoader {
    0% {
        stroke-dashoffset: 188.5;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

/* Hide content while loading */
body {
    overflow: hidden; /* Prevent scrolling while loading */
}

body.loaded {
    overflow: visible; /* Allow scrolling after loading */
}

/* Update the button styles to ensure they're clickable */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border: none;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    z-index: 2; /* Ensure buttons are above other elements */
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}



.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    margin-left: 15px;
}


/* Make sure hero content has proper z-index */
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2; /* Ensure content is above background elements */
}

/* Ensure hero text and buttons are clickable */
.hero-text {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-buttons {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Ensure background elements don't interfere with clicks */
.bg-swirls {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none; /* This ensures clicks pass through */
}

/* Make sure hero visual doesn't block clicks */
.hero-visual {
    flex: 1;
    position: relative;
    height: 450px;
    pointer-events: none; /* This ensures clicks pass through */
}

.visual-element {
    position: absolute;
    pointer-events: none; /* This ensures clicks pass through */
}

/* Fix header layout */
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
}

.logo-img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 4px 0;
    transition: var(--transition);
}

/* Responsive header adjustments */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        transform: rotate(-45deg);
    }
    
    .logo-img {
        height: 35px;
        margin-right: 8px;
    }
    
    .logo h1 {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .logo-img {
        height: 30px;
        margin-right: 6px;
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }
}

