:root {
    --primary: #f9b115;
    --secondary: #223b2e;
    --dark: #111111;
    --body-text: #555555;
    --light: #f8f9fa;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

    /* Theme Variables */
    --bg-color: #ffffff;
    --bg-alt: #f8f9fa;
    --text-color: #555555;
    --heading-color: #111111;
    --card-bg: #ffffff;
    --border-color: rgba(0, 0, 0, 0.05);
    --input-bg: #f8f9fa;
}

[data-theme="dark"] {
    --bg-color: #0d1410;
    --bg-alt: #16251d;
    --text-color: #d1d1d1;
    --heading-color: #ffffff;
    --card-bg: #1a2a22;
    --border-color: rgba(255, 255, 255, 0.05);
    --input-bg: rgba(255, 255, 255, 0.05);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

body {
    font-family: "Montserrat", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: "Outfit", sans-serif;
    color: var(--heading-color);
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

/* Loader */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Navbar */
nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 4rem);
    max-width: 1100px;
    background: var(--secondary);
    border-radius: 999px;
    padding: 0.75rem 2.5rem;
    z-index: 1000;
    transition: var(--transition);
}

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

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-extra {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-cta {
    background: var(--white);
    color: var(--secondary);
    padding: 0.6rem 1.8rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

/* Theme Switcher */
.theme-switch {
    width: 60px;
    height: 32px;
    cursor: pointer;
    position: relative;
    z-index: 1002;
    margin-right: 0.5rem;
}

.switch-track {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    position: relative;
    transition: var(--transition);
}

.switch-handle {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.switch-handle i {
    font-size: 0.85rem;
    color: var(--secondary);
    position: absolute;
    transition: opacity 0.3s ease, transform 0.4s ease;
}

.moon-icon {
    opacity: 0;
    transform: rotate(-90deg);
}

[data-theme="dark"] .switch-handle {
    transform: translateX(28px);
    background: var(--white);
}

[data-theme="dark"] .sun-icon {
    opacity: 0;
    transform: rotate(90deg);
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
    transform: rotate(0deg);
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 2.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
}

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

.btn.primary:hover {
    background: var(--primary);
    color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn.secondary {
    border-color: var(--border-color);
    background: var(--card-bg);
    color: var(--heading-color);
}

.btn.secondary:hover {
    border-color: var(--secondary);
    background: var(--secondary);
    color: #ffffff;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 12rem 0 6rem;
    background-color: var(--bg-color);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 2rem;
    position: relative;
    background: var(--card-bg);
}

.hero-badge::before,
.hero-badge::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary);
}

.hero-badge::before {
    top: -3px;
    left: -3px;
}

.hero-badge::after {
    bottom: -3px;
    right: -3px;
}

.hero-content h1 {
    font-size: 4.8rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 3rem;
    max-width: 550px;
}

.hero-btns {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hero-visual {
    position: relative;
}

.img-bg-circle {
    position: absolute;
    width: 100%;
    aspect-ratio: 1;
    background: var(--primary);
    border-radius: 50%;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-visual img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
}

.floating-badge {
    position: absolute;
    z-index: 10;
    background: var(--secondary);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow);
}

.badge-1 {
    top: 65%;
    left: -10%;
}

.badge-2 {
    top: 25%;
    right: -5%;
}

/* Ticker */
.ticker-ribbon {
    background: var(--primary);
    padding: 1.8rem 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 20;
    margin-top: -3rem;
}

.ticker-content {
    display: inline-flex;
    align-items: center;
    gap: 5rem;
    animation: ticker 40s linear infinite;
}

.ticker-item {
    font-family: "Outfit", sans-serif;
    font-size: 2.22rem;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 2rem;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* About Section */
.component-label {
    display: block;
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.component-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.2rem;
    height: 3px;
    background: var(--primary);
}

.about-section {
    background: var(--secondary);
    color: var(--white);
    border-radius: 60px;
    padding: 10rem 0;
    margin: 4rem 1.5rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.about-img img {
    width: 100%;
    border-radius: 50%;
    border: 15px solid rgba(255, 255, 255, 0.05);
}

.about-section .section-title {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.about-text p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    font-size: 1.15rem;
}

.about-stats {
    display: flex;
    gap: 4rem;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

/* Professional Certificates */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 1200px) {
    .certificates-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.certificate-card {
    background: var(--secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    max-width: 360px;
    margin: 0 auto;
}

.certificate-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.cert-img {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border-color);
}

.cert-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
    transition: transform 0.5s ease;
}

.certificate-card:hover .cert-img img {
    transform: scale(1.05);
}

.cert-info {
    padding: 1.5rem;
    text-align: center;
}

.cert-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.cert-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
}

.cert-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--secondary);
    padding: 0.4rem 1.2rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Favorite Tools */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.tool-card {
    text-align: center;
    transition: var(--transition);
}

.tool-circle {
    width: 100px;
    height: 100px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
}

.tool-circle i {
    font-size: 2rem;
    color: var(--secondary);
}

.tool-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.tool-perc {
    font-weight: 700;
    color: var(--primary);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.service-card {
    background: var(--card-bg);
    padding: 4rem 3rem;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--secondary);
    color: var(--primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 6rem;
}

.contact-box {
    background: var(--secondary);
    color: var(--white);
    padding: 4rem;
    border-radius: 40px;
}

.contact-box h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1.8rem;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    color: var(--heading-color);
}

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

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.project-card {
    background: var(--card-bg);
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.project-img {
    height: 350px;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-img img {
    transform: scale(1.05);
}

.project-details {
    padding: 3rem;
}

/* Project Domains (Pricing Style) */
.domains-section {
    background: var(--secondary);
    padding: 10rem 0;
    border-radius: 60px;
    margin: 4rem 1.5rem;
    color: var(--white);
}

.domains-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.domain-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 3rem 2.5rem;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.domain-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

.domain-card.highlight {
    background: var(--primary);
    border: none;
    color: var(--secondary);
    transform: scale(1.05);
    z-index: 2;
}

.domain-card.highlight:hover {
    transform: scale(1.08) translateY(-5px);
}

.domain-header {
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.domain-header i {
    font-size: 2.5rem;
    color: var(--primary);
}

.domain-card.highlight .domain-header i {
    color: var(--secondary);
}

.domain-arrow {
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
}

.domain-card.highlight .domain-arrow {
    background: var(--secondary);
    color: var(--primary);
}

.domain-title {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.domain-list {
    list-style: none;
    margin-bottom: 3rem;
    flex-grow: 1;
}

.domain-list li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.domain-list li i {
    color: var(--primary);
    font-size: 0.9rem;
}

.domain-card.highlight .domain-list li i {
    color: var(--secondary);
}

/* Footer Ticker */
.footer-ticker {
    background: var(--primary);
    padding: 1.2rem 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 20;
}

.footer-ticker-content {
    display: inline-flex;
    align-items: center;
    gap: 4rem;
    animation: ticker 40s linear infinite;
}

.ticker-item-footer {
    font-family: "Outfit", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ticker-star {
    font-size: 1.2rem;
}

/* Advanced Footer */
.main-footer {
    padding: 8rem 0 3rem;
    background: var(--bg-color);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6rem;
}

.footer-top h2 {
    font-size: 3.5rem;
    font-weight: 700;
}

.footer-top h2 span {
    color: var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

.footer-about p {
    margin: 2rem 0;
    color: var(--text-color);
    font-size: 0.95rem;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
}

.footer-social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

.footer-social-links a:hover {
    transform: translateY(-5px);
    background: var(--secondary);
    color: var(--white);
}

.footer-column h4 {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    color: var(--heading-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--body-text);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-newsletter p {
    margin-bottom: 2rem;
    color: var(--text-color);
}

.newsletter-form {
    display: flex;
    background: var(--input-bg);
    padding: 0.5rem;
    border-radius: 999px;
    border: 1px solid var(--border-color);
}

.newsletter-form input {
    flex-grow: 1;
    border: none;
    background: transparent;
    padding: 0 1.5rem;
    outline: none;
}

.newsletter-form button {
    width: 45px;
    height: 45px;
    background: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--primary);
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--body-text);
    font-size: 0.9rem;
}

.footer-legal a {
    text-decoration: none;
    color: var(--body-text);
    margin-left: 2rem;
}

/* Success Modal */
.modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(34, 59, 46, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-wrapper.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    padding: 4rem 3rem;
    border-radius: 50px;
    text-align: center;
    max-width: 500px;
    width: 90%;
}

.success-icon {
    font-size: 6rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 5%;
    }
}

@media (max-width: 992px) {

    .hero-grid,
    .about-grid,
    .services-grid,
    .project-grid,
    .footer-ticker-content {
        gap: 2rem;
    }

    .hero-visual {
        display: none;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-btns {
        justify-content: center;
    }

    h1 {
        font-size: 3rem;
    }

    .domain-grid {
        grid-template-columns: 1fr;
    }

    .domain-card.highlight {
        transform: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background: var(--secondary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.5s;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        padding: 5rem 2rem;
    }

    .nav-links.active {
        right: 0;
    }

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

    .nav-cta {
        display: none;
    }

    .section {
        padding: 5rem 0;
    }

    h2.section-title {
        font-size: 2.2rem;
    }

    .services-grid,
    .project-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }

    .input-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero-badge {
        font-size: 0.8rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-btns {
        flex-direction: column;
    }
}