/* Resetting margins and paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0099ff;
    --secondary-color: #00d4ff;
    --dark-color: #1a1a2e;
    --light-bg: #f0f7ff;
    --text-color: #333;
    --hover-color: #0077cc;
    --gradient: linear-gradient(135deg, #0099ff 0%, #00d4ff 100%);
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #ffffff;
    color: var(--text-color);
    line-height: 1.6;
}

/* Navigation Bar */
.navbar {
    background-color: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    transition: all 0.3s ease;
    border-radius: 25px;
}

.nav-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.logo {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    margin-bottom: 0;
    min-height: 80vh;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero h1 {
    font-size: 54px;
    margin-bottom: 25px;
    color: var(--dark-color);
    line-height: 1.2;
}

.hero p {
    font-size: 22px;
    margin-bottom: 35px;
    color: #666;
    line-height: 1.6;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.logo-display {
    width: 300px;
    height: 300px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /*box-shadow: 0 20px 40px rgba(0, 153, 255, 0.3);*/
    animation: float 6s ease-in-out infinite;
}

.logo-display i {
    font-size: 100px;
    color: white;
    margin-bottom: 10px;
}

.logo-display span {
    font-size: 36px;
    font-weight: bold;
    color: white;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 14px 35px;
    margin-right: 15px;
    color: #fff;
    background: var(--gradient);
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 153, 255, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 153, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
}

/* Section Styles */
section {
    padding: 100px 0;
    background-color: #fff;
}

section:nth-child(even) {
    background-color: var(--light-bg);
}

h2 {
    font-size: 42px;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

/* About Section */
.about p {
    font-size: 20px;
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
    line-height: 1.8;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.stat {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 153, 255, 0.15);
}

.stat h3 {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.stat p {
    font-size: 18px;
    color: #666;
}

/* Services/Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
}

.skill {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.skill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.skill:hover::before {
    transform: translateX(0);
}

.skill:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 153, 255, 0.15);
}

.skill i {
    font-size: 54px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
}

.skill h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.skill p {
    color: #666;
    line-height: 1.7;
    font-size: 16px;
}

/* Milestones/Experience Section */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--gradient);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 25px;
    background: var(--gradient);
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 0 0 5px rgba(0, 153, 255, 0.2);
}

.timeline-date {
    flex: 1;
    text-align: right;
    padding-right: 50px;
    font-weight: bold;
    font-size: 20px;
    color: var(--primary-color);
}

.timeline-content {
    flex: 1;
    padding-left: 50px;
}

.timeline-content h3 {
    font-size: 26px;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.timeline-content h4 {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
    font-weight: normal;
}

.timeline-content ul {
    list-style: none;
    padding-left: 0;
}

.timeline-content li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: #555;
}

.timeline-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Portfolio/Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
}

.project {
    background-color: #fff;
    border-radius: 15px;
    padding: 45px 35px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.project::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.project:hover::before {
    opacity: 0.05;
}

.project:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 153, 255, 0.15);
}

.project>* {
    position: relative;
    z-index: 1;
}

.project-icon {
    font-size: 56px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
}

.project h3 {
    font-size: 26px;
    margin-bottom: 18px;
    color: var(--dark-color);
}

.project p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 16px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 25px;
}

.project-tech span {
    background: var(--light-bg);
    padding: 6px 18px;
    border-radius: 25px;
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
}

.btn-project {
    display: inline-block;
    padding: 12px 30px;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-project:hover {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
}

/* Video Showcase Section */
.video-showcase {
    background-color: #fff;
    padding: 100px 0;
}

.section-subtitle {
    text-align: center;
    font-size: 20px;
    color: #666;
    margin-bottom: 60px;
    margin-top: -40px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 50px;
    margin-top: 60px;
}

.video-item {
    text-align: center;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    background: var(--gradient);
    margin-bottom: 25px;
}

.video-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
}

.video-placeholder i {
    font-size: 70px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.video-placeholder p {
    font-size: 18px;
    opacity: 0.9;
    font-weight: 500;
}

.video-wrapper video,
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

.video-item h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--dark-color);
}

