:root {
    /* Color Palette */
    --navy: #00215b;
    --navy-dark: #001338;
    --navy-light: #00328a;
    --cyan: #00afee;
    --cyan-light: #4dc7f4;
    --white: #ffffff;
    --off-white: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    
    /* Typography */
    --font-primary: 'Outfit', sans-serif;
    
    /* Transitions & Effects */
    --transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
    scroll-behavior: auto;
}

body {
    font-family: var(--font-primary);
    color: var(--text-main);
    background-color: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.bg-dark { background-color: #0f172a; }
.bg-navy { background-color: var(--navy); }
.text-white { color: var(--white) !important; }
.text-light { color: #cbd5e1 !important; }
.text-cyan { color: var(--cyan) !important; }
.highlight-cyan { color: var(--cyan); }
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.ml-3 { margin-left: 1rem; }
.relative-z { position: relative; z-index: 10; }

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

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

.section-padding { padding: 8rem 0; }

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--navy);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
}

/* Floating Contact Button */
.floating-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--cyan);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 175, 238, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: float-btn 3s ease-in-out infinite;
}
.floating-btn:hover {
    background: var(--navy);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 33, 91, 0.4);
}

@keyframes float-btn {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}
.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }
.btn-primary {
    background-color: var(--cyan);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(0, 175, 238, 0.3);
}
.btn-primary:hover {
    background-color: var(--navy);
    color: var(--white);
    box-shadow: 0 10px 25px rgba(0, 33, 91, 0.3);
    transform: translateY(-3px);
}
.btn-outline {
    border-color: var(--white);
    color: var(--white);
    backdrop-filter: blur(5px);
}
.btn-outline:hover {
    background-color: var(--white);
    color: var(--navy);
    transform: translateY(-3px);
}
.btn-block { display: block; width: 100%; }

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}
.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-img { height: 40px; width: auto; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-main { font-size: 1.4rem; font-weight: 800; color: var(--navy); }
.logo-sub { font-size: 0.8rem; color: var(--cyan); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

.nav-links {
    display: flex;
    gap: 2.5rem;
}
.nav-links a {
    font-weight: 500;
    color: var(--white);
    position: relative;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.navbar.scrolled .nav-links a { color: var(--navy); text-shadow: none; }
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--cyan);
    transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

/* Hero Anti-Gravity Section */
.hero-ag {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 33, 91, 0.5); /* Navy tint */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2;
}
.hero-ag-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    padding-top: 80px; /* offset for nav */
}
.hero-ag-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.hero-ag-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-inline: auto;
    opacity: 0.9;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.8;
}
.about-visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.glass-panel {
    position: relative;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0, 33, 91, 0.1);
    z-index: 2;
}
.glass-panel i {
    font-size: 5rem;
    color: var(--cyan);
    filter: drop-shadow(0 0 20px rgba(0, 175, 238, 0.5));
}
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 1;
}
.orb-1 {
    width: 200px;
    height: 200px;
    background: var(--cyan);
    top: -50px;
    right: -50px;
    opacity: 0.6;
    animation: orb-float 8s ease-in-out infinite alternate;
}
.orb-2 {
    width: 150px;
    height: 150px;
    background: var(--navy);
    bottom: -30px;
    left: -30px;
    opacity: 0.4;
    animation: orb-float 6s ease-in-out infinite alternate-reverse;
}

@keyframes orb-float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 40px); }
}

/* Interactive 3D Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    perspective: 1000px;
}
.service-card-3d {
    background: transparent;
    height: 320px;
    perspective: 1000px;
}
.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}
.service-card-3d:hover .service-card-inner {
    transform: rotateY(180deg);
}
.service-card-front, .service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.service-card-front {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}
.service-icon {
    font-size: 3rem;
    color: var(--cyan);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(0, 175, 238, 0.3));
}
.service-card-front h3 {
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 600;
}
.service-card-back {
    background: linear-gradient(135deg, var(--navy), var(--cyan));
    color: white;
    transform: rotateY(180deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}
.service-card-back h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}
.service-card-back p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}
.btn-link {
    color: var(--white);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-link:hover { gap: 0.8rem; }

/* Portfolio Gallery */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}
.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 33, 91, 0.1);
    cursor: pointer;
    transition: var(--transition);
}
.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.portfolio-item:hover img {
    transform: scale(1.1);
}
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 33, 91, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition);
}
.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}
.portfolio-overlay h4 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: var(--transition);
}
.portfolio-overlay p {
    color: var(--cyan);
    font-size: 0.9rem;
    transform: translateY(20px);
    transition: var(--transition);
    transition-delay: 0.1s;
}
.portfolio-item:hover .portfolio-overlay h4,
.portfolio-item:hover .portfolio-overlay p {
    transform: translateY(0);
}

/* Why Choose Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}
.feature-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 33, 91, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 33, 91, 0.1);
}
.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 175, 238, 0.1);
    color: var(--cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}
.feature-card h3 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
}
.feature-card p {
    color: var(--text-muted);
}

/* Contact Section */
.contact {
    position: relative;
    overflow: hidden;
}
.bg-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
    opacity: 0.15;
    border-radius: 50%;
    filter: blur(50px);
}
.orb-bottom-right { bottom: -100px; right: -100px; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
}
.contact-form-wrapper { padding: 3rem; }

.detail-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.detail-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 175, 238, 0.2);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.25rem;
}
.detail-item h4 {
    color: var(--cyan);
    font-weight: 500;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group { margin-bottom: 1.5rem; }
.dark-form input,
.dark-form select,
.dark-form textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--white);
    transition: var(--transition);
}
.dark-form input:focus,
.dark-form select:focus,
.dark-form textarea:focus {
    outline: none;
    border-color: var(--cyan);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(0, 175, 238, 0.2);
}

/* Footer */
.footer {
    background-color: var(--navy-dark);
    color: var(--white);
    padding-top: 5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}
.footer-logo .logo-main { color: var(--white); }
.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    max-width: 300px;
}
.social-links { display: flex; gap: 1rem; }
.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    color: var(--cyan);
}
.social-links a:hover {
    background: var(--cyan);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 175, 238, 0.3);
}
.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: var(--white);
    font-weight: 600;
}
.footer-links ul li { margin-bottom: 1rem; color: rgba(255,255,255,0.6); }
.footer-links ul a { color: rgba(255,255,255,0.6); }
.footer-links ul a:hover { color: var(--cyan); padding-left: 5px; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
    .nav-links { display: none; }
    .hero-ag-title { font-size: 3.5rem; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero-ag-title { font-size: 2.5rem; }
    .hero-ag-subtitle { font-size: 1.2rem; }
    .section-title { font-size: 2.5rem; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .floating-btn { padding: 0.8rem 1.5rem; bottom: 1rem; right: 1rem; }
}
