/* css/main.css - Enhanced with consistent button styles and animations */
:root {
    --green: #4ab648;
    --yellow: #ffce36;
    --blue: #259dd7;
    --red: #ec3e25;
    --navy: #074377;
    --light-blue: #6cc0e5;
    --light-green: #80d87f;
    --light-yellow: #ffe38a;
    --light-red: #f68e7c;
    --light-gray: #f8f9fa;
    --dark-text: #222222;
    --white: #ffffff;
    --header-height: 100px;
    
    /* Enhanced Button specific variables */
    --btn-border-radius: 8px;
    --btn-padding: 14px 28px;
    --btn-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --btn-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
    --btn-shadow-hover: 0 8px 16px rgba(0, 0, 0, 0.18);
    --btn-shadow-active: 0 2px 4px rgba(0, 0, 0, 0.16);
    --btn-transform-hover: translateY(-3px);
    --btn-transform-active: translateY(1px);
    
    --hc-navy: #004070;
    --hc-blue: #2090D0;
    --hc-green: #40B040;
    --hc-red: #E03020;
    --hc-yellow: #F0C030;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base */
body {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--dark-text);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 { font-size: 42px; }
h2 { font-size: 32px; font-weight: 600; }
h3 { font-size: 22px; font-weight: 600; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== ENHANCED BUTTON STYLES ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: var(--btn-padding);
    border-radius: var(--btn-border-radius);
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--btn-transition);
    box-shadow: var(--btn-shadow);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
}

/* Button hover effect with gradient overlay */
.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover {
    transform: var(--btn-transform-hover);
    box-shadow: var(--btn-shadow-hover);
}

.btn:hover::after {
    opacity: 1;
}

.btn:active {
    transform: var(--btn-transform-active);
    box-shadow: var(--btn-shadow-active);
}

