/* General Styles */
body {
    background-color: #000;
    color: #fff;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Header and Navbar */
header {
    background-color: rgba(17, 17, 17, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

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

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

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ff5722;
}

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

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px 50px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: rgba(17, 17, 17, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        position: absolute;
        top: 60px;
        left: 0;
        padding: 10px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }

    .menu-toggle {
        display: flex;
    }

    /* Hamburger Menu Animation */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(to right, #000, #222);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.cube {
    position: absolute;
    top: 80vh;
    left: 45vw;
    width: 10px;
    height: 10px;
    border: solid 1px #ff5722;
    transform-origin: top left;
    transform: scale(0) rotate(0deg) translate(-50%, -50%);
    animation: cube 12s ease-in-out infinite;
}

.cube:nth-child(2n) {
    border-color: #e64a19;
}

.cube:nth-child(2) {
    animation-delay: 2s;
    left: 25vw;
    top: 40vh;
}

.cube:nth-child(3) {
    animation-delay: 4s;
    left: 75vw;
    top: 50vh;
}

.cube:nth-child(4) {
    animation-delay: 6s;
    left: 90vw;
    top: 10vh;
}

.cube:nth-child(5) {
    animation-delay: 8s;
    left: 10vw;
    top: 85vh;
}

.cube:nth-child(6) {
    animation-delay: 10s;
    left: 50vw;
    top: 10vh;
}

@keyframes cube {
    from {
        transform: scale(0) rotate(0deg) translate(-50%, -50%);
        opacity: 1;
    }
    to {
        transform: scale(20) rotate(960deg) translate(-50%, -50%);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
}

.hero-content h1 {
    font-size: 30px;
    margin-bottom: 20px;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid #fff;
    animation: typing 3s steps(20, end), blink-cursor 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink-cursor {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: #fff;
    }
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #ccc;
}

.cta-button {
    background-color: #5FAEC4;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #e64a19;
}

/* Team Section */
.team-section {
    padding: 50px 20px;
    text-align: center;
    
}

.team-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    
}

.card {
    background-color: #222;
    padding: 20px;
    border-radius: 10px;
    width: 200px;
    text-align: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.1);
}

/* Services Section */
.services-section {
    padding: 50px 20px;
    text-align: center;
    background-color: #111;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.service-card {
    background-color: #222;
    padding: 20px;
    border-radius: 10px;
    width: 250px;
    text-align: center;
    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.3);
}

.service-card i {
    font-size: 40px;
    color: #5FAEC4;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #fff;
}

.service-card p {
    font-size: 16px;
    color: #ccc;
}

/* About Section */
.about-section {
    padding: 100px 20px;
    background-color: #111;
    color: #fff;
    overflow: hidden;
}

.about-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.about-content {
    flex: 1;
    max-width: 600px;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 1s ease-out forwards;
}

.about-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #5FAEC4;
}

.about-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #ccc;
}

.about-content .cta-button {
    background-color: #5FAEC4;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.about-content .cta-button:hover {
    background-color: #e64a19;
}

.about-image {
    flex: 1;
    max-width: 500px;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1s ease-out forwards;
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.image-wrapper:hover::before {
    opacity: 1;
}

.image-wrapper:hover img {
    transform: scale(1.1);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-content {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .about-image {
        max-width: 100%;
    }
}

/* Contact Us Section */
.contact-section {
    padding: 50px 20px;
    text-align: center;
    background-color: #111;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: #222;
    color: #fff;
    font-size: 16px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #888;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    padding: 10px 20px;
    background-color: #5FAEC4;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #e64a19;
}

/* Footer */
.footer {
    background-color: #000;
    padding: 20px;
    text-align: center;
    color: #fff;
    font-size: 14px;
    border-top: 1px solid #444;
}

.footer strong {
    color: #5FAEC4;
}
/* Graphic designer page css */
/* Graphic Designing Demo Projects Section */
.graphic-design-section {
    padding: 100px 20px;
    background-color: #111;
    color: #fff;
    text-align: center;
}

.graphic-design-section h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #5FAEC4;
}

.projects-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background-color: #222;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.project-thumbnail {
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
}

