/* Custom CSS for Tractum ISP Website */

:root {
    --primary-color: #00BFFF;
    --secondary-color: #000000;
    --white-color: #FFFFFF;
    --dark-gray: #1a1a1a;
    --light-gray: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #00BFFF 0%, #0080FF 100%);
    --gradient-dark: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.98);
    padding: 0.5rem 0;
}

.navbar-brand img {
    transition: all 0.3s ease;
}

/* Logo Styling */
.navbar-logo {
    height: 80px;
    width: auto;
    transition: all 0.3s ease;
}

.footer-logo {
    height: 35px;
    width: auto;
}

.navbar-nav .nav-link {
    color: var(--white-color) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 191, 255, 0.4);
    background: var(--gradient-primary);
    border: none;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: var(--gradient-dark);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 191, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 191, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(0, 191, 255, 0.05) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-stats {
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
    color: var(--white-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.hero-buttons {
    margin: 2rem 0;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    border-radius: 30px;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white-color);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--white-color);
    color: var(--secondary-color);
    border-color: var(--white-color);
    transform: translateY(-2px);
}

.hero-contact {
    color: var(--white-color);
}

.hero-contact a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-contact a:hover {
    color: var(--white-color);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.signal-bars {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.signal-bar {
    width: 20px;
    background: var(--gradient-primary);
    border-radius: 10px 10px 0 0;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.5);
}

.signal-bar:nth-child(1) { height: 50px; }
.signal-bar:nth-child(2) { height: 80px; }
.signal-bar:nth-child(3) { height: 120px; }
.signal-bar:nth-child(4) { height: 160px; }
.signal-bar:nth-child(5) { height: 120px; }
.signal-bar:nth-child(6) { height: 90px; }
.signal-bar:nth-child(7) { height: 60px; }

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scaleY(0.8); }
    50% { opacity: 1; transform: scaleY(1); }
}

.network-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 49%, rgba(0, 191, 255, 0.1) 50%, transparent 51%),
        linear-gradient(-45deg, transparent 49%, rgba(0, 191, 255, 0.1) 50%, transparent 51%);
    background-size: 30px 30px;
    animation: networkFlow 10s linear infinite;
}

@keyframes networkFlow {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 30px 30px, -30px 30px; }
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Services Section */
.services-section {
    background: var(--light-gray);
}

.service-card {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 191, 255, 0.1);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 191, 255, 0.1);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white-color);
}

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

.service-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    text-align: left;
}

.service-features li {
    padding: 0.25rem 0;
    color: #666;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-2px);
}

/* Why Section */
.why-section {
    background: var(--gradient-dark);
    color: var(--white-color);
}

.why-section .section-title {
    color: var(--white-color);
}

.why-card {
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
}

.why-icon {
    width: 100px;
    height: 100px;
    background: rgba(0, 191, 255, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

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

.why-card:hover .why-icon {
    background: var(--primary-color);
    transform: scale(1.1);
}

.why-card:hover .why-icon i {
    color: var(--white-color);
}

.why-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white-color);
}

.why-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* Coverage Section */
.coverage-section {
    background: var(--white-color);
}

.coverage-features {
    margin-top: 2rem;
}

.coverage-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.coverage-feature i {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.coverage-feature h5 {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.coverage-feature p {
    color: #666;
    margin: 0;
}

.coverage-form {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 191, 255, 0.1);
}

.coverage-form h4 {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.form-control, .form-select {
    border: 1px solid rgba(0, 191, 255, 0.2);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 191, 255, 0.25);
}

/* Contact Section */
.contact-section {
    background: var(--light-gray);
}

.contact-form {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 191, 255, 0.1);
}

.contact-info {
    padding: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white-color);
    border-radius: 10px;
    border: 1px solid rgba(0, 191, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.25rem;
    color: var(--white-color);
}

.contact-details h5 {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.contact-details p {
    margin-bottom: 0.25rem;
    color: #666;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-details a:hover {
    color: var(--secondary-color);
}

.contact-details small {
    color: #999;
}

.social-links {
    margin-top: 2rem;
}

.social-links h5 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: var(--white-color);
    border-radius: 50%;
    margin-right: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-2px);
    color: var(--white-color);
    box-shadow: 0 5px 15px rgba(0, 191, 255, 0.3);
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white-color);
}

.footer-brand {
    display: flex;
    align-items: center;
}

.footer-brand span {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-left: 1.5rem;
    transition: all 0.3s ease;
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-buttons {
        text-align: center;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-visual {
        height: 300px;
        margin-top: 2rem;
    }
    
    .signal-bars {
        transform: scale(0.8);
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin: 0 auto 1rem;
    }
    
    .footer-links {
        margin-top: 1rem;
        text-align: center;
    }
    
    .footer-links a {
        margin: 0 0.75rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .service-card,
    .contact-form,
    .coverage-form {
        padding: 1.5rem;
    }
    
    .why-card {
        padding: 1.5rem;
    }
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