/* Primary Button */
.btn-primary {
    background: linear-gradient(135deg, var(--green) 0%, #3da03b 100%);
    color: var(--white);
    border: 2px solid var(--green);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3da03b 0%, #359334 100%);
    border-color: #3da03b;
}

/* Secondary Button */
.btn-secondary {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}

.btn-secondary:hover {
    background: var(--navy);
    color: var(--white);
}

/* Blue Button */
.btn-blue {
    background: linear-gradient(135deg, var(--blue) 0%, #1e8ac1 100%);
    color: var(--white);
    border: 2px solid var(--blue);
}

.btn-blue:hover {
    background: linear-gradient(135deg, #1e8ac1 0%, #1a7aab 100%);
    border-color: #1e8ac1;
}

/* Red Button */
.btn-red {
    background: linear-gradient(135deg, var(--red) 0%, #d2351e 100%);
    color: var(--white);
    border: 2px solid var(--red);
}

.btn-red:hover {
    background: linear-gradient(135deg, #d2351e 0%, #bd2e19 100%);
    border-color: #d2351e;
}

/* Yellow Button */
.btn-yellow {
    background: linear-gradient(135deg, var(--yellow) 0%, #f5c225 100%);
    color: var(--navy);
    border: 2px solid var(--yellow);
}

.btn-yellow:hover {
    background: linear-gradient(135deg, #f5c225 0%, #ebb420 100%);
    border-color: #f5c225;
}

/* Navy Button */
.btn-navy {
    background: linear-gradient(135deg, var(--navy) 0%, #06315e 100%);
    color: var(--white);
    border: 2px solid var(--navy);
}

.btn-navy:hover {
    background: linear-gradient(135deg, #06315e 0%, #05274d 100%);
    border-color: #06315e;
}

/* White Background Button Variants (for cards) */
.btn-card {
    background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
    color: var(--white);
    border: 2px solid var(--blue);
    box-shadow: 0 4px 12px rgba(37, 157, 215, 0.25);
}

.btn-card:hover {
    background: linear-gradient(135deg, var(--navy) 0%, #06315e 100%);
    box-shadow: 0 6px 16px rgba(37, 157, 215, 0.35);
    transform: var(--btn-transform-hover);
}

/* Outline Button Variants */
.btn-outline {
    background: transparent;
    border: 2px solid currentColor;
}

.btn-outline-primary {
    color: var(--green);
    border-color: var(--green);
}

.btn-outline-primary:hover {
    background: var(--green);
    color: var(--white);
}

.btn-outline-blue {
    color: var(--blue);
    border-color: var(--blue);
}

.btn-outline-blue:hover {
    background: var(--blue);
    color: var(--white);
}

.btn-outline-red {
    color: var(--red);
    border-color: var(--red);
}

.btn-outline-red:hover {
    background: var(--red);
    color: var(--white);
}

.btn-outline-white {
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--navy);
}

/* Button Sizes */
.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-xl {
    padding: 18px 36px;
    font-size: 20px;
}

/* Button with icon */
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-icon i {
    transition: transform 0.3s ease;
}

.btn-icon:hover i {
    transform: translateX(4px);
}

/* Disabled state */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn:disabled:hover {
    transform: none;
    box-shadow: var(--btn-shadow);
}

/* Animation for button click */
@keyframes btnClick {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.btn:active {
    animation: btnClick 0.3s ease;
}

/* ==================== END BUTTON STYLES ==================== */

/* Topbar styles */
.topbar {
    background: linear-gradient(90deg, var(--green) 0%, var(--blue) 35%, var(--yellow) 70%, var(--red) 100%);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
}

.contact-info span {
    margin-left: 20px;
}

.social-links a {
    color: var(--white);
    margin-left: 15px;
    text-decoration: none;
}

/* Header styles */
.main-header {
    padding: 5px 0 0 0;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height, 100px);
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 90px;
}

/* Navigation styles - FIXED DROPDOWNS */
/* top-level nav only - do not affect nested dropdown uls */
.main-nav > ul {
    display: flex;
    list-style: none;
}

/* ensure dropdown ULs are hidden by default (higher specificity) */
.main-nav .dropdown-menu {
    display: none;
}

.main-nav li {
    position: relative;
}

.main-nav > ul > li > a {
    color: var(--navy);
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    transition: all 0.3s;
    font-weight: 500;
}

.main-nav > ul > li > a:hover {
    color: var(--blue);
}

.dropdown-menu {
    position: absolute;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    display: none; /* This ensures dropdowns are hidden by default */
    z-index: 100;
    border-radius: 0 0 5px 5px;
    overflow: hidden;
    top: 100%;
    left: 0;
}

.dropdown-menu a {
    color: var(--navy);
    padding: 12px 20px;
    display: block;
    text-decoration: none;
    transition: all 0.3s;
}

.dropdown-menu a:hover {
    background-color: var(--light-blue);
    color: var(--white);
}

/* This is the key rule - show dropdown on hover */
.dropdown:hover > .dropdown-menu {
    display: block;
}

/* Mobile menu toggle (hidden on desktop) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--navy);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%234ab648' fill-opacity='0.1' d='M0,128L48,117.3C96,107,192,85,288,112C384,139,480,213,576,218.7C672,224,768,160,864,128C960,96,1056,96,1152,117.3C1248,139,1344,181,1392,202.7L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-position: center bottom;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Feature sections */
.features, .services-preview, .about-preview {
    padding: 80px 0;
}

.features {
    background-color: var(--light-gray);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--green) 0%, var(--blue) 35%, var(--yellow) 70%, var(--red) 100%);
    margin: 15px auto 0;
    border-radius: 2px;
}

.feature-grid, .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item, .service-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-item::before, .service-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--green) 0%, var(--blue) 35%, var(--yellow) 70%, var(--red) 100%);
}

.feature-item:hover, .service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-item h3, .service-item h3 {
    color: var(--navy);
    margin-bottom: 15px;
}

.feature-item p, .service-item p {
    margin-bottom: 20px;
}

.feature-icon, .service-icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background-color: rgba(74, 182, 72, 0.1);
    color: var(--green);
}

.service-item:nth-child(2) .service-icon {
    background-color: rgba(37, 157, 215, 0.1);
    color: var(--blue);
}

.service-item:nth-child(3) .service-icon {
    background-color: rgba(236, 62, 37, 0.1);
    color: var(--red);
}

.about-preview {
    text-align: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    color: var(--white);
}

.about-preview .section-title::after {
    background: var(--white);
}

.about-preview p {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 18px;
}

/* Contact form (original base - overridden by modern styles when .modern class present) */
.contact-form-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.contact-form {
    max-width: 600px;
    margin: 40px auto 0;
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--navy);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37, 157, 215, 0.2);
}

.form-group textarea {
    resize: vertical;
}

/* --- Enhanced / Modern Contact Form & Info Card (merged and cleaned) --- */

/* General grid: align items to start so both columns begin at same top */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 420px; /* increased width for the info card */
    gap: 30px;
    align-items: start; /* ensures card starts at the same vertical level as the form */
}