.project-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.project-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #fff;
}

.project-card p {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 20px;
}

.view-project-button {
    background-color: #5FAEC4;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.view-project-button:hover {
    background-color: #e64a19;
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-card {
        width: 100%;
    }
}
/* FAQ Section */
.faq-section {
    padding: 100px 20px;
    background-color: #111;
    color: #fff;
    text-align: center;
}

.faq-section h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #5FAEC4;
}

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

.faq-item {
    background-color: #222;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question h3 {
    font-size: 20px;
    margin: 0;
    color: #fff;
}

.faq-question i {
    font-size: 18px;
    color: #5FAEC4;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-answer p {
    font-size: 16px;
    color: #ccc;
    margin: 0;
    padding-bottom: 20px;
}

/* Active State */
.faq-item.active .faq-question {
    background-color: #333;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust based on content */
    padding: 20px;
}
/* Newsletter Section */
.newsletter-section {
    padding: 100px 20px;
    text-align: center;
    background-color: #222;
}

.newsletter-section form {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.newsletter-section input {
    padding: 10px;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: #333;
    color: #fff;
    font-size: 16px;
}

.newsletter-section button {
    padding: 10px 20px;
    background-color: #5FAEC4;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-section button:hover {
    background-color: #e64a19;
}

/* Social Media Section */
.social-section {
    padding: 50px 20px;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: #fff;
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #5FAEC4;
}

/* Portfolio Section */
.portfolio-section {
    padding: 100px 20px;
    background-color: #111;
    color: #fff;
    text-align: center;
}

.portfolio-section h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #5FAEC4;
}

.filters {
    margin-bottom: 40px;
}

.filter-button {
    background-color: #222;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.filter-button.active {
    background-color: #5FAEC4;
}

.filter-button:hover {
    background-color: #e64a19;
}

.portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.portfolio-item {
    position: relative;
    width: 300px;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    display: block;
}

.portfolio-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

.portfolio-item .overlay h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.portfolio-item .overlay p {
    font-size: 16px;
    margin-bottom: 20px;
    text-align: center;
}

.portfolio-item .overlay .view-button {
    background-color: #5FAEC4;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.portfolio-item .overlay .view-button:hover {
    background-color: #e64a19;
}

/* Responsive Design */
@media (max-width: 768px) {
    .portfolio-item {
        width: 100%;
    }
}
/* video */
.video-container {
    position: relative;
    width: 100%;
    height: 100vh; /* Full screen height */
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1; /* Send video to background */
}

.content {
    position: relative;
    z-index: 1; /* Bring content above video */
    text-align: center;
    color: white;
    font-size: 2rem;
}
/* Chatbot UI */
#chatbot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    background-color: #222;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    z-index: 1000;
}

#chatbot.active {
    display: flex;
}

#chatbot-header {
    background-color: #5FAEC4;
    padding: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#chatbot-header h3 {
    margin: 0;
    font-size: 16px;
    color: #fff;
}

#chatbot-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

#chatbot-body {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    max-height: 300px;
}

#chatbot-messages {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    padding: 10px;
    border-radius: 5px;
    max-width: 80%;
}

.message.user {
    background-color: #444;
    align-self: flex-end;
    color: #fff;
}

.message.bot {
    background-color: #5FAEC4;
    align-self: flex-start;
    color: #fff;
}

#chatbot-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #444;
}

#chatbot-input-field {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #333;
    color: #fff;
}

#chatbot-send {
    background-color: #5FAEC4;
    color: #fff;
    border: none;
    padding: 10px;
    margin-left: 10px;
    border-radius: 5px;
    cursor: pointer;
}

#chatbot-send:hover {
    background-color: #e64a19;
}

#chatbot-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #5FAEC4;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    z-index: 1000;
}

@media (max-width: 768px) {
    #chatbot {
        width: 90%;
        right: 5%;
        bottom: 10px;
    }

    #chatbot-toggle {
        right: 5%;
        bottom: 10px;
    }

    #chatbot-body {
        max-height: 200px;
    }

    .message {
        max-width: 90%;
    }
}