/* ===================================
   CodeTrust IT Services - Main Stylesheet
   =================================== */

/* ----- Reset & Base Styles ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1e293b;
    background-color: #f8fafc;
    scroll-behavior: smooth;
}

/* ----- Navigation ----- */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #1e3a8a !important;
}

.nav-link {
    color: #475569 !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #3b82f6 !important;
}

/* ----- Hero Section ----- */
.hero-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.btn-primary-custom {
    background-color: #ffffff;
    color: #1e3a8a;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    margin: 0 10px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    color: #1e3a8a;
}

.btn-secondary-custom {
    background-color: transparent;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid #ffffff;
    margin: 0 10px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary-custom:hover {
    background-color: #ffffff;
    color: #1e3a8a;
}

/* ----- Section Styling ----- */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1e3a8a;
}

/* ----- Services Section ----- */
.service-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3rem;
    color: #3b82f6;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e3a8a;
}

.service-card p {
    color: #64748b;
    line-height: 1.7;
}

/* ----- Technology Section ----- */
.tech-section {
    background-color: #ffffff;
}

.tech-content {
    max-width: 1200px;
    margin: 0 auto;
}

.tech-item {
    background: #f1f5f9;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
    text-align: center;
    height: 100%;
    transition: all 0.3s;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.tech-item i {
    color: #3b82f6;
    margin-right: 10px;
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.tech-item strong {
    color: #1e3a8a;
    display: block;
    margin-bottom: 5px;
}

.tech-item span {
    color: #64748b;
    font-size: 0.9rem;
}

/* ----- About Section ----- */
.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.highlight-box {
    background: white;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s;
}

.highlight-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.highlight-box i {
    font-size: 2.5rem;
    color: #3b82f6;
    margin-bottom: 15px;
    display: block;
}

.highlight-box h4 {
    color: #1e3a8a;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.highlight-box p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

/* ----- Why Choose Us ----- */
.why-choose {
    background-color: #ffffff;
}

.check-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.check-item i {
    color: #10b981;
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 5px;
}

/* ----- Contact Section ----- */
.contact-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
}

.contact-form h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.contact-form p {
    color: #64748b;
    margin-bottom: 2rem;
}

.form-control {
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    padding: 12px;
    margin-bottom: 1rem;
}

.form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn-submit {
    background-color: #1e3a8a;
    color: white;
    padding: 12px 40px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-submit:hover {
    background-color: #3b82f6;
}

.privacy-note {
    font-size: 0.875rem;
    color: #94a3b8;
    margin-top: 1rem;
    text-align: center;
}

/* ----- Footer ----- */
footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 30px 0;
    text-align: center;
}

/* ----- Success Modal ----- */
.success-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s;
    overflow-y: auto;
}

.success-modal-content {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    margin: 5% auto;
    padding: 40px 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 550px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.4s;
}

.close-modal {
    color: white;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    line-height: 1;
    z-index: 100;
}

.close-modal:hover {
    transform: scale(1.3) rotate(90deg);
}

.success-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: scaleUp 0.6s;
}

.success-icon i {
    color: white;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.success-modal-content h3 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: white;
}

.success-modal-content p {
    font-size: 1.15rem;
    margin-bottom: 15px;
    color: white;
}

.modal-subtitle {
    font-size: 1.05rem;
    margin-top: 20px;
    margin-bottom: 25px;
    opacity: 0.95;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 30px 0;
}

.contact-option-btn {
    background: white;
    color: #1e3a8a;
    padding: 20px 25px;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.contact-option-btn:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    color: #1e3a8a;
}

.contact-option-btn i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.gmail-btn i {
    color: #ea4335;
}

.instagram-btn i {
    color: #E1306C;
}

.contact-option-btn span {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #1e3a8a;
}

.contact-option-btn small {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.connect-note {
    font-size: 1rem;
    margin-top: 25px;
    font-style: italic;
    opacity: 0.95;
    color: white;
    font-weight: 500;
}

/* ----- Animations ----- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scaleUp {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* ----- Responsive Design ----- */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn-primary-custom,
    .btn-secondary-custom {
        display: block;
        margin: 10px auto;
        width: 80%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 60px 0;
    }
    
    section {
        padding: 50px 0;
    }
    
    .service-card {
        margin-bottom: 20px;
    }
}
footer {
    background: #0f172a;
    color: #cbd5f5;
    padding: 30px 0;
    text-align: center;
}

.footer-links {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #cbd5f5;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a i {
    margin-right: 6px;
}

.footer-links a:hover {
    color: #38bdf8;
}