/* contact card should not push upper alignment */
/* Card container */
.contact-info-card{
  position: relative;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(10,30,60,0.98), rgba(10,30,60,0.92));
  padding: 22px 20px 18px 42px; /* left padding increased to make room for stripe */
  min-height: 360px;
  color: #fff;
  box-shadow: 0 12px 32px rgba(6,30,60,0.25);
  overflow: visible;
  display: flex;
  align-items: stretch;
}

/* Left vertical multicolor stripe */
.contact-info-card::before{
  content: "";
  position: absolute;
  left: 12px; /* pull left in from card edge */
  top: 16px;
  bottom: 16px;
  width: 8px;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--hc-blue) 0%, var(--hc-green) 33%, var(--hc-yellow) 66%, var(--hc-red) 100%);
  box-shadow: 0 6px 16px rgba(2,20,40,0.18);
}

/* inner wrapper so the stripe sits outside content flow */
.contact-info-card .card-inner{
  width:100%;
  display:flex;
  flex-direction:column;
  gap:14px;
}

/* Title and subtitle */
.contact-info-card .card-title{
  font-size:20px;
  font-weight:700;
  margin:0;
  color:#fff;
}
.contact-info-card .card-sub{
  margin:0;
  color: rgba(255,255,255,0.9);
  font-size:14px;
}

/* Sections */
.contact-info-card .card-section{
  margin-top:6px;
}

/* label */
.contact-info-card .label{
  font-size:12px;
  font-weight:700;
  color: rgba(255,255,255,0.92);
  margin-bottom:8px;
}