.video-item p {
    color: #666;
    line-height: 1.7;
    max-width: 450px;
    margin: 0 auto;
    font-size: 16px;
}

.video-wrapper {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 153, 255, 0.2);
}

/* Contact Section */
.contact {
    text-align: center;
    background-color: var(--light-bg);
}

.contact>.container>p {
    font-size: 20px;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #666;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    background-color: #fff;
    border-radius: 50px;
    text-decoration: none;
    color: var(--dark-color);
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    font-weight: 500;
}

.contact-item:hover {
    background: var(--gradient);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 153, 255, 0.3);
}

.contact-item i {
    font-size: 22px;
}

/* Office Locations */
.office-locations {
    margin-top: 80px;
}

.office-locations h3 {
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--dark-color);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.location {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.location:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 153, 255, 0.15);
}

.location i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.location h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.location p {
    color: #666;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-section p {
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

.social-links {
    margin-top: 25px;
}

.social-links a {
    color: #fff;
    font-size: 24px;
    margin-right: 20px;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    color: #aaa;
}

.footer-bottom a {
    color: #aaa;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 18px;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {

    /* Navigation */
    .navbar {
        padding: 10px 0;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--dark-color);
        flex-direction: column;
        align-items: center;
        justify-content: start;
        padding-top: 50px;
        transition: left 0.3s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        display: block;
        width: 200px;
        text-align: center;
        margin: 10px 0;
    }

    /* Add hamburger menu button (requires JS) */
    .navbar::after {
        content: '☰';
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        color: white;
        font-size: 28px;
        cursor: pointer;
    }

    /* Hero Section */
    .hero {
        padding: 100px 0 60px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .logo-display {
        width: 200px;
        height: 200px;
    }

    .logo-display i {
        font-size: 70px;
    }

    .logo-display span {
        font-size: 28px;
    }

    /* Buttons */
    .btn {
        margin: 10px 5px;
        padding: 12px 25px;
        font-size: 16px;
    }

    /* Sections */
    section {
        padding: 60px 0;
    }

    h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }

    /* About Section */
    .about p {
        font-size: 16px;
    }

    .company-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat h3 {
        font-size: 36px;
    }

    /* Skills Grid */
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .skill {
        padding: 30px 20px;
    }

    /* Timeline */
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column;
        padding-left: 60px;
        margin-bottom: 40px;
    }

    .timeline-item::before {
        left: 30px;
        width: 20px;
        height: 20px;
    }

    .timeline-date {
        text-align: left;
        padding: 0;
        margin-bottom: 10px;
        font-size: 16px;
    }

    .timeline-content {
        padding: 0;
    }

    .timeline-content h3 {
        font-size: 20px;
    }

    .timeline-content h4 {
        font-size: 16px;
    }

    /* Projects */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .project {
        padding: 35px 25px;
    }

    .project h3 {
        font-size: 22px;
    }

    /* Video Grid */
    .video-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Contact */
    .contact-methods {
        flex-direction: column;
        align-items: center;
    }

    .contact-item {
        width: 90%;
        max-width: 300px;
        justify-content: center;
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .social-links {
        display: flex;
        justify-content: center;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    h2 {
        font-size: 28px;
    }

    .skill i {
        font-size: 42px;
    }

    .skill h3 {
        font-size: 20px;
    }

    .project-icon {
        font-size: 42px;
    }

    .stat h3 {
        font-size: 32px;
    }

    .stat p {
        font-size: 16px;
    }
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply animation to sections */
section {
    animation: fadeIn 0.8s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--hover-color);
}

/* Additional hover effects */
.container>*:not(h1):not(h2) {
    transition: opacity 0.3s ease;
}

/* Gradient text for headings */
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {

    .navbar,
    .footer,
    .btn,
    .video-showcase {
        display: none;
    }

    section {
        page-break-inside: avoid;
    }
}

.logo-display img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* keeps aspect ratio */
}