/* Email link (pill look) */
.card-email{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding:10px 12px;
  border-radius:999px;
  text-decoration:none;
  color:#fff;
  background: rgba(255,255,255,0.04);
  transition: transform .15s ease, background .15s ease;
}
.card-email i{ font-size:16px; }
.card-email .email-text{ font-weight:700; font-size:14px; color:#fff; }

/* hover */
.card-email:hover{
  background: rgba(255,255,255,0.09);
  transform: translateY(-3px);
}

/* Social links row */
.social-links{
  display:flex;
  gap:10px;
  align-items:center;
}
.social-link{ text-decoration:none; display:inline-block; }

/* social pill */
.social-pill{
  display:inline-grid;
  place-items:center;
  width:44px;
  height:44px;
  border-radius:10px;
  color:#fff;
  font-size:16px;
  box-shadow: 0 10px 26px rgba(4,30,50,0.20);
  transition: transform .15s ease, box-shadow .15s ease;
}

/* gentle platform color hints - these are safe defaults */
.social-link:nth-child(1) .social-pill{ background: linear-gradient(135deg, var(--hc-blue), var(--hc-navy)); }
.social-link:nth-child(2) .social-pill{ background: linear-gradient(135deg, var(--hc-green), var(--hc-blue)); }
.social-link:nth-child(3) .social-pill{ background: linear-gradient(135deg, var(--hc-red), #c2322a); }
.social-link:nth-child(4) .social-pill{ background: linear-gradient(135deg, var(--hc-red), var(--hc-yellow)); }


/* icon inside pill */
.social-pill i{ font-size:18px; }

/* hover lift */
.social-link:hover .social-pill{
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 18px 40px rgba(4,30,50,0.28);
}

/* small note text */
.contact-info-card .small-note{ margin-top:auto; color: rgba(255,255,255,0.82); font-size:13px; }

/* responsiveness */
@media (max-width: 968px){
  .contact-grid{ grid-template-columns: 1fr; }
  .contact-info-card{
    padding-left: 22px; /* remove space for stripe on small screens */
  }
  .contact-info-card::before{ left: 10px; top: 12px; bottom: auto; height:8px; width:80px; border-radius:6px; background: linear-gradient(90deg, var(--hc-blue), var(--hc-green), var(--hc-yellow), var(--hc-red)); } 
}


/* Modern form layout: apply when markup uses .contact-form.modern */
.contact-form-wrapper { width: 100%; }

.contact-form.modern {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(12, 40, 60, 0.06);
    border: 1px solid rgba(16,40,60,0.04);
    max-width: none; /* allow full column width when used in grid */
    margin: 0;
}

/* input with icon */
.input-icon {
    position: relative;
}
.input-icon i.fa {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--navy);
    font-size: 14px;
    opacity: 0.9;
    pointer-events: none;
}
.input-icon input,
.input-icon textarea {
    padding: 12px 14px 12px 40px;
    width: 100%;
    border: 1px solid #e6eef6;
    border-radius: 10px;
    background: #fff;
    font-size: 15px;
    color: var(--dark-text);
    transition: box-shadow .18s ease, border-color .12s ease, transform .12s ease;
    box-shadow: 0 6px 18px rgba(16,40,60,0.03);
}
.input-icon input::placeholder,
.input-icon textarea::placeholder {
    color: #9fb3c4;
}

/* focus state */
.input-icon input:focus,
.input-icon textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 6px 22px rgba(37,144,208,0.12);
    transform: translateY(-1px);
}

/* two-column row */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* single column groups */
.form-group { margin-bottom: 12px; }

/* form actions / buttons */
.form-actions {
    margin-top: 10px;
    display:flex;
    gap:12px;
    align-items:center;
}

/* Primary CTA (nicer gradient) */
.btn-primary {
    background: linear-gradient(90deg,var(--blue),var(--navy));
    color: #fff;
    border: none;
    box-shadow: 0 8px 22px rgba(32,144,208,0.18);
    display: inline-flex;
    gap:8px;
    align-items:center;
    padding: 10px 18px;
    border-radius: 10px;
}

/* Secondary */
.btn-secondary {
    background: transparent;
    color: var(--navy);
    border: 1px solid rgba(4,34,64,0.06);
    padding: 10px 14px;
    border-radius: 10px;
}

/* yellow button */
.btn-yellow {
    background: var(--yellow);
    color: var(--dark-text);
    padding: 10px 14px;
    border-radius: 10px;
    font-weight:700;
}

/* contact card internal styling */
.contact-info-card h3 { margin: 0 0 8px 0; color: #fff; font-size:20px; }
.contact-tagline { margin-bottom: 14px; opacity:0.95; }
.contact-list { list-style:none; padding:0; margin:0; color: #fff; font-size:15px; }
.contact-item { margin-bottom:14px; display:block; }
.contact-item i.fa { color: rgba(255,255,255,0.95); margin-right:8px; }
.contact-link { color: #fff; text-decoration:none; font-weight:600; display:inline-flex; align-items:center; gap:8px; }
.contact-link i.fa { margin-right:0; }

/* server list */
.server-list { color: rgba(255,255,255,0.95); font-weight:600; }

/* ensure honeypot remains hidden */
.hp-field {
    position: absolute !important;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}

/* form-response */
.form-response {
    margin-top: 12px;
    font-weight: 600;
    color: var(--navy);
}

/* small screens: stack */
@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-wrapper .form-row {
        grid-template-columns: 1fr;
    }
    .contact-info-card {
        order: 2;
        margin-top: 16px;
    }
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, var(--navy) 0%, #0a508a 100%);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--green);
    border-radius: 2px;
}

.footer-column ul { list-style: none; }

.footer-column ul li { margin-bottom: 10px; }

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-column a:hover { color: var(--white); padding-left: 5px; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}
.footer-topline {
  height: 6px;
  border-radius: 4px;
  margin-bottom: 22px;
  background: linear-gradient(90deg, var(--hc-blue) 0%, var(--hc-green) 33%, var(--hc-yellow) 66%, var(--hc-red) 100%);
}


/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%);
    color: var(--white);
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 99;
    transition: all 0.3s;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive styles */
@media (max-width: 968px) {
    .mobile-menu-toggle { display: flex; }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
        display: none;
        padding: 20px;
    }

    .main-nav.active { display: block; }

    .main-nav ul { flex-direction: column; }

    .main-nav > ul > li > a {
        padding: 12px 0;
        color: var(--navy);
    }

    .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        margin-left: 15px;
        margin-top: 10px;
    }

    .dropdown.active .dropdown-menu { display: block; }

    h1 { font-size: 32px; }
    h2 { font-size: 26px; }

    .hero-buttons { flex-direction: column; align-items: center; }

    .topbar .container { flex-direction: column; gap: 10px; text-align: center; }

    .contact-info span { margin-left: 0; margin-right: 15px; }

    .main-header .container { flex-direction: row; }

    .feature-grid, .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .logo img { height: 40px; }
    .main-nav > ul > li > a { padding: 10px 0; }
}

/* Topbar tweaks for new layout */
.topbar {
    background: linear-gradient(90deg, var(--green) 0%, var(--blue) 35%, var(--yellow) 70%, var(--red) 100%);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Left side (uptime + email) */
.header-contact {
    display: flex;
    gap: 18px;
    align-items: center;
    color: var(--white);
    font-weight: 500;
}

.header-contact .uptime {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.header-contact .uptime .uptime-text { display: inline-block; }

/* Email compact styling */
.header-contact .email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.header-contact .email i { font-size: 14px; }

.header-contact .email a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    margin-left: 4px;
}

.header-contact .email a:hover,
.header-contact .email a:focus { text-decoration: underline; outline: none; }

/* social icons (right side) */
.social-links a {
    color: var(--white);
    margin-left: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    transition: background .15s, color .15s, transform .12s;
}

.social-links a i { font-size: 14px; }

/* small hover effect */
.social-links a:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.08);
}

/* responsive adjustments */
@media (max-width: 640px) {
    .topbar .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .social-links { margin-top: 4px; }
}

section[id] {
    scroll-margin-top: var(--header-height, 100px);
}

/* About Section - Vibrant Redesign */
.about-preview {
    text-align: center;
    background: linear-gradient(135deg, var(--navy) 0%, #0a508a 100%);
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.about-preview .intro {
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 18px;
    line-height: 1.6;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 70px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.stat-icon { font-size: 40px; margin-bottom: 15px; }

.stat-number {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 5px;
    background: linear-gradient(90deg, var(--green) 0%, var(--blue) 50%, var(--yellow) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
    font-variant-numeric: tabular-nums;
}

.stat-label { font-size: 16px; opacity: 0.9; }

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.feature-card .feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: inline-block;
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.feature-card h3 { margin-bottom: 15px; font-size: 20px; }
.feature-card p { opacity: 0.9; line-height: 1.6; }

/* CTA Buttons */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* Decorative Elements */
.decorative-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%);
    opacity: 0.1;
    z-index: 0;
}

.circle-1 { width: 300px; height: 300px; top: -150px; right: -150px; }
.circle-2 { width: 200px; height: 200px; bottom: -100px; left: 10%; }
.circle-3 { width: 150px; height: 150px; top: 30%; left: -75px; }

/* Animation for stats */
@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.stat-item { animation: countUp 0.6s ease forwards; }
.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .stat-number { font-size: 32px; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .stat-item { text-align: center; }
}

/* Animation for the stats numbers */
.stat-number.animate {
    animation: countUp 1s ease-out forwards;
}



/* Ensure the about section is visible */
.about-preview {
    position: relative;
    z-index: 1;
}

/* Testimonial Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-card::before {
    content: "“";                      /* opening quote character */
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 60px;
    color: rgba(74, 182, 72, 0.18);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}


.testimonial-content {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
    font-style: italic;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-info h4 {
    margin-bottom: 5px;
    font-size: 18px;
}

.testimonial-info p {
    color: var(--blue);
    font-size: 14px;
    margin: 0;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, #f0f5f9 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.pricing-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--blue);
    z-index: 2;
}

.pricing-card.featured::before {
    content: "POPULAR";
    position: absolute;
    top: 15px;
    right: -30px;
    background-color: var(--blue);
    color: var(--white);
    padding: 5px 30px;
    font-size: 12px;
    font-weight: 600;
    transform: rotate(45deg);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-header h3 {
    color: var(--navy);
    margin-bottom: 15px;
}

.pricing-price {
    font-size: 42px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 5px;
}

.pricing-price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--dark-text);
}

.pricing-description {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 600;
}

.pricing-features li.disabled {
    color: #999;
}

.pricing-features li.disabled::before {
    content: "✕";
    color: #ccc;
}

/* Blog Section */
.blog {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 20px;
}

.blog-meta {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.blog-date {
    margin-right: 15px;
}

.blog-category {
    color: var(--blue);
    font-weight: 600;
}

.blog-content h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.blog-content h3 a {
    color: var(--navy);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-content h3 a:hover {
    color: var(--blue);
}

.blog-excerpt {
    margin-bottom: 20px;
    color: #666;
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    color: var(--white);
    text-align: center;
}

.newsletter h2 {
    margin-bottom: 20px;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 18px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-family: inherit;
    font-size: 16px;
}

.newsletter-button {
    padding: 15px 25px;
    background: linear-gradient(135deg, var(--green) 0%, #3da03b 100%);
    color: var(--white);
    border: none;
    border-radius: 0 5px 5px 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-button:hover {
    background: linear-gradient(135deg, #3da03b 0%, #359334 100%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-input {
        border-radius: 5px;
        margin-bottom: 10px;
    }
    
    .newsletter-button {
        border-radius: 5px;
    }
}



/* Styles for email reveal */
.email-reveal-container {
    position: relative;
}

/* make actionable email look clickable & keyboard-focusable */
.card-email.actionable {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}
.card-email.actionable:focus,
.card-email.actionable:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(32,144,208,0.14);
  border-radius: 6px;
}
.visually-hidden { 
  position: absolute !important;
  height: 1px; width: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}


/* small accessible hint (optional) */
.email-text { user-select: text; }


.email-noscript {
    font-size: 0.9rem;
    color: #666;
}


/* ------------------ Modern Footer Overrides ------------------ */
/* new grid layout for footer */
.footer-grid {
  display: grid;
  grid-template-columns: 260px repeat(2, 1fr) 340px;
  gap: 32px;
  align-items: start;
  padding: 20px 0 36px;
}

/* brand column */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo img.logo-sign {
  width: 96px;
  height: auto;
  filter: none;
  display: block;
  /* if an svg white exists it will render white; if fallback PNG shows color, reduce its saturation slightly */
}

/* if you do not have a white svg, this will try to make the PNG lighter and higher-contrast */
.footer-logo img.logo-sign.fallback {
  filter: grayscale(1) brightness(2.1) contrast(1.05);
  opacity: 0.98;
}

/* tagline */
.brand-tagline {
  color: rgba(255,255,255,0.95);
  margin-top: 6px;
  font-size: 15px;
  max-width: 230px;
}

/* trust badges small */
.trust-row { display:flex; gap:8px; margin-top:8px; flex-wrap:wrap; }
.trust-badge {
  font-size:12px;
  background: rgba(255,255,255,0.06);
  padding:6px 10px;
  border-radius:999px;
  color: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.04);
}

/* footer column headings */
.main-footer .footer-col h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 12px;
}

/* list & links */
.footer-list { list-style:none; padding:0; margin:0; }
.footer-list li { margin-bottom: 10px; }
.footer-list a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.18s, transform 0.18s;
}
.footer-list a:hover { color: #fff; transform: translateX(4px); }

/* newsletter */
.footer-newsletter {
  display:flex;
  gap:8px;
  margin-bottom:12px;
  align-items:center;
}
.footer-newsletter input[type="email"] {
  flex:1;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: #fff;
  outline: none;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.6); }
.footer-newsletter .btn {
  padding: 10px 14px;
  border-radius: 10px;
  white-space: nowrap;
  min-width: 120px;
}

/* social icons row */
.footer-social { display:flex; gap:10px; margin-bottom:8px; align-items:center; }
.footer-social a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;height:36px;
  background: rgba(255,255,255,0.06);
  border-radius:8px;
  color: #fff;
  text-decoration:none;
  transition: all .18s;
}
.footer-social a:hover { transform: translateY(-3px); background: rgba(255,255,255,0.12); }

/* small note */
.footer-note { color: rgba(255,255,255,0.78); font-size: 13px; margin-top:6px; }

/* bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 18px;
  margin-top: 16px;
}
.footer-bottom-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.footer-bottom .copyright { color: rgba(255,255,255,0.6); }
.footer-legal a { color: rgba(255,255,255,0.6); margin-left: 12px; text-decoration:none; font-size:13px; }
.footer-legal a:hover { color: #fff; }

/* small screens */
@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .footer-newsletter { flex-direction: column; align-items: stretch; }
  .footer-newsletter .btn { width:100%; }
  .footer-brand { order: -1; }
  .footer-bottom-inner { flex-direction: column; gap:8px; text-align:center; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand .brand-tagline { max-width: 100%; }
}
/* make raster or external SVG logo appear purely white */
.logo-sign--white {
  /* turn any colored pixels to black, then invert => white */
  filter: brightness(0) invert(1);
  -webkit-filter: brightness(0) invert(1);
  /* ensure crisp rendering on high-DPI screens */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* optional: slightly reduce opacity on hover to show interactivity */
.footer-logo .logo-sign--white:hover {
  opacity: 0.92;
  transition: opacity .18s ease;
}

/* if your logo file has a dark background, ensure picture background is transparent */
.footer-logo img { background: transparent; display:block; }




/* Comparison Table Styles */
.comparison-table {
    overflow-x: auto;
    margin-top: 40px;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.comparison-table th,
.comparison-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.comparison-table th {
    background-color: var(--navy);
    color: var(--white);
    font-weight: 600;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) {
    background-color: var(--light-gray);
}

.comparison-table td:nth-child(2),
.comparison-table td:nth-child(3) {
    text-align: center;
    font-weight: 600;
}

/* FAQ Styles */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.faq-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    color: var(--navy);
    margin-bottom: 15px;
    font-size: 20px;
}

/* Pricing Savings Note */
.pricing-savings {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: var(--green);
    font-weight: 600;
}




/* SSL price & ribbon helpers */
.ssl-price { display:inline-flex; align-items:baseline; gap:6px; }
.ssl-price .currency { font-size:16px; color:var(--navy); vertical-align:baseline; }
.ssl-price .amount { font-size:34px; font-weight:700; color:var(--navy); }
.ssl-price .period { font-size:14px; color:var(--navy); margin-left:6px; }

.pricing-card.featured { position:relative; border:2px solid rgba(32,144,208,0.12); box-shadow: 0 10px 30px rgba(32,144,208,0.06); transform: translateY(-6px); }
.pricing-card.featured::before {
    content: "POPULAR";
    position: absolute;
    top: 14px;
    right: -44px;
    transform: rotate(45deg);
    background: var(--blue);
    color: #fff;
    padding: 6px 56px;
    font-weight:700;
    font-size:12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-radius:3px;
}
/* make sure badge doesn't overflow on small screens */
@media (max-width:720px){
  .pricing-card.featured::before{ right:-28px; padding:6px 36px; font-size:11px; }
}



/* Dedicated IP price & featured helpers */
.ip-price { display:inline-flex; align-items:baseline; gap:6px; }
.ip-price .currency { font-size:14px; color:var(--navy); }
.ip-price .amount { font-size:30px; font-weight:700; color:var(--navy); }
.ip-price .period { font-size:13px; color:var(--navy); margin-left:6px; }

.pricing-card.featured { position:relative; border:2px solid rgba(32,144,208,0.08); box-shadow: 0 10px 25px rgba(32,144,208,0.05); transform: translateY(-6px); }
.pricing-card.featured::before {
    content: "BEST VALUE";
    position: absolute;
    top: 12px;
    right: -40px;
    transform: rotate(45deg);
    background: var(--blue);
    color: #fff;
    padding: 6px 46px;
    font-weight:700;
    font-size:12px;
    border-radius:3px;
}
@media (max-width:720px){
  .pricing-card.featured::before{ right:-28px; padding:6px 36px; font-size:11px; }
}



/* Security price helpers */
.sec-price { display:inline-flex; align-items:baseline; gap:6px; }
.sec-price .currency { font-size:14px; color:var(--navy); }
.sec-price .amount { font-size:30px; font-weight:800; color:var(--navy); }
.sec-price .period { font-size:13px; color:var(--navy); margin-left:6px; }

.pricing-card.featured { position:relative; border:2px solid rgba(32,144,208,0.08); box-shadow: 0 10px 25px rgba(32,144,208,0.05); transform: translateY(-6px); }
.pricing-card.featured::before {
    content: "RECOMMENDED";
    position: absolute;
    top: 12px;
    right: -44px;
    transform: rotate(45deg);
    background: var(--blue);
    color: #fff;
    padding: 6px 56px;
    font-weight:700;
    font-size:12px;
    border-radius:3px;
}
@media (max-width:720px){
  .pricing-card.featured::before{ right:-28px; padding:6px 36px; font-size:11px; }
}